Tool ID:
clarify_get_schema_activitiesRun this action
Use the TypeScript SDK for one call. Usectx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.
import { Deepline } from 'deepline';
const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
'clarify_get_schema_activities',
{
"workspace": "example",
"entity": "example"
},
);
console.log(result.toolResponse.raw);
CLI
deepline run clarify_get_schema_activities --input '{
"workspace": "example",
"entity": "example"
}'
Example response
The static output schema lacks the details for a reliable example. Usedeepline describe clarify_get_schema_activities --json for the complete live contract.
Input reference
Returns the history of schema changes for an object type as a paginated list of activities. Each activity groups the change events for one modification, such as adding or editing a field.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.workspace | string | Yes | — | The workspace slug — the {slug} segment of your Clarify workspace URL. |
payload.entity | string | Yes | — | The object type: a built-in entity (person, company, deal, …) or a custom object (c_*). |
payload.page | object | No | {"offset":0,"limit":500} | Offset pagination, e.g. page[offset]=0&page[limit]=100. |
payload.sortOrder | object | No | — | Sort order, e.g. sortOrder[column]=_created_at&sortOrder[dir]=DESC. |
Output reference
Standard tool result payload.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | object | Yes | — | Provider response payload. |
result.data.links | object | Yes | — | Pagination links. |
result.data.links.next | string | null | Yes | — | URL of the next page, or null on the last page. |
result.data.links.prev | string | null | Yes | — | URL of the previous page, or null on the first page. |
result.data.meta | object | Yes | — | Pagination metadata. |
result.data.meta.total_records | number | Yes | — | Total number of records across all pages. |
result.data.meta.total_pages | number | Yes | — | Total number of pages at the current page size. |
result.data.data | array | Yes | — | The page of resources. |
result.data.data[].type | "activity" | Yes | — | The resource type. matches the object path parameter. Allowed: activity. |
result.data.data[].id | string | Yes | — | The unique ID of the resource. |
result.data.data[].attributes | object | Yes | — | Field values keyed by field name. available fields depend on the object’s schema. |
result.data.data[].attributes._id | string | Yes | — | The ID of the earliest event in the grouped activity. |
result.data.data[].attributes._created_at | string | Yes | — | The time the earliest event in the group was created. Format: date-time. |
result.data.data[].attributes.aggKey | string | Yes | — | The key the events were grouped by, combining the record and change type. |
result.data.data[].attributes.data | array | Yes | — | The change events that make up this activity. |
result.data.data[].attributes.data[]._id | string | Yes | — | The unique ID of the event. Minimum length: 1. |
result.data.data[].attributes.data[]._created_at | string | Yes | — | When the event occurred. Format: date-time. |
result.data.data[].attributes.data[].type | "clarify:create" | "ClarifyCreate" | "clarify:update" | "ClarifyUpdate" | "clarify:merge" | "ClarifyMerge" | "clarify:delete" | "ClarifyDelete" | "clarify:add-to-list" | "ClarifyAddToList" | "clarify:remove-from-list" | "ClarifyRemoveFromList" | "clarify:set-relationship" | "ClarifySetRelationship" | "clarify:unset-relationship" | "ClarifyUnsetRelationship" | "clarify:grant-access" | "ClarifyGrantAccess" | "clarify:update-access" | "ClarifyUpdateAccess" | "clarify:revoke-access" | "ClarifyRevokeAccess" | "clarify:access-request-created" | "ClarifyAccessRequestCreated" | "clarify:access-request-decided" | "ClarifyAccessRequestDecided" | "clarify:membership-request-created" | "ClarifyMembershipRequestCreated" | "clarify:meeting" | "ClarifyMeeting" | Yes | — | The kind of change the event represents. Allowed: clarify:create, ClarifyCreate, clarify:update, ClarifyUpdate, clarify:merge, ClarifyMerge, clarify:delete, ClarifyDelete, clarify:add-to-list, ClarifyAddToList, clarify:remove-from-list, ClarifyRemoveFromList, clarify:set-relationship, ClarifySetRelationship, clarify:unset-relationship, ClarifyUnsetRelationship, clarify:grant-access, ClarifyGrantAccess, clarify:update-access, ClarifyUpdateAccess, See the live schema for the complete constraint. |
result.data.data[].attributes.data[].actor | object | Yes | — | Who or what triggered the change. |
result.data.data[].attributes.data[].actor._id | string | null | Yes | — | The ID of the record this item refers to, or null if anonymous. |
result.data.data[].attributes.data[].actor.anonymous_id | string | null | Yes | — | The anonymous identifier for the item when no record ID is known, or null. |
result.data.data[].attributes.data[].actor.entity | string | Yes | — | The object type of the item, e.g. person. |
result.data.data[].attributes.data[].actor.data | record | No | — | A snapshot of the item’s field values at the time of the event. |
result.data.data[].attributes.data[].actor.diff | array | No | — | The list of field-level changes the event applied to the item. |
result.data.data[].attributes.data[].actor.diff[].op | "add" | "update" | "delete" | Yes | — | The kind of change: add, update, or delete. Allowed: add, update, delete. |
result.data.data[].attributes.data[].actor.diff[].path | array | Yes | — | The path to the changed field within the record, as a list of keys and array indices. |
result.data.data[].attributes.data[].actor.diff[].val | unknown | No | — | The new value at the path. |
result.data.data[].attributes.data[].actor.diff[].oldVal | unknown | No | — | The previous value at the path, if the change replaced an existing value. |
result.data.data[].attributes.data[].actor.source_id | string | null | Yes | — | The identifier of the source that produced the event (e.g. an integration), or null. |
result.data.data[].attributes.data[].actor.channel | string | No | — | The channel a Rep write came over (e.g. imessage), absent for writes not made over a channel. |
result.data.data[].attributes.data[].object | object | No | — | The record the change was applied to. may be absent on partial stored events. |
result.data.data[].attributes.data[].object._id | string | null | Yes | — | The ID of the record this item refers to, or null if anonymous. |
result.data.data[].attributes.data[].object.anonymous_id | string | null | Yes | — | The anonymous identifier for the item when no record ID is known, or null. |
result.data.data[].attributes.data[].object.entity | string | Yes | — | The object type of the item, e.g. person. |
result.data.data[].attributes.data[].object.data | record | No | — | A snapshot of the item’s field values at the time of the event. |
result.data.data[].attributes.data[].object.diff | array | No | — | The list of field-level changes the event applied to the item. |
result.data.data[].attributes.data[].object.diff[].op | "add" | "update" | "delete" | Yes | — | The kind of change: add, update, or delete. Allowed: add, update, delete. |
result.data.data[].attributes.data[].object.diff[].path | array | Yes | — | The path to the changed field within the record, as a list of keys and array indices. |
result.data.data[].attributes.data[].object.diff[].val | unknown | No | — | The new value at the path. |
result.data.data[].attributes.data[].object.diff[].oldVal | unknown | No | — | The previous value at the path, if the change replaced an existing value. |
result.data.data[].attributes.data[].relationship | string | No | — | The relationship field involved, for relationship-change events. |
result.data.data[].attributes.data[].ref | object | No | — | The related record referenced by the change, for relationship events. |
result.data.data[].attributes.data[].ref._id | string | null | Yes | — | The ID of the record this item refers to, or null if anonymous. |
result.data.data[].attributes.data[].ref.anonymous_id | string | null | Yes | — | The anonymous identifier for the item when no record ID is known, or null. |
result.data.data[].attributes.data[].ref.entity | string | Yes | — | The object type of the item, e.g. person. |
result.data.data[].attributes.data[].ref.data | record | No | — | A snapshot of the item’s field values at the time of the event. |
result.data.data[].attributes.data[].ref.diff | array | No | — | The list of field-level changes the event applied to the item. |
result.data.data[].attributes.data[].ref.diff[].op | "add" | "update" | "delete" | Yes | — | The kind of change: add, update, or delete. Allowed: add, update, delete. |
result.data.data[].attributes.data[].ref.diff[].path | array | Yes | — | The path to the changed field within the record, as a list of keys and array indices. |
result.data.data[].attributes.data[].ref.diff[].val | unknown | No | — | The new value at the path. |
This output schema is too large for an inline display. Read the complete live contract with
deepline describe clarify_get_schema_activities --json.Deepline cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.