Actions28
- Chat Actions
- Chat History Actions
- Memory Actions
- Record Actions
- Record Schema Actions
- Claim Actions
Record → Create
AI-generatedSummary
Create a new record of a specified type
Inputs
- recordType (required) — Record type name (e.g., "account").
- recordSubjectHeader — Optional acting subject ID sent as x-subject-id for access-control checks.
- recordCreateDataJson (required) — Record data matching the schema fields; provided as a JSON object.
- recordCreateOwnerId — Owner subject ID for access control.
- recordCreateVisibility — Visibility setting; either "public" (default) or "private".
- recordCreateCollaboratorsJson — JSON array of subject IDs that can read/write the record.
Output shape
a single created record object
Returns the full record including generated ID, visibility, collaborators, and any schema fields.
Examples
Example 1: Create a new account record with default settings
recordType=account, recordCreateDataJson={"name":"TechCorp"}
Example 2: Create a private record owned by a specific user
recordType=deal, recordCreateDataJson={"title":"Q4 Strategy"}, recordCreateOwnerId="user_123", recordCreateVisibility=private
Example 3: Create a record shared with collaborators
recordType=ticket, recordCreateDataJson={"status":"open"}, recordCreateCollaboratorsJson=["user_456","user_789"]
