Tool reference
Every tool this server serves, with its arguments, generated from what MCP clients receive (also as tools.json). How to connect.
workspace
whoami read
The acting workspace member: id, name, email, role(s) and time zone.
No arguments.
workspace read
Who the caller is, the workspace's members, invitations and settings, and the caller's notifications and inbox. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
whoami The signed-in person: profile, every workspace they belong to with their roles, and invitations waiting for them. Use it to find a workspace id for ?tenant=. | ||
members The members with their roles and profiles, newest first. | ||
members.after | string | null | A previous page's `next_cursor`; None reads from the start. |
members.limit | integer | |
search_members Members whose name or email matches the text. | ||
search_members.text * | string | Part of a name or email. |
search_members.limit | integer | At most this many. |
permissions The actions the caller may perform (e.g. records.write). | ||
invitations Invitations the workspace has sent, newest first. | ||
invitations.after | string | null | A previous page's `next_cursor`; None reads from the start. |
invitations.limit | integer | |
invitation One invitation. | ||
invitation.invitation_id * | string | The invitation. |
org_profile The organisation the workspace belongs to: name, website, what it offers. | ||
persona How the workspace's agents write (or, with mine, the caller's own): instructions, tone and signature. | ||
persona.mine | boolean | The caller's own setting instead of the workspace's. |
locale Language, date order, time zone and week start of the workspace (or, with mine, the caller's own). | ||
locale.mine | boolean | The caller's own setting instead of the workspace's. |
setup The workspace's setup checklist: steps done or skipped, the current one, and whether it was dismissed. | ||
meeting_settings How the workspace records and shares meetings. | ||
note_taker Whether members may use the meeting note-taker, or the workspace has switched it off. | ||
public_site The workspace's public site: subdomain and what it publishes. | ||
preferences The caller's saved interface preferences. | ||
notifications The caller's notifications (mentions, assignments, reminders), newest first, with the unread count. | ||
notifications.after | string | null | A previous page's `next_cursor`; None reads from the start. |
notifications.limit | integer | |
notifications.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
notifications.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
notifications.order_by | SortKey[] | |
notifications.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
notifications.include_total | boolean | Also count every match (the page's `total`). |
notifications.unread_only | boolean | |
notifications.kinds | NotificationKind[] | |
notifications.include_dismissed | boolean | |
inbox What is waiting on the caller (notifications, threads, tasks, reviews), newest first, with a count per source. | ||
inbox.after | string | null | A previous page's `next_cursor`; None reads from the start. |
inbox.limit | integer | |
inbox.sources | InboxSource[] | Empty reads every source. |
manage_workspace write
Invite people, change the workspace's settings and the caller's own, and clear notifications and inbox items. Settings and invitations need workspace.manage. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
invite Invite someone by email with roles; the same email again returns the pending invitation. | ||
invite.email * | string | |
invite.roles * | string[] | |
invite.locale | string | null | The language of the invitation email and the invited person's first language; a renewal keeps the one it had when this is left out. |
change_invitation Change a pending invitation's roles. | ||
change_invitation.invitation_id * | string | The invitation. |
change_invitation.change * | InvitationChange | The change. |
revoke_invitation Withdraw a pending invitation. | ||
revoke_invitation.invitation_id * | string | The invitation. |
accept_invitation Accept an invitation addressed to the caller (whoami lists them). | ||
accept_invitation.invitation_id * | string | The invitation. |
change_workspace Rename the workspace or change its icon (workspace.manage). | ||
change_workspace.name | string | null | |
change_workspace.icon_url | string | null | |
set_org_profile Replace the organisation profile. | ||
set_org_profile.name | string | null | |
set_org_profile.website | string | null | |
set_org_profile.description | string | null | |
set_org_profile.industry | string | null | |
set_org_profile.size | string | null | |
set_org_profile.location | string | null | |
set_org_profile.offering | string | null | What the organisation sells or does. |
set_org_profile.logo_file_id | string | null | A library file (an image) shown as the workspace's logo. |
set_org_profile.metadata | object | |
generate_org_profile Draft the organisation profile from the workspace's website and data, and save it. | ||
set_persona Replace the agents' persona (or, with mine, the caller's own). | ||
set_persona.mine | boolean | The caller's own setting instead of the workspace's. |
set_persona.instructions | string | null | |
set_persona.tone | string | null | |
set_persona.signature | string | null | |
set_persona.metadata | object | |
generate_persona Draft the agents' persona from the organisation profile, and save it. | ||
set_locale Replace the language, date order, time zone and week start (or, with mine, the caller's own). | ||
set_locale.mine | boolean | The caller's own setting instead of the workspace's. |
set_locale.locale | string | |
set_locale.timezone | string | |
set_locale.date_order | DateOrder | |
set_locale.hour_cycle | HourCycle | |
set_locale.week_start | integer | ISO weekday the week starts on: 1 is Monday, 7 Sunday. |
set_locale.currency | string | How amounts are shown when a value names no currency. |
set_locale.automatic | LocaleField[] | The parts set to follow the level above instead of this one's value (added in 1.x, additive): a person's follow the workspace's, the workspace's Core's defaults. Written, the values of these parts are ignored; read, they hold what applies. |
set_locale.inherited | LocaleField[] | Read only (added in 1.x, additive): the parts this level does not set, whose values come from the level above: the `automatic` ones, or every part of a level nobody set. Ignored on write, so a value read and written back keeps its meaning. |
set_locale.metadata | object | |
set_setup Replace the workspace's setup checklist. | ||
set_setup.steps | object | |
set_setup.current | string | null | The step the checklist shows next. |
set_setup.dismissed | boolean | Someone closed the checklist; it stays closed. |
set_setup.completed_at | string | null | |
set_setup.metadata | object | |
set_meeting_settings Replace how the workspace records and shares meetings. | ||
set_meeting_settings.default_visibility | Visibility | |
set_meeting_settings.recording_default | boolean | Whether the app offers members the meeting bot switched on until they choose. It never joins a meeting by itself: Core joins only for a person who turned on their own join preference. |
set_meeting_settings.transcription_language | string | null | The language meetings are transcribed in; none lets the transcriber detect it. Handed to the host's worker with each join grant. |
set_meeting_settings.metadata | object | |
set_note_taker Switch the meeting note-taker off for every member, or leave it to their own choice. Off cancels pending joins. | ||
set_note_taker.mode | NoteTakerMode | |
set_note_taker.metadata | object | |
set_public_site Replace the workspace's public site settings. | ||
set_public_site.subdomain | string | null | Unique across the installation; `/core/v1/public/sites/{subdomain}` names its tenant. |
set_public_site.title | string | null | |
set_public_site.metadata | object | |
set_preference Save one of the caller's interface preferences. | ||
set_preference.key * | string | The preference, e.g. `crm.sidebar`. |
set_preference.value * | any | Any JSON value. |
delete_preference Forget one of the caller's interface preferences. | ||
delete_preference.key * | string | The preference, e.g. `crm.sidebar`. |
read_notifications Mark the caller's notifications read (some, or all). | ||
read_notifications.ids | string[] | |
dismiss_notifications Dismiss the caller's notifications (some, or all). | ||
dismiss_notifications.ids * | string[] | |
ping Notify members about a record or activity, with a message. | ||
ping.key * | string | |
ping.recipient_ids * | string[] | |
ping.link * | NotificationLink | `record` or `activity`. |
ping.message | string | null | |
read_inbox Mark inbox items read. | ||
read_inbox.source * | InboxSource | |
read_inbox.id * | string | |
read_inbox.action | InboxAction | null | For `POST /core/v1/inbox/act`: the answer (an identity review, a schema proposal, a suggested task, an alert's commitment, a failed reminder). |
dismiss_inbox Dismiss inbox items. | ||
dismiss_inbox.source * | InboxSource | |
dismiss_inbox.id * | string | |
dismiss_inbox.action | InboxAction | null | For `POST /core/v1/inbox/act`: the answer (an identity review, a schema proposal, a suggested task, an alert's commitment, a failed reminder). |
act_on_inbox Answer an inbox item with one of its `actions` (accept, done, same, different, resend, dismiss, hide). | ||
act_on_inbox.source * | InboxSource | |
act_on_inbox.id * | string | |
act_on_inbox.action | InboxAction | null | For `POST /core/v1/inbox/act`: the answer (an identity review, a schema proposal, a suggested task, an alert's commitment, a failed reminder). |
hide_inbox Hide a shared inbox item from the caller's own inbox only. | ||
hide_inbox.source * | InboxSource | |
hide_inbox.id * | string | |
hide_inbox.action | InboxAction | null | For `POST /core/v1/inbox/act`: the answer (an identity review, a schema proposal, a suggested task, an alert's commitment, a failed reminder). |
unhide_inbox Show a hidden inbox item again. | ||
unhide_inbox.source * | InboxSource | |
unhide_inbox.id * | string | |
unhide_inbox.action | InboxAction | null | For `POST /core/v1/inbox/act`: the answer (an identity review, a schema proposal, a suggested task, an alert's commitment, a failed reminder). |
schema
schema read
The workspace's object types (people, companies, deals and custom ones) with their attributes, the ready-made templates, and schema proposals. Read it before reading or writing records; object type slugs are plural. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
object_types Every object type with its attributes. | ||
summaries Every object type with its record count, without attributes. | ||
object_type One object type with its attributes, options and relations. | ||
object_type.slug * | string | The object type's slug, e.g. `deals` (plural). |
templates Ready-made object types (companies, people, deals, invoices, tickets, products, quotes…) with their attributes, defaults marked. | ||
proposals Schema changes waiting for a person (or decided ones), newest first. | ||
proposals.after | string | null | A previous page's `next_cursor`; None reads from the start. |
proposals.limit | integer | |
proposals.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
proposals.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
proposals.order_by | SortKey[] | |
proposals.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
proposals.include_total | boolean | Also count every match (the page's `total`). |
proposals.status | ProposalStatus | null | None lists every status. |
proposals.object_type | string | null | |
proposal One schema proposal with its evidence. | ||
proposal.proposal_id * | string | The proposal's id. |
validate_values Check field values against an object type without writing: returns them coerced, or the invalid fields. | ||
validate_values.slug * | string | The object type's slug, e.g. `deals` (plural). |
validate_values.values | object | |
validate_values.partial | boolean | True for an update: attributes left out are not checked for `required`. |
access_preview Who could see and change an object type's records under an access policy, before setting it. | ||
access_preview.slug * | string | The object type's slug, e.g. `deals` (plural). |
access_preview.share_scope | ShareScope | |
access_preview.owner_id | string | null | |
access_preview.grants | AccessGrant[] | |
manage_schema write
Create, change and delete object types (custom objects) and their attributes (custom fields), install templates and packs, and propose or decide schema changes. Needs ontology.manage, except proposing. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
define_object_type Create an object type, or replace its definition (name, attributes, access, settings). An identical definition changes nothing. | ||
define_object_type.slug * | string | The object type's slug, e.g. `deals` (plural). |
define_object_type.spec * | ObjectTypeSpec | The definition. |
delete_object_type Delete a custom object type that has no records and that no other type relates to. | ||
delete_object_type.slug * | string | The object type's slug, e.g. `deals` (plural). |
duplicate_object_type Copy an object type's definition to a new slug; no records are copied. | ||
duplicate_object_type.object_type * | string | The object type to copy, by slug. |
duplicate_object_type.slug * | string | |
duplicate_object_type.name * | string | |
define_attribute Add an attribute (a custom field: text, number, date, select with options, relation, …) to an object type, or change one, options included. | ||
define_attribute.slug * | string | The object type's slug, e.g. `deals` (plural). |
define_attribute.spec * | AttributeSpec | The attribute. |
delete_attribute Remove an attribute from an object type. | ||
delete_attribute.slug * | string | The object type's slug, e.g. `deals` (plural). |
delete_attribute.attribute * | string | The attribute's slug. |
reorder_attributes Put an object type's attributes in a new order. | ||
reorder_attributes.slug * | string | The object type's slug, e.g. `deals` (plural). |
reorder_attributes.slugs * | string[] | |
set_file_categories Replace an object type's file categories with this ordered list. A category left out is removed and its files become uncategorized. | ||
set_file_categories.slug * | string | The object type's slug, e.g. `deals` (plural). |
set_file_categories.categories * | FileCategoryInput[] | |
set_file_categories.expected_version | integer | null | Change only this version of the type (the `version` read). |
reorder_options Put a select attribute's options (e.g. pipeline stages) in a new order. | ||
reorder_options.slug * | string | The object type's slug, e.g. `deals` (plural). |
reorder_options.attribute * | string | The attribute's slug. |
reorder_options.values * | string[] | |
install_templates Add ready-made object types the workspace lacks; existing types are left as they are. | ||
install_templates.slugs * | string[] | |
create_pack Save a set of object types as a pack others can install. | ||
create_pack.key * | string | |
create_pack.name * | string | |
create_pack.slugs * | string[] | |
create_pack.scope | ItemScope | Shared packs are workspace-wide; personal ones stay with their owner. |
install_pack Install a pack's object types the workspace lacks. | ||
install_pack.pack_id * | string | The pack's id. |
propose Propose a new object type, or attributes for an existing one, when the data calls for it. Nothing changes until a person accepts it; proposing the same change again adds its evidence. Needs ontology.view. | ||
propose.kind * | ProposalKind | |
propose.object_type * | string | The new type's slug, or the existing type the attributes are for. |
propose.spec | ObjectTypeSpec | null | |
propose.attributes | AttributeSpec[] | |
propose.reason | string | null | |
propose.evidence | string | null | What supports it (a conversation, a file): each piece of evidence counts once. |
propose.confidence | number | null | |
suggest Have Core propose an object type for sample data, or the attributes an existing type lacks for it; stored as a proposal. | ||
suggest.object_type | string | null | Suggest attributes for this type; a new type when left out. |
suggest.samples * | object[] | Example rows of the data (an import's, an integration's payloads). |
suggest.description | string | null | What the data is about, in a person's words. |
accept_proposal Apply a proposal, optionally renamed or with only some of its attributes. | ||
accept_proposal.proposal_id * | string | The proposal's id. |
accept_proposal.name | string | null | |
accept_proposal.attributes | string[] | The proposed attributes to add; every one when empty. |
dismiss_proposal Decline a proposal. | ||
dismiss_proposal.proposal_id * | string | The proposal's id. |
records
records read
Find and read records of any object type (people, companies, deals, custom objects): query, group and count, relations, history, mentions, stage checks, and imports and exports. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
query Records of one object type, newest first unless sorted: filter by any attribute (eq, ne, in, gt, lt, contains, is_empty…), search text, sort, page with `after`. Set include_total to count matches. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | Text found, ignoring case, in the title or any searchable text attribute. |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | Also count every match (the page's `total`). |
query.object_type * | string | |
query.parent_record_id | string | null | Only children of this record. |
query.include_archived | boolean | |
query.equals | object | Attribute slug → value: shorthand for `eq` filters. |
query.filters | FieldFilter[] | Every filter must hold. |
query.record_ids | string[] | Only these records. |
query.sort | RecordSort | null | One sort key: shorthand for a one-key `order_by`. |
get One record with all its field values. | ||
get.record_id * | string | The record's id. |
expanded One record with its outgoing links and the linked records the caller may view. | ||
expanded.record_id * | string | The record's id. |
group Count (and sum a number attribute) per value of one attribute, e.g. a pipeline by stage or deals by owner, under the same filters as query. | ||
group.object_type * | string | |
group.group_by * | string | A filterable attribute; a multi-select counts a record once per value. |
group.sum | string | null | A number or decimal attribute to total per group. |
group.filters | FieldFilter[] | |
group.where | FilterGroup | null | |
group.search | string | null | |
group.record_ids | string[] | |
group.include_archived | boolean | |
board A board: the records of each value of one attribute (a pipeline's stages), with each column's count and sum. | ||
board.object_type * | string | |
board.group_by * | string | A filterable attribute; a multi-select counts a record once per value. |
board.sum | string | null | A number or decimal attribute to total per group. |
board.filters | FieldFilter[] | |
board.where | FilterGroup | null | |
board.search | string | null | |
board.record_ids | string[] | |
board.include_archived | boolean | |
board.per_column | integer | Records shown per column; a column's `count` covers them all. |
board.sort | RecordSort | null | |
board.columns | any[] | The columns to fill, in this order (null for records without a value); the groups found, largest first, when empty. |
stats Column statistics of the records matching the same filters as query: a table's footer. | ||
stats.object_type * | string | |
stats.fields * | string[] | |
stats.filters | FieldFilter[] | |
stats.where | FilterGroup | null | |
stats.search | string | null | |
stats.record_ids | string[] | |
stats.include_archived | boolean | |
relations The records a record links to, through its relation attributes. | ||
relations.record_id * | string | The record's id. |
backlinks The records that link to a record, newest first. | ||
backlinks.record_id * | string | The record's id. |
backlinks.after | string | null | A previous page's `next_cursor`; None reads from the start. |
backlinks.limit | integer | |
history Who changed what in a record and when, field by field (old and new value), newest first; `field` narrows it to one attribute. | ||
history.record_id * | string | The record's id. |
history.field | string | null | Only this attribute. |
history.after | string | null | A previous page's `next_cursor`; None reads from the start. |
history.limit | integer | |
field_insights How some of a record's fields changed over time, newest first. | ||
field_insights.record_id * | string | The record's id. |
field_insights.after | string | null | A previous page's `next_cursor`; None reads from the start. |
field_insights.limit | integer | |
field_insights.fields * | string[] | |
collections The collections a record is in, with its entry in each. | ||
collections.record_id * | string | The record's id. |
mentions Records and members whose name matches some text, for an @-mention. | ||
mentions.query | string | Text a name starts with or holds. Empty lists members and the records most recently changed that the caller sees, for a menu shown before anything is typed. |
mentions.limit | integer | |
mentions.include_records | boolean | |
mentions.include_members | boolean | |
resolve_mentions The display names of up to 100 mentioned records and members. | ||
resolve_mentions.member_ids | string[] | |
resolve_mentions.record_ids | string[] | |
stage_check What a record lacks for the stage it is in (fields to fill, activities to log), by the workspace's stage rules. | ||
stage_check.record_id * | string | The record's id. |
stage_scan Every record of an object type that breaks a stage rule, with what each lacks. | ||
stage_scan.after | string | null | A previous page's `next_cursor`; None reads from the start. |
stage_scan.limit | integer | |
stage_scan.object_type * | string | |
stage_scan.only_violating | boolean | |
preview_import An uploaded CSV's columns, first rows and the attribute each header suggests; with mappings, the sample rows' problems. | ||
preview_import.object_type * | string | |
preview_import.file_id * | string | A ready CSV file (`/core/v1/files`). |
preview_import.mappings | ColumnMapping[] | When given, the sample rows are validated against them. |
transfers Imports and exports, newest first. | ||
transfers.kind | TransferKind | null | Only imports or only exports. |
transfers.after | string | null | A previous page's `next_cursor`; None reads from the start. |
transfers.limit | integer | |
transfer An import's or export's progress, counts, row errors and, for an export, its file (files' download fetches it). | ||
transfer.transfer_id * | string | The transfer's id. |
manage_records write
Create, update, archive, restore and delete records, link and unlink them, change many at once, move them to another type, merge duplicates, revert history, and import or export CSV. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
mutate Create, update, archive, restore or delete one record. On an update, `add_values`/`remove_values` link or unlink records (a to-many relation) and tag or untag (a multi-select) without resending the list. `mutation_id` makes it safe to retry: the same id returns the first result. | ||
mutate.mutation * | EntityMutation | The change. |
bulk Up to 100 record mutations, each applied on its own and answered by index. | ||
bulk.bulk * | RecordBulk | The mutations. |
retype Move up to 100 records to another object type, values mapped by system key or slug; unmapped values are kept in metadata. Run with dry_run first. Needs records.manage. | ||
retype.record_ids * | string[] | |
retype.object_type * | string | The target object type. |
retype.dry_run | boolean | |
merge Merge a duplicate record into a survivor: values, links and activities move, the duplicate is deleted and redirects to the survivor. The same mutation_id returns the first result. | ||
merge.mutation_id * | string | |
merge.object_type * | string | |
merge.survivor_record_id * | string | Identifier of an entity record. |
merge.merged_record_id * | string | Identifier of an entity record. |
revert Undo an agent's edit (by its history revision): each field it changed is set back, unless changed again since. | ||
revert.record_id * | string | The record's id. |
revert.revision * | integer | The history entry's revision. |
redact_history Erase a field's past values from a record's history. | ||
redact_history.record_id * | string | The record's id. |
redact_history.field * | string | The attribute. |
set_picture Show an uploaded image file as the record's picture (a logo, a photo). | ||
set_picture.record_id * | string | The record's id. |
set_picture.file_id * | string | |
clear_picture Remove a record's picture. | ||
clear_picture.record_id * | string | The record's id. |
start_import Import an uploaded CSV into one object type in the background, mapping columns to attributes; with match_on, rows update the record holding their value. Poll records' transfer. | ||
start_import.key * | string | Starting the same import again returns the first one. |
start_import.object_type * | string | |
start_import.file_id * | string | |
start_import.mappings * | ColumnMapping[] | |
start_import.match_on | string | null | A mapped attribute that finds the record a row updates; without it every row creates. |
start_export Export a record query to a CSV file in the background; records' transfer names the file when it is done. | ||
start_export.key * | string | |
start_export.query * | RecordQuery | Which records, in which order; its paging fields are ignored. |
start_export.fields | string[] | The columns after `id`; empty exports every enabled attribute. |
start_export.filename | string | null | |
start_export.format | TransferExportFormat | |
cancel_transfer Stop an import or export that is still running. | ||
cancel_transfer.transfer_id * | string | The transfer's id. |
activities
activities read
Read the timeline: notes, tasks, comments, calls, meetings and emails on records, their counts and change log, unread replies, meetings' sharing, and the caller's email drafts. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
query Activities newest first, by record, kinds, statuses, assignee, parent (a comment thread) or due date. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | Text found, ignoring case, in the title or content. |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | Also count every match (the page's `total`). |
query.record_id | string | null | |
query.document_id | string | null | Activities about this knowledge document (a page's comments), when the caller can see it. |
query.kinds | string[] | |
query.statuses | ActivityStatus[] | |
query.assignee_id | string | null | |
query.due_before | string | null | Only activities due before this time (overdue tasks: now, open). |
query.project_id | string | null | |
query.stage | string | null | |
query.parent_id | string | null | A thread: the activities answering this one. |
query.include_archived | boolean | |
query.archived_only | boolean | Only archived activities (implies `include_archived`). |
query.exclude_kinds | string[] | |
query.priorities | ActivityPriority[] | |
query.created_by | string | null | |
query.involving | string | null | Assigned to or mentioning this principal. |
query.due_after | string | null | |
query.occurred_before | string | null | Only activities that occurred at or before this time. |
query.property_equals | object | Only activities whose `properties` hold these exact top-level values (a meeting series, an external id). |
query.property_from | object | Only activities whose top-level `properties` values are at or after these, compared as text (UTC ISO times: a calendar event's `last_ends_at`). |
query.pinned_only | boolean | |
query.stages | string[] | |
query.sort | ActivitySort | null | One sort key: shorthand for a one-key `order_by`. Newest first by `occurred_at` when neither is given. |
query.include_child_counts | boolean | Also count each returned activity's children by kind (`ActivityPage.child_counts`): a task's sub-tasks and comments. |
get One activity. | ||
get.activity_id * | string | The activity's id. |
count Activities by kind, plus open and overdue tasks, for one record or the caller's own (mine). | ||
count.record_id | string | null | |
count.project_id | string | null | |
count.mine | boolean | Activities assigned to the caller. |
count.kinds | string[] | Only these kinds (a task board's sections: `task`). |
summaries Activity counts for many records at once. | ||
summaries.record_ids * | string[] | |
log Changes to one activity, or the workspace's, newest first. | ||
log.after | string | null | A previous page's `next_cursor`; None reads from the start. |
log.limit | integer | |
log.activity_id | string | null | One activity. Empty reads every activity the caller may see. |
log.actor_id | string | null | Only changes this principal made. |
log.kinds | string[] | Only activities of these kinds. Empty reads every kind. |
log.since | string | null | |
log.until | string | null | |
unread How many replies the caller has not read, per thread. | ||
unread.parent_ids * | string[] | |
unread.kinds | string[] | Only replies of these kinds (`comment`); empty counts every reply. |
meeting_access Who can open a meeting, and the workspace rule it was created under. | ||
meeting_access.meeting_id * | string | The meeting's id (an activity). |
meeting_recap A meeting's summary and its status, attendees, transcript and recording file. | ||
meeting_recap.meeting_id * | string | The meeting's id (an activity). |
meeting_siblings The other meetings of a meeting's series. | ||
meeting_siblings.meeting_id * | string | The meeting's id (an activity). |
drafts The caller's email drafts newest first, by record or thread. | ||
drafts.after | string | null | A previous page's `next_cursor`; None reads from the start. |
drafts.limit | integer | |
drafts.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
drafts.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
drafts.order_by | SortKey[] | |
drafts.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
drafts.include_total | boolean | Also count every match (the page's `total`). |
drafts.record_id | string | null | |
drafts.thread_id | string | null | |
drafts.updated_after | string | null | Only drafts written (created or changed) at or after this time. |
draft One email draft. | ||
draft.draft_id * | string | The email draft's id. |
manage_activities write
Record and change notes, tasks, comments (an activity with a parent), calls, meetings and emails; complete, reorder, archive or delete them; share and merge meetings; keep email drafts (Core never sends them). Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
record Record an activity tied to any number of records. The same `key` returns the first activity. | ||
record.key * | string | The caller's identity for the activity (e.g. a provider event id). |
record.kind * | string | |
record.title | string | null | |
record.content | string | null | |
record.occurred_at * | string | |
record.record_ids | string[] | |
record.document_ids | string[] | Knowledge documents the activity is about; a reply naming none takes its parent's. |
record.properties | object | |
record.status | ActivityStatus | null | |
record.start_at | string | null | When the work starts; never after `due_at`. |
record.due_at | string | null | |
record.assignee_id | string | null | |
record.mentions | string[] | People mentioned in a note or comment; members among them are notified. |
record.project_id | string | null | The task project (a workspace item) a task belongs to. |
record.stage | string | null | A task's custom status (a workspace task status); `status` is its lifecycle. |
record.position | number | null | Order on a board, among the activities of one stage. |
record.parent_id | string | null | The activity this one answers; a reply naming no records takes its parent's. |
record.priority | ActivityPriority | null | |
record.pinned | boolean | |
record.visibility | Visibility | |
record.owner_id | string | null | |
record.source * | SourceRef | |
record.metadata | object | |
record_many Up to 100 activities, each on its own and once per key. | ||
record_many.drafts * | ActivityDraft[] | |
change Change the fields sent (complete a task: status done; archive: archived true; move: record_ids). `expected_version` makes it conditional. | ||
change.activity_id * | string | The activity's id. |
change.change * | ActivityChange | The fields. |
change_many Apply one change to up to 100 activities by id, or to those a query matches (up to 1000), e.g. complete or archive them. | ||
change_many.bulk * | ActivityBulkChange | The change. |
reorder Move many activities at once (a drag on a board: status and position), each on its own. | ||
reorder.moves * | ActivityPosition[] | |
archive_completed Archive the done (and cancelled) activities of one record or project, or the caller's, of the kinds given. | ||
archive_completed.record_id | string | null | |
archive_completed.project_id | string | null | |
archive_completed.completed_before | string | null | |
archive_completed.include_cancelled | boolean | |
archive_completed.kinds | string[] | Only activities of these kinds (`task`); empty archives every finished kind. |
delete Delete an activity and its descendants (sub-tasks, replies). | ||
delete.activity_id * | string | The activity's id. |
restore Bring back a deleted activity and the descendants deleted with it. | ||
restore.activity_id * | string | The activity's id. |
delete_many Delete up to 100 activities by id, or those a query matches (up to 1000), each on its own. | ||
delete_many.activity_ids | string[] | |
delete_many.query | ActivityQuery | null | The activities a list would show (its paging is ignored): an archive view's "empty archive", or a filter's "complete all". |
erase Delete an activity and erase its content for good, as a privacy request requires. | ||
erase.activity_id * | string | The activity's id. |
read_thread Mark the replies to an activity read for the caller. | ||
read_thread.parent_id * | string | The activity the replies are to. |
share_meeting Share a meeting with the workspace, or keep it to its owner and the people or roles given. | ||
share_meeting.meeting_id * | string | The meeting's id (an activity). |
share_meeting.visibility | Visibility | null | |
share_meeting.grants | MeetingGrant[] | null | |
share_meeting.roles | MeetingRoleGrant[] | |
share_meeting.confirm | boolean | |
share_meeting.expected_version | integer | null | |
merge_meetings Fold duplicate recordings of one meeting into it. | ||
merge_meetings.meeting_id * | string | The meeting's id (an activity). |
merge_meetings.duplicate_ids * | string[] | |
unmerge_meeting Split the recordings merged into a meeting apart again. | ||
unmerge_meeting.meeting_id * | string | The meeting's id (an activity). |
set_meeting_summary Replace a meeting's title, body or summary. | ||
set_meeting_summary.meeting_id * | string | The meeting's id (an activity). |
set_meeting_summary.change * | MeetingSummaryChange | The fields. |
link_meeting Tie a meeting to one more record. | ||
link_meeting.meeting_id * | string | The meeting's id (an activity). |
link_meeting.record_id * | string | Identifier of an entity record. |
unlink_meeting Untie a record from a meeting; its other records are kept. | ||
unlink_meeting.meeting_id * | string | The meeting's id (an activity). |
unlink_meeting.record_id * | string | The record's id. |
create_draft An unsent email kept for the caller. The same `key` returns the first draft. | ||
create_draft.key * | string | |
create_draft.to | string[] | |
create_draft.cc | string[] | |
create_draft.bcc | string[] | |
create_draft.subject | string | null | |
create_draft.body | string | null | |
create_draft.record_ids | string[] | |
create_draft.thread_id | string | null | |
create_draft.reply_to_message_id | string | null | |
create_draft.source * | SourceRef | |
create_draft.metadata | object | |
change_draft Replace the fields sent; null clears one. | ||
change_draft.draft_id * | string | The email draft's id. |
change_draft.change * | EmailDraftChange | The fields. |
delete_draft Delete an email draft. | ||
delete_draft.draft_id * | string | The email draft's id. |
calendar read
Calendar events kept in Core, with their recurring occurrences. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
query Events with an instance in a window, oldest start first by default (occurred_at asc); follow `next_cursor` while `has_more`. order_by takes occurred_at (or start_time / starts_at), last_ends_at (or end_time / ends_at), title, description, created_at, updated_at; where takes those and location. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | Also count every match (the page's `total`). |
query.window_start * | string | |
query.window_end * | string | |
query.record_id | string | null | |
query.expand | boolean | |
get One calendar event. | ||
get.event_id * | string | The calendar event's id. |
manage_calendar write
Create, change and delete calendar events, and turn attendees into records. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
create A calendar event (one RRULE for a series, in the event's time zone), tied to records. The same `key` returns the first event. | ||
create.key * | string | |
create.title | string | null | |
create.description | string | null | |
create.schedule * | CalendarSchedule | |
create.attendees | CalendarAttendee[] | |
create.location | string | null | |
create.conference_url | string | null | |
create.color | string | null | |
create.record_ids | string[] | |
create.visibility | Visibility | |
create.owner_id | string | null | |
create.source * | SourceRef | |
create.metadata | object | |
change Change the fields sent; `expected_version` makes it conditional. | ||
change.event_id * | string | The calendar event's id. |
change.change * | CalendarEventChange | The fields. |
change_occurrence Edit or cancel one instance of a recurring event, named by the start its rule gives it; the rest of the series is kept. | ||
change_occurrence.event_id * | string | The calendar event's id. |
change_occurrence.occurrence * | CalendarOccurrenceChange | The instance's original start and its new values. |
delete Delete a calendar event (the whole series). | ||
delete.event_id * | string | The calendar event's id. |
attendee_records Find, or create, a record of the given people type for each attendee who is not a member, and tie them to the event. Attendees whose match waits for review are listed, not tied. | ||
attendee_records.event_id * | string | The calendar event's id. |
attendee_records.attendees * | CalendarAttendeeRecords | The people type, and `expected_version`. |
meetings read
List recorded meetings, read one meeting with recap, transcript and follow-up tasks, and search meeting transcripts. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
query List meetings newest first, with date range, record, attendee, text search or linked filters. Private meetings not opened for the caller show only metadata (`redacted=true`) unless filtering by text or attendee. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | |
query.record_id | string | null | |
query.occurred_after | string | null | |
query.occurred_before | string | null | |
query.attendee | string | null | |
query.linked | "all" | "linked" | "unlinked" | |
get One meeting with attendees, recap summary, transcript window and visible follow-up action items. | ||
get.meeting_id * | string | The meeting's id (an activity). |
get.transcript_offset | integer | Character offset into the transcript. |
get.transcript_limit | integer | Maximum transcript characters to return. |
search_transcripts Search transcript text across meetings the caller can open. | ||
search_transcripts.query * | string | |
search_transcripts.record_id | string | null | |
search_transcripts.occurred_after | string | null | |
search_transcripts.occurred_before | string | null | |
search_transcripts.limit | integer | |
search_transcripts.snippets_per_meeting | integer | |
knowledge
knowledge read
What the workspace knows about its records: facts, commitments and memories, each record's summary page, questions about a record, relationship strength, and alerts on what needs attention. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
query Knowledge items by record, kind or status, newest first. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | Also count every match (the page's `total`). |
query.kind | string | null | |
query.fact_type | string | null | |
query.subject_record_id | string | null | |
query.include_inactive | boolean | Also superseded and retracted items. |
get One knowledge item. | ||
get.item_id * | string | The knowledge item's id. |
summary How a record is doing in one page: status, people, open commitments, facts, recent activity and the next step, limited to what the caller may see. | ||
summary.record_id * | string | The record's id. |
ask Answer a question about one record from its summary page and the knowledge the caller may see, citing the lines it rests on (off unless the workspace turned record questions on). | ||
ask.record_id * | string | The record's id. |
ask.question * | string | |
alerts What needs attention: overdue commitments and tasks, and relationships gone quiet, on records the caller can see, newest first. | ||
alerts.after | string | null | A previous page's `next_cursor`; None reads from the start. |
alerts.limit | integer | |
alerts.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
alerts.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
alerts.order_by | SortKey[] | |
alerts.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
alerts.include_total | boolean | Also count every match (the page's `total`). |
alerts.record_id | string | null | |
alerts.include_dismissed | boolean | |
relationship How warm a record's relationship is (0 to 1) from its recent activity, with its last interaction. | ||
relationship.record_id * | string | The record's id. |
commitments A record's dated commitments, open and expired, soonest due first. | ||
commitments.record_id * | string | The record's id. |
manage_knowledge write
Remember and retract knowledge, refresh a record's summary page, and settle alerts and commitments. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
capture Remember a fact, commitment, document or memory, tied to records. The same knowledge again returns the stored item. | ||
capture.kind * | string | |
capture.fact_type | string | null | |
capture.subject_record_ids | string[] | |
capture.content * | string | |
capture.value | object | null | |
capture.confidence | number | |
capture.visibility | Visibility | |
capture.owner_id | string | null | |
capture.source_event_id | string | null | |
capture.metadata | object | |
retract Mark a knowledge item as no longer true. | ||
retract.item_id * | string | The knowledge item's id. |
refresh_summary Rebuild a record's summary page now. | ||
refresh_summary.record_id * | string | The record's id. |
dismiss_alert Dismiss an alert. | ||
dismiss_alert.alert_id * | string | The alert. |
set_commitment_state Mark a tracked commitment done or cancelled, or reopen it. | ||
set_commitment_state.commitment_id * | string | The commitment. |
set_commitment_state.state * | CommitmentState | |
documents read
The knowledge base and the wiki: pages and folders in Markdown, their links, the caller's bookmarks, imports and wiki health. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
query A folder's documents in order, a space's newest first, a wiki category (slug_prefix), search, deleted ones, or the pages waiting for review. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | Text found, ignoring case, in the title or content. |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | Also count every match (the page's `total`). |
query.space | DocumentSpace | |
query.parent_id | string | null | Only this folder's documents. |
query.roots | boolean | Only documents at the top of the space. |
query.slug_prefix | string | null | Only documents under this slug, e.g. a wiki category. |
query.kind | DocumentKind | null | |
query.review_status | DocumentReviewStatus | null | Only agent pages in this review state (the review inbox, the bin). |
query.record_id | string | null | |
query.deleted | boolean | The bin: documents deleted on their own (a folder's contents go with it) and agents' rejected pages, not yet purged, most recently binned first. |
get One document with its Markdown content. | ||
get.document_id * | string | The document's id. |
by_slug A page by its slug, e.g. procedures/onboarding, as [[links]] name it. | ||
by_slug.space * | DocumentSpace | kb or wiki. |
by_slug.slug * | string | The page's slug. |
trail A document's folders from the top of its space down to it. | ||
trail.document_id * | string | The document's id. |
backlinks The pages that link to a page, by [[slug]] or by its id. | ||
backlinks.document_id * | string | The document's id. |
backlinks.after | string | null | A previous page's `next_cursor`; None reads from the start. |
backlinks.limit | integer | |
bookmarks The caller's bookmarked documents, in their order. | ||
imports Markdown imports, newest first. | ||
imports.after | string | null | A previous page's `next_cursor`; None reads from the start. |
imports.limit | integer | |
import_status One Markdown import's progress. | ||
import_status.import_id * | string | The import's id. |
lint The wiki's problems: broken links, orphan and stale pages. | ||
log Who changed documents (one, or a space's) and which fields, newest first, among those the caller opens. | ||
log.after | string | null | A previous page's `next_cursor`; None reads from the start. |
log.limit | integer | |
log.document_id | string | null | |
log.space | DocumentSpace | null | Only documents of this space. Empty reads both. |
log.actor_id | string | null | Only changes this principal made. |
log.since | string | null | |
log.until | string | null | |
preview_publish What making a document public would publish (a folder publishes its subtree) and what blocks it; nothing changes. | ||
preview_publish.document_id * | string | The document's id. |
preview_sharing Who would start or stop opening or editing a document if it were shared this way (needs the right to share it); nothing changes. | ||
preview_sharing.document_id * | string | The document's id. |
preview_sharing.visibility | Visibility | null | `tenant` or `principal`; kept when left out. |
preview_sharing.tenant_access | AccessLevel | null | What every member gets on a tenant-wide document; kept when left out. |
preview_sharing.shared_with | string[] | |
preview_sharing.editors | string[] | Members of `shared_with` who edit; the others view. |
preview_sharing.cascade | boolean | Also apply it to every document under a folder that the caller may change. |
preview_sharing.keep_own_sharing | boolean | With `cascade`, leave documents whose access already differed from the folder's (their own sharing) as they are. |
manage_documents write
Write knowledge-base and wiki pages: create, edit, append, move, share, duplicate, delete and restore; review agents' pages; bookmark; import Markdown; distill and promote wiki pages. An agent's page waits for a person's review. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
create A page (or folder) in Markdown; [[slug]] links another page. Once per key. | ||
create.key * | string | Creating with the same key returns the first document. |
create.space | DocumentSpace | |
create.kind | DocumentKind | |
create.title * | string | |
create.slug | string | null | Derived from the title (under the parent's slug) when left out. |
create.parent_id | string | null | |
create.position | integer | null | Last among its siblings when left out. |
create.content_markdown | string | |
create.body | object | null | A rich editor's JSON for the page, sent with the Markdown it renders to. |
create.referenced_document_ids | string[] | |
create.record_ids | string[] | |
create.visibility | Visibility | |
create.owner_id | string | null | |
create.tenant_access | AccessLevel | |
create.public | boolean | |
create.summary | string | null | For an agent's page: what it is for, shown to its reviewer. |
create.pending_review | boolean | When true, the page waits for a person's review before it is treated as approved. |
create.metadata | object | |
update Change the fields sent (title, content, parent, position…). An agent's edit of an approved page becomes a suggestion for a person. New Markdown without a body clears the page's rich editor body. | ||
update.document_id * | string | The document's id. |
update.change * | DocumentChange | The fields. |
append Add Markdown at the end of a page, or of one of its sections (created when missing). | ||
append.document_id * | string | The document's id. |
append.content_markdown * | string | |
append.section | string | null | |
append.expected_version | integer | null | |
edit_section Replace the body of the section under one heading of a page. | ||
edit_section.document_id * | string | The document's id. |
edit_section.section * | string | |
edit_section.content_markdown * | string | |
edit_section.expected_version | integer | null | |
delete Delete a document softly (restorable until purged). A folder takes its contents along. | ||
delete.document_id * | string | The document's id. |
restore Take a document out of the bin: a deleted one under its folder if that is still there (a folder with its contents), a rejected page back to review. | ||
restore.document_id * | string | The document's id. |
purge Remove a document in the bin for good. | ||
purge.document_id * | string | The document's id. |
reorder Put a folder's documents (or the top level's) in a new order. | ||
reorder.space | DocumentSpace | |
reorder.parent_id | string | null | The folder; the top of the space when left out. |
reorder.document_ids * | string[] | Its documents in order: each takes its index as `position`. Documents left out keep theirs. |
empty_bin Remove for good everything in a space's bin the caller may remove, a batch at a time. | ||
empty_bin.space | DocumentSpace | |
duplicate Copy a page under a new title. | ||
duplicate.document_id * | string | The document's id. |
duplicate.key * | string | |
duplicate.title | string | null | `Copy of …` when left out. |
share Choose who opens a document and who edits it: everyone (to read or to write) or named members, optionally for everything under a folder. | ||
share.document_id * | string | The document's id. |
share.visibility | Visibility | null | `tenant` or `principal`; kept when left out. |
share.tenant_access | AccessLevel | null | What every member gets on a tenant-wide document; kept when left out. |
share.shared_with | string[] | |
share.editors | string[] | Members of `shared_with` who edit; the others view. |
share.cascade | boolean | Also apply it to every document under a folder that the caller may change. |
share.keep_own_sharing | boolean | With `cascade`, leave documents whose access already differed from the folder's (their own sharing) as they are. |
review Approve an agent's page, or ask for changes. | ||
review.document_id * | string | The document's id. |
review.approve * | boolean | |
review.reason | string | null | |
review.request_changes | boolean | Send it back to its author instead of rejecting it (with `approve` false). |
decide_suggestion Accept or decline an agent's suggested edit of a page. | ||
decide_suggestion.document_id * | string | The document's id. |
decide_suggestion.accept * | boolean | Accept replaces the page's content with the suggestion; decline drops it. |
set_bookmarks Replace the caller's bookmarks (in their order). | ||
set_bookmarks.document_ids | string[] | |
import_markdown Import Markdown files sent inline as pages, folders kept. | ||
import_markdown.key * | string | |
import_markdown.space | DocumentSpace | |
import_markdown.parent_id | string | null | |
import_markdown.files * | MarkdownFile[] | |
start_import Import uploaded Markdown files (`.md` or a `.zip`) in the background. | ||
start_import.key * | string | |
start_import.space | DocumentSpace | |
start_import.parent_id | string | null | |
start_import.file_ids * | string[] | Ready files the caller uploaded (`/core/v1/files`). |
cancel_import Stop a Markdown import that is still running. | ||
cancel_import.import_id * | string | The import's id. |
distill Have Core distill several wiki pages into one new page (when the deployment turns distillation on). | ||
distill.key * | string | |
distill.document_ids * | string[] | Wiki pages to merge into one new page. |
distill.title | string | null | |
distill.parent_id | string | null | |
promote Copy a wiki page into the knowledge base (optionally deleting the wiki page). | ||
promote.key * | string | |
promote.document_id * | string | A wiki page to copy into the knowledge base for review. |
promote.parent_id | string | null | |
promote.delete_source | boolean | Remove the wiki page after the copy is created. |
search
search read
Semantic search over the workspace's content (records, activities, knowledge, documents and the text of files on records), filtered to what the caller may see. Use it to find context before answering. `kinds: ["file"]` searches files only, `record_ids` one record's: each file hit is a passage of the file (`source_id` is the file id, `metadata.filename` its name, `[page N]` lines its pages); cite both.
| Argument | Type | Description |
|---|---|---|
query * | string | |
kinds | string[] | Restrict to these content kinds (e.g. `knowledge`, `record`). Empty means all. |
record_ids | string[] | Restrict to content about these records. Empty means no restriction. |
mode | RetrievalMode | |
limit | integer |
identity
identity read
Which record an email, phone or handle belongs to, and the possible duplicates waiting for a decision. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
resolve Find the record a handle belongs to (exact, then fuzzy). | ||
resolve.object_type * | string | |
resolve.display_name | string | null | |
resolve.handles | IdentityHandle[] | |
reviews Open match reviews of an object type: possible duplicates to decide. | ||
reviews.object_type * | string | The object type. |
reviews.after | string | null | A previous page's `next_cursor`; None reads from the start. |
reviews.limit | integer | |
manage_identity write
Tie handles to records and decide match reviews (records' merge joins duplicates). Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
link Tie a handle (email, phone…) to a record. | ||
link.handle * | IdentityHandle | |
link.record_id * | string | Identifier of an entity record. |
link.object_type * | string | |
decide Close a match review: same person (links the handles) or different. | ||
decide.review_id * | string | The review. |
decide.same * | boolean | True: the party is the candidate (its handles are linked to it). False: never again propose this candidate for this party. |
files
files read
Files in the workspace: records' attachments and the library, their downloads and previews, and records read out of files. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
query Ready files newest first: a record's attachments or the library's, by type or name. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | Text in the file name. |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | Also count every match (the page's `total`). |
query.record_id | string | null | |
query.attribute | string | null | |
query.activity_id | string | null | An activity's files (a task's attachments). |
query.folder_id | string | null | The files directly in this folder of a record (not those of the folders under it). |
query.library | boolean | Files with no record or activity (the tenant's library and the caller's own). |
query.mine | boolean | Only files the caller uploaded. |
query.content_type_prefix | string | null | e.g. `image/`. |
query.metadata_equals | object | Only files whose `metadata` hold these exact top-level values (how a file came to be: `origin: export`). Any other condition on `metadata.<key>` goes in `where`. |
get A file's name, type, size and what it is attached to. | ||
get.file_id * | string | The file's id. |
download A signed URL to download a file, valid for a few minutes. | ||
download.file_id * | string | The file's id. |
download.disposition | FileDisposition | `inline` to show a PDF, an image, audio or video in a page; other types are always attachments. |
preview The start of a text file, or a CSV's header and first rows. | ||
preview.file_id * | string | The file's id. |
folders A record's folders, parents first, with how many files and folders each holds. Its type's file categories are folders too (on the type). | ||
folders.record_id * | string | The record's id. |
folder_impact What deleting a folder would delete: its files and folders. | ||
folder_impact.folder_id * | string | The folder's id. |
extractions The caller's file extractions, newest first; status `review` is the queue of proposals waiting for a person. | ||
extractions.after | string | null | A previous page's `next_cursor`; None reads from the start. |
extractions.limit | integer | |
extractions.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
extractions.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
extractions.order_by | SortKey[] | |
extractions.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
extractions.include_total | boolean | Also count every match (the page's `total`). |
extractions.status | ExtractionStatus | null | e.g. `review`: the queue waiting for a person. |
extractions.object_type | string | null | |
extractions.file_id | string | null | |
extraction One extraction with its proposed values: each with its confidence, where in the document it was read, and any issue to check. | ||
extraction.extraction_id * | string | The extraction's id. |
extraction_availability Whether reading records out of files is on, which file types it reads and the largest file. | ||
manage_files write
Upload, rename, move and delete files, transcribe recordings, and read records out of files (confirming what was read stays a person's step). Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
upload Get a signed URL to PUT a file's bytes to, then call confirm. | ||
upload.filename * | string | |
upload.content_type * | string | |
upload.size * | integer | Bytes; the upload must be exactly this size. |
upload.record_id | string | null | The record the file belongs to: its access follows the record's. |
upload.attribute | string | null | The record's file attribute the file fills (an attachment field). |
upload.activity_id | string | null | The activity the file is attached to (a task's file), instead of a record: its access follows the activity's. |
upload.visibility | Visibility | A file with no record or activity: the whole tenant's library, or its uploader's own. |
upload.category_id | string | null | One of the file categories of the record's object type; needs `record_id`. |
upload.folder_id | string | null | One of the record's folders (`RecordFolder`), instead of a category; needs `record_id`. |
upload.metadata | object | |
upload.key | string | null | The caller's key for this upload: a retry with the same key (and the same file) answers the same pending file with a fresh upload link instead of creating another. |
confirm Mark an uploaded file ready once storage holds exactly what was granted. | ||
confirm.file_id * | string | The file's id. |
change Rename a file, move it to another record or attribute, or share it. Left-out fields stay. | ||
change.file_id * | string | The file's id. |
change.change * | FileChange | The change. |
delete Delete a file. | ||
delete.file_id * | string | The file's id. |
create_folder Create a folder on a record: at its root, in a file category of its type or in another folder. A folder of that name already there is returned. | ||
create_folder.record_id * | string | Identifier of an entity record. |
create_folder.name * | string | |
create_folder.parent_kind | FolderParentKind | |
create_folder.parent_id | string | null | The category's id or the folder's id; none at the record's root. |
change_folder Rename a folder or move it within its record. | ||
change_folder.folder_id * | string | The folder's id. |
change_folder.change * | RecordFolderChange | The change. |
delete_folder Delete a folder with every file and folder in it. Ask folder_impact first and confirm with the person. | ||
delete_folder.folder_id * | string | The folder's id. |
transcribe Transcribe an audio or video file. | ||
transcribe.file_id * | string | The file's id. |
extract Read a record of an object type (an invoice, a contract…) out of an uploaded file in the background, or fill an existing record (`record_id`). The proposed values wait for a person to confirm them. Asking again returns the same extraction. | ||
extract.file_id * | string | The file's id. |
extract.object_type * | string | The type of the record to read out of the file (an invoice, a contract…). |
extract.record_id | string | null | Fill this record of `object_type` instead of creating one: confirming updates it, and each proposed value shows the record's `current` one. Needs write access to it. |
abandon_extraction Drop an extraction's proposal. | ||
abandon_extraction.extraction_id * | string | The extraction's id. |
retry_extraction Run a failed extraction again. | ||
retry_extraction.extraction_id * | string | The extraction's id. |
ingestion
ingestion read
Messages (emails, chats, calls, meetings) Core has taken in: where each stands and what it decided, totals, the skipped ones waiting for review, and how sources and new records are routed. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
status Where processing of an ingested message stands and what it decided. | ||
status.ingest_id * | string | The ingested message's id. |
query Ingested messages newest first, by stage, action, source or failure. | ||
query.after | string | null | A previous page's `next_cursor`; None reads from the start. |
query.limit | integer | |
query.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
query.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
query.order_by | SortKey[] | |
query.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
query.include_total | boolean | Also count every match (the page's `total`). |
query.stage | IngestStage | null | |
query.action | IngestAction | null | |
query.failed_only | boolean | Only messages whose last attempt failed. |
query.source_type | string | null | |
stats What ingestion did in a period: received, completed, failed, by action and by importance. | ||
stats.since * | string | From (inclusive). |
stats.until * | string | To (exclusive). |
skipped Messages ingestion skipped, waiting for a person (or resolved). | ||
skipped.after | string | null | A previous page's `next_cursor`; None reads from the start. |
skipped.limit | integer | |
skipped.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
skipped.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
skipped.order_by | SortKey[] | |
skipped.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
skipped.include_total | boolean | Also count every match (the page's `total`). |
skipped.resolved | boolean | |
routing Which object type new records of each archetype go to. | ||
sources How ingestion treats each source's messages. | ||
provenance The messages that created or changed a record. | ||
provenance.after | string | null | A previous page's `next_cursor`; None reads from the start. |
provenance.limit | integer | |
provenance.record_id * | string | Identifier of an entity record. |
llm_budget What ingestion spends on the LLM per day, against its daily cap. | ||
llm_budget.days | integer | How many days back. |
manage_ingestion write
Submit messages, process them again, tie them to other records, resolve skipped ones, and set routing and source handling. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
ingest Submit an email, chat message, call or meeting for Core to resolve, classify and tie to records. Idempotent per source and message id. | ||
ingest.source * | SourceRef | |
ingest.channel * | Channel | |
ingest.message_id * | string | |
ingest.thread_id | string | null | |
ingest.occurred_at * | string | |
ingest.submitted_by | string | null | The tenant user the connector acted for, when there is one. |
ingest.subject | string | null | |
ingest.content | string | null | |
ingest.participants | Participant[] | |
ingest.attachments | Attachment[] | |
ingest.linked_records | RecordRef[] | Records the source already associates with this message. |
ingest.trust_level | TrustLevel | |
ingest.headers | object | Mail headers the source kept, for the rules: `List-Unsubscribe`, `Precedence`, `Auto-Submitted`, `X-Mailer`. Names compare case-insensitively. |
ingest.declared_activity_type | string | null | |
ingest.payload | object | The provider payload, kept for reprocessing. Core does not depend on its shape. |
ingest.metadata | object | |
replay Process an ingested message again. | ||
replay.ingest_id * | string | The ingested message's id. |
replay_failed Process the messages that failed again. | ||
replay_failed.limit | integer | The most failed messages to replay, oldest first. |
relink Tie a message to exactly these records, replacing the ones ingestion chose; its activity follows. | ||
relink.ingest_id * | string | The ingested message's id. |
relink.record_ids * | string[] | |
reanalyze Run the analysis of an ingested activity again. | ||
reanalyze.activity_id * | string | The activity. |
resolve_skipped Decide a skipped message: ingest it after all (tied to records), or dismiss it. | ||
resolve_skipped.ingest_id * | string | The ingested message's id. |
resolve_skipped.action * | SkippedAction | |
resolve_skipped.record_ids | string[] | For `link`: the records to tie the message to. |
resolve_skipped_many One decision for many skipped messages, each on its own. | ||
resolve_skipped_many.ingest_ids * | string[] | |
resolve_skipped_many.resolution * | SkippedResolution | |
set_routing Replace the routing of new records. | ||
set_routing.defaults | object | |
set_routing.rules | RoutingRule[] | |
set_routing.version | integer | null | The stored version (0 before any is set). Sent back on a replace, it must still be current, so two operators never overwrite each other's routing; left out, the replace always applies. |
set_source Set how ingestion treats one source's messages. | ||
set_source.source_type * | string | |
set_source.min_importance | integer | null | Every message of the source scores at least this (e.g. a call recorder). |
set_source.max_importance | integer | null | ...and at most this (0: the source's messages are ignored). |
set_source.classify_with_llm | boolean | null | |
set_source.create_records | boolean | null | Whether unknown participants of the source's messages may become records. |
set_source.lane | IngestLane | null | |
remove_source Forget a source's settings; the deployment's defaults apply. | ||
remove_source.source_type * | string | The source. |
agents
agents read
The workspace's agents and their configuration (context scope, plugins, routines); an agent runtime runs them. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
list The agents, newest first. | ||
list.include_archived | boolean | Archived ones too. |
list.after | string | null | A previous page's `next_cursor`; None reads from the start. |
list.limit | integer | |
get One agent's configuration. | ||
get.agent_id * | string | The agent's id. |
manage_agents write
Create, configure and archive agents. Needs agents.manage. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
create A new agent. The same `key` returns the first agent. | ||
create.key * | string | Makes the create retry-safe: the same key returns the agent it created. |
create.name * | string | |
create.context_scope | AgentContextScope | |
create.use_scope | UseScope | null | What the workspace lets the agent use and see (ADR 0031): only narrows, `None` limits nothing. Beside `plugins` (what the agent has) and `context_scope` (what it asks to read). |
create.plugins | AgentPlugin[] | |
create.routines | string[] | Routine definition ids; they do not schedule anything. |
create.runtime_deployment_id | string | null | |
create.deployment | AgentDeploymentSpec | null | Create and deploy in one call. |
create.metadata | object | |
update Change the fields sent; each change is a new configuration version. | ||
update.agent_id * | string | The agent's id. |
update.change * | AgentUpdate | Fields. |
archive Archive an agent. | ||
archive.agent_id * | string | The agent's id. |
organize
organize read
How the workspace is organized: saved views, collections (lists with their own fields and stages), forms, task statuses and projects, email templates, stage rules and favorite folders; the caller's favorites and reminders; and reminder rules on date fields. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
items Workspace items of one kind (view, collection, form, task_status, task_project, email_template, stage_rule, favorite_folder, schema_pack): the shared ones and the caller's own. | ||
items.after | string | null | A previous page's `next_cursor`; None reads from the start. |
items.limit | integer | |
items.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
items.search | string | null | Text in the item's name. |
items.order_by | SortKey[] | |
items.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
items.include_total | boolean | Also count every match (the page's `total`). |
items.kind * | WorkspaceItemKind | |
items.scope | ItemScope | null | Both (the shared and the caller's personal) when left out. |
items.object_type | string | null | Views, forms and stage rules of this type. |
items.shared_with_me | boolean | Only personal items others shared with the caller. |
items.include_deleted | boolean | Deleted items too (a deactivated task status), to restore one. |
item One workspace item. | ||
item.item_id * | string | The workspace item's id. |
revisions Earlier versions of a workspace item (e.g. a stage rule's history). | ||
revisions.item_id * | string | The workspace item's id. |
entries A collection's entries in their order with their records; `field` and `value` narrow it to one board column. | ||
entries.collection_id * | string | The collection (a workspace item). |
entries.after | string | null | A previous page's `next_cursor`; None reads from the start. |
entries.limit | integer | |
entries.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
entries.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
entries.order_by | SortKey[] | |
entries.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
entries.include_total | boolean | Also count every match (the page's `total`). |
entries.field | string | null | Only entries whose value of this collection attribute equals `value` (a board column). |
entries.value | string | integer | number | boolean | null | |
collection_records A collection's records, filtered and sorted like records' query. | ||
collection_records.collection_id * | string | The collection (a workspace item). |
collection_records.after | string | null | A previous page's `next_cursor`; None reads from the start. |
collection_records.limit | integer | |
collection_records.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
collection_records.search | string | null | Text found, ignoring case, in the title or any searchable text attribute. |
collection_records.order_by | SortKey[] | |
collection_records.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
collection_records.include_total | boolean | Also count every match (the page's `total`). |
collection_records.object_type * | string | |
collection_records.parent_record_id | string | null | Only children of this record. |
collection_records.include_archived | boolean | |
collection_records.equals | object | Attribute slug → value: shorthand for `eq` filters. |
collection_records.filters | FieldFilter[] | Every filter must hold. |
collection_records.record_ids | string[] | Only these records. |
collection_records.sort | RecordSort | null | One sort key: shorthand for a one-key `order_by`. |
memberships For each record, its entries in the collections the caller can read. | ||
memberships.record_ids * | string[] | |
favorites The caller's favorites (records, documents, views…), in one folder or all. | ||
favorites.folder_id | string | null | Only this folder's. |
favorites.after | string | null | A previous page's `next_cursor`; None reads from the start. |
favorites.limit | integer | |
favorite_tree The caller's favorite folders in order, with their favorites, and the unfiled favorites. | ||
reminders The caller's reminders, soonest first; filter by record or status. | ||
reminders.after | string | null | A previous page's `next_cursor`; None reads from the start. |
reminders.limit | integer | |
reminders.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
reminders.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
reminders.order_by | SortKey[] | |
reminders.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
reminders.include_total | boolean | Also count every match (the page's `total`). |
reminders.record_id | string | null | |
reminders.status | ReminderStatus | null | |
reminder_rules Rules that remind people ahead of a date field (a renewal, a close date). | ||
reminder_rule_preview What a reminder rule would send in the next days, without sending anything. | ||
reminder_rule_preview.rule_id * | string | The reminder rule's id. |
reminder_rule_preview.days | integer | How many days ahead. |
record_reminders A record's field reminders: each rule on its type, the offsets it fires at for this record, and whether they are stopped. | ||
record_reminders.record_id * | string | The record's id. |
reminder_deliveries Reminders rules have sent (or failed to), newest first. | ||
reminder_deliveries.after | string | null | A previous page's `next_cursor`; None reads from the start. |
reminder_deliveries.limit | integer | |
reminder_deliveries.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
reminder_deliveries.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
reminder_deliveries.order_by | SortKey[] | |
reminder_deliveries.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
reminder_deliveries.include_total | boolean | Also count every match (the page's `total`). |
reminder_deliveries.record_id | string | null | |
reminder_deliveries.rule_id | string | null | |
reminder_deliveries.failed | boolean | Only deliveries that reached their recipient through no channel. |
validate_stage_rule Check a stage rule before saving it. | ||
validate_stage_rule.kind | string | |
validate_stage_rule.object_type * | string | |
validate_stage_rule.attribute * | string | The select attribute holding the stage. |
validate_stage_rule.stage * | string | The option value the rule applies to. |
validate_stage_rule.required_fields | string[] | |
validate_stage_rule.required_activity_kinds | string[] | |
suggest_stage_rule Have Core draft a stage rule from a plain description; nothing is saved. | ||
suggest_stage_rule.object_type * | string | |
suggest_stage_rule.attribute * | string | |
suggest_stage_rule.stage * | string | |
suggest_stage_rule.description | string | null | |
manage_organize write
Create, change, reorder and delete workspace items; add records to collections, change and remove their entries; favorite; set reminders; keep reminder rules; submit a form. Shared items need workspace.manage. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
create_item A view, collection, form, task status or project, email template, stage rule or favorite folder; `spec.kind` says which. The same `key` returns the first item. | ||
create_item.key * | string | Creating with the same key returns the first item. |
create_item.name * | string | |
create_item.scope | ItemScope | |
create_item.position | integer | null | |
create_item.spec * | ViewSpec | TaskProjectSpec | TaskStatusSpec | FormSpec | EmailTemplateSpec | StageRuleSpec | FavoriteFolderSpec | CollectionSpec | SchemaPackSpec | |
create_item.metadata | object | |
update_item Rename, move, share or replace the spec (of the same kind) of a workspace item; a task project archives with spec.archived. | ||
update_item.item_id * | string | The workspace item's id. |
update_item.change * | WorkspaceItemChange | The change. |
delete_item Delete a workspace item. | ||
delete_item.item_id * | string | The workspace item's id. |
restore_item Bring back a deleted workspace item (reactivate a task status). | ||
restore_item.item_id * | string | The workspace item's id. |
reorder_items New positions for many items (task statuses, views, folders). | ||
reorder_items.positions * | ItemPosition[] | |
add_to_collection Add records of the collection's type, with values for its own attributes; a record already in it keeps its entry. | ||
add_to_collection.collection_id * | string | The collection (a workspace item). |
add_to_collection.record_ids * | string[] | |
add_to_collection.fields | object | Values of the collection's attributes for every record added. |
change_entry Set a record's values of the collection's attributes (merged; null clears) or its position or stage, without touching the record. | ||
change_entry.collection_id * | string | The collection (a workspace item). |
change_entry.record_id * | string | The record. |
change_entry.change * | CollectionEntryChange | The change. |
remove_from_collection Take records out of a collection; the records stay. | ||
remove_from_collection.collection_id * | string | The collection (a workspace item). |
remove_from_collection.record_ids * | string[] | |
add_favorite Favorite a record, document, view or other target, in a folder. | ||
add_favorite.target * | FavoriteTarget | |
add_favorite.folder_id | string | null | |
add_favorite.position | integer | null | |
add_favorite.note | string | null | |
toggle_favorite Favorite a target when it is not one yet, else unfavorite it. | ||
toggle_favorite.target * | FavoriteTarget | |
toggle_favorite.folder_id | string | null | |
change_favorite Move a favorite to another folder or position, or change its note. | ||
change_favorite.favorite_id * | string | The favorite's id. |
change_favorite.change * | FavoriteChange | The change. |
remove_favorite Unfavorite. | ||
remove_favorite.favorite_id * | string | The favorite's id. |
reorder_favorites Place many favorites at once (folder and position). | ||
reorder_favorites.placements * | FavoritePlacement[] | |
set_reminder Remind the caller (or another member) at a time, often about a record. The same `key` returns the first reminder. | ||
set_reminder.key * | string | |
set_reminder.record_id | string | null | |
set_reminder.remind_at * | string | |
set_reminder.note | string | null | |
set_reminder.owner_id | string | null | Someone else to remind (a member); the caller when left out. |
change_reminder Move a reminder, change its note, or dismiss it (dismissed true). | ||
change_reminder.reminder_id * | string | The reminder's id. |
change_reminder.change * | ReminderChange | The change. |
create_reminder_rule Remind people some days before or after a date field (offsets), by notification or email. Once per key. | ||
create_reminder_rule.key * | string | |
create_reminder_rule.name * | string | |
create_reminder_rule.object_type * | string | |
create_reminder_rule.field * | string | |
create_reminder_rule.offsets * | integer[] | |
create_reminder_rule.recipients * | ReminderRecipients | |
create_reminder_rule.channels | FieldReminderChannel[] | |
create_reminder_rule.note | string | null | |
change_reminder_rule Change the fields sent of a reminder rule. | ||
change_reminder_rule.rule_id * | string | The reminder rule's id. |
change_reminder_rule.change * | FieldReminderRuleChange | The change. |
delete_reminder_rule Delete a reminder rule. | ||
delete_reminder_rule.rule_id * | string | The reminder rule's id. |
resend_reminder Send a failed reminder delivery again. | ||
resend_reminder.delivery_id * | string | The delivery. |
suppress_reminders Stop a record's reminders (of one rule, or all), until a time or for good. | ||
suppress_reminders.record_id * | string | Identifier of an entity record. |
suppress_reminders.rule_id | string | null | |
suppress_reminders.until | string | null | |
unsuppress_reminders Let a record's reminders (of one rule, or all) be sent again. | ||
unsuppress_reminders.record_id * | string | The record's id. |
unsuppress_reminders.rule_id | string | null | Only this rule's. |
set_reminder_override Per-record offsets for one rule, instead of the rule's defaults. | ||
set_reminder_override.record_id * | string | Identifier of an entity record. |
set_reminder_override.rule_id * | string | |
set_reminder_override.offsets * | integer[] | |
clear_reminder_override Use the rule's own offsets for a record again. | ||
clear_reminder_override.record_id * | string | The record's id. |
clear_reminder_override.rule_id * | string | The reminder rule's id. |
submit_form Create a record through a form: only its fields are taken and required ones must be present. The same `key` returns the first record. | ||
submit_form.item_id * | string | The workspace item's id. |
submit_form.key * | string | Submitting the same key again returns the first receipt. |
submit_form.values | object | |
billing
billing read
The workspace's plan, credits and usage. Everything but plans, standing and models needs billing.view; paying stays in the billing pages. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
plans The plans and add-ons on offer: what each includes and costs. | ||
account The workspace's plan, add-ons, current period, limits and credit balance. | ||
standing What the plan allows (features, limits), the credit balance and whether credit-gated work may start. Every member may read it. | ||
credits The credit balance and its ledger (grants, usage charges, referrals, adjustments), newest first. | ||
credits.after | string | null | A previous page's `next_cursor`; None reads from the start. |
credits.limit | integer | |
usage Recorded usage in a period, grouped by day, source, person, model or kind, with its credit cost. | ||
usage.since * | string | |
usage.until * | string | |
usage.source_prefix | string | null | Only usage whose source starts with this (`ingestion.`). |
usage.kinds | string[] | Only these usage kinds (`llm.input_tokens`); all when empty. |
usage.group_by | UsageGrouping | |
invoices The payment provider's invoices, newest first. | ||
invoices.after | string | null | A previous page's `next_cursor`; None reads from the start. |
invoices.limit | integer | |
models The LLM models the workspace may use, with their rates. | ||
referral_codes The workspace's referral codes. | ||
referral_stats What the workspace's referral code brought: people referred and credits earned. | ||
events
events read
The workspace's change history: every write, in order, with who made it. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
list Events in order; pass next_cursor back as `after` to read on or poll for new events. | ||
list.after | string | null | A previous page's next_cursor. |
list.limit | integer | Events per page (1-200). |
list.event_types | EventType[] | |
list.aggregate_type | AggregateType | null | |
list.aggregate_id | string | null | |
list.actor_id | string | null | Only events this principal caused. |
list.occurred_from | string | null | Inclusive start of `occurred_at`. |
list.occurred_to | string | null | Inclusive end of `occurred_at`. |
list.payload_kinds | string[] | Only events whose payload `kind` is one of these (an activity's kind). |
get One event. | ||
get.event_id * | string | The event's id. |
enrichment
enrichment read
Filling records' empty fields from external data providers: a record's enrichment state, runs and their progress, the providers with their credit price per resolved record, the workspace's settings and field maps. Needs enrichment.view. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
record A record's enrichment state: when it was last enriched and tried, each provider's last answer (no data, with its date), and which provider wrote each field. Never tried: no last_attempt_at. | ||
record.record_id * | string | The record's id. |
records The enrichment state of up to 200 records; records you cannot see are left out. | ||
records.record_ids * | string[] | |
run One enrichment run: its status and counters (resolved, no data, skipped, failed, fields written, credits). | ||
run.run_id * | string | The enrichment run's id. |
runs Enrichment runs, newest first: your own, or all with enrichment.run_bulk. | ||
runs.after | string | null | A previous page's `next_cursor`; None reads from the start. |
runs.limit | integer | |
runs.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
runs.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
runs.order_by | SortKey[] | |
runs.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
runs.include_total | boolean | Also count every match (the page's `total`). |
runs.status | EnrichmentRunStatus | null | |
runs.kind | EnrichmentRunKind | null | |
runs.object_type | string | null | |
runs.requested_by | string | null | |
preview What a run would do, without running it: records in scope, cache hits, provider calls and the credit estimate. | ||
preview.kind * | EnrichmentRunKind | |
preview.record_ids | string[] | |
preview.object_type | string | null | |
preview.attributes | string[] | |
preview.scope | EnrichmentScope | null | |
preview.force | boolean | |
providers The providers, in the workspace's order: kind, what they look up and supply, available, enabled and credits per resolved record. | ||
settings The workspace's provider order and switches, automatic enrichment and person mode. | ||
field_map Which attribute of an object type each enrichment field fills, decided on first read. | ||
field_map.object_type * | string | The object type's slug. |
field_map.mode | EnrichmentMode | null | organization or person; the type's archetype by default. |
manage_enrichment write
Start and cancel enrichment runs, and change the workspace's enrichment settings and field maps. Runs spend the workspace's credits per resolved record. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
enrich Start a run: `record` or `records` (record_ids, up to 200; needs enrichment.run and records.write on each), `object_type` or `column` (needs enrichment.run_bulk). Fills empty fields only unless `force`. Answers at once; follow it with enrichment(run=…). | ||
enrich.idempotency_key | string | null | Names the request: the same key returns the same run. |
enrich.kind * | EnrichmentRunKind | |
enrich.record_ids | string[] | |
enrich.object_type | string | null | |
enrich.attributes | string[] | |
enrich.scope | EnrichmentScope | null | |
enrich.force | boolean | |
cancel Stop a run: nothing more is scheduled, work in flight finishes. Its requester, or enrichment.run_bulk. | ||
cancel.run_id * | string | The enrichment run's id. |
set_settings Change the fields sent: provider order and switches, automatic enrichment, person mode. Needs enrichment.manage. | ||
set_settings.change * | EnrichmentSettingsChange | Fields. |
set_field_map Correct which field fills which attribute; corrections are kept over suggestions. Needs enrichment.manage. | ||
set_field_map.object_type * | string | The object type's slug. |
set_field_map.mode * | EnrichmentMode | |
set_field_map.entries * | FieldMapAssignment[] | |
set_field_map.expected_version | integer | null | |
automations
automations read
The workspace's automations: their definitions, versions, what they can do, and their runs. Needs automations.view. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
list Automations, newest first; archived ones only when asked. | ||
list.after | string | null | A previous page's `next_cursor`; None reads from the start. |
list.limit | integer | |
list.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
list.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
list.order_by | SortKey[] | |
list.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
list.include_total | boolean | Also count every match (the page's `total`). |
list.status | AutomationStatus[] | Shorthand: any of these (none: every status but archived). |
list.trigger_kind | TriggerKind | null | |
list.object_type | string | null | |
get One automation: its draft, status, settings and counters. | ||
get.automation_id * | string | The automation. |
catalog The triggers, actions, fields and limits an automation can use. | ||
validate What stands between the draft and publishing it. | ||
validate.automation_id * | string | The automation. |
versions An automation's published versions, newest first. | ||
versions.automation_id * | string | The automation. |
versions.after | string | null | A previous page's `next_cursor`; None reads from the start. |
versions.limit | integer | |
versions.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
versions.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
versions.order_by | SortKey[] | |
versions.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
versions.include_total | boolean | Also count every match (the page's `total`). |
versions.labelled | boolean | null | |
version One published version. | ||
version.automation_id * | string | The automation. |
version.number * | integer | The published version's number. |
runs Runs, newest first: references, never content. | ||
runs.after | string | null | A previous page's `next_cursor`; None reads from the start. |
runs.limit | integer | |
runs.where | FilterGroup | null | Conditions on the resource's fields, ANDed with the list's own parameters. |
runs.search | string | null | Text found, ignoring case, in the list's searchable fields (a name, a title). |
runs.order_by | SortKey[] | |
runs.offset | integer | null | Skip this many first (page `n` of size `limit` is `offset = (n - 1) * limit`), instead of `after`. The page still carries a `next_cursor` to read on. |
runs.include_total | boolean | Also count every match (the page's `total`). |
runs.automation_id | string | null | |
runs.status | AutomationRunStatus[] | |
runs.record_id | string | null | |
run One run with its step results. | ||
run.run_id * | string | The automation run. |
manage_automations write
Create, change and publish automations (automations.manage), and run, cancel or retry them (automations.run). A published automation acts on its own. Set exactly one argument: the action to take.
| Argument | Type | Description |
|---|---|---|
create A new automation, as a draft; the same key returns the first. | ||
create.key * | string | |
create.name * | string | |
create.description | string | null | |
create.spec | AutomationSpec | null | |
create.canvas | object | null | The visual editor's layout. Core stores it and never reads it: what runs is the spec. |
create.settings | AutomationSettings | |
change Change the draft, settings or name, or pause or activate it. | ||
change.automation_id * | string | The automation. |
change.name | string | null | |
change.description | string | null | |
change.spec | AutomationSpec | null | |
change.canvas | object | null | The visual editor's layout. Core stores it and never reads it: what runs is the spec. |
change.settings | AutomationSettings | null | |
change.status | "active" | "paused" | null | |
change.expected_version | integer | null | |
publish Publish the draft as a new version and activate it. | ||
publish.automation_id * | string | The automation. |
publish.expected_version | integer | null | |
publish.label | string | null | |
archive Archive it: nothing runs until it is restored. | ||
archive.automation_id * | string | The automation. |
restore Bring an archived automation back. | ||
restore.automation_id * | string | The automation. |
duplicate Copy an automation into a new draft. | ||
duplicate.automation_id * | string | The automation. |
duplicate.key * | string | |
duplicate.name * | string | |
start Run it now, on a record when its trigger binds one. A test run of the draft makes no changes. | ||
start.automation_id * | string | The automation. |
start.key * | string | |
start.record_id | string | null | The record to run on, when the trigger binds one. |
start.test | boolean | |
start.version | integer | null | None: the published version, or the draft for a test run. |
cancel Stop a run at its next step. | ||
cancel.run_id * | string | The automation run. |
retry Run a failed run again; steps that succeeded are carried over. | ||
retry.run_id * | string | The automation run. |
label_version Name a version, which keeps it for good, or remove its name. | ||
label_version.automation_id * | string | The automation. |
label_version.number * | integer | The published version's number. |
label_version.label | string | null | None removes the label. |
restore_version Copy a version into the draft; publishes nothing. | ||
restore_version.automation_id * | string | The automation. |
restore_version.number * | integer | The published version's number. |