Skip to main content
POST
A record's activity with every filter, including a field's change from one value to another. A filtered page can hold fewer events than `limit`, even none, with a `next_cursor` to keep reading.

Authorizations

Authorization
string
header
required

An API key issued with object_model scopes: Authorization: Bearer sk_…. The scopes: object_model:records:read, object_model:records:write, object_model:facts:read, object_model:facts:write, object_model:model:read, object_model:model:configure, object_model:actions:run, object_model:changes:read. An operation's security lists the scopes it needs; several entries mean any one of them will do. A person field (ref(user), ref_list(user)) holds a user id: look people up by email or id with GET /v1/users, outside this API, with a key that also has users:read.

Scopes

object_model:records:read

Path Parameters

type_id
string
required
record_id
string
required

Body

application/json

What POST /records/:type_id/:record_id/activity/query takes. Not taken on this route yet, until how they combine is published: before_revision (400 unsupported_parameter).

cursor
string

The previous page's next_cursor. Leave it out to start with the newest event. A cursor continues under the filter it was read under: one read under another filter is refused (cursor_filter_mismatch).

filter
object

Only the events that match it.

limit
integer

Events per page, up to 100. Default 30.

subject_id
string

Response

Answered.

events
object[]
next_before_revision
string

On an unfiltered page: the same place as next_cursor, for a reader that pages by before_revision.

next_cursor
string

Send it as cursor, with the same filter, to read older events. Absent when there are none.