List events
GET /v1/events
Ordered by (txid, seq) and behind the visibility horizon, so a consumer that has read up to a cursor never later finds a row it stepped over. An event is readable only once every write transaction that started before it has ended.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”How many objects to return, 1 to 100. Defaults to 20.
Example
20Cursor: the id of the last object of the previous page.
Prefixed identifier of the object the event is about.
occurred_at from this instant, included.
Example
2026-09-08T07:00:00Zoccurred_at up to this instant, excluded.
Example
2026-09-08T07:00:00ZHeader Parameters
Section titled “Header Parameters ”The dated API version to speak. Defaults to 2026-09-01; an unsupported value is a 400.
Example
2026-09-01Which Bookrail tool the caller is, recorded as actor.via on every event the request writes. A closed list: an unknown value is a 400. Absent means the request declared no tool.
Responses
Section titled “ Responses ”Success.
object
object
Identifier of a event, prefixed with evt_.
Example
evt_0198f0c2a1b47e2e9a1c0f4d5e6a7b8cISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZPosition in the global event sequence. Not a count: a project’s values have arbitrary gaps.
{type: "api", id: "key_...", via?: "mcp"|"cli"|"sdk"|"dashboard"} for an HTTP write, {type: "system", id: null} for an automatic transition, null when nobody declared one.
object
Snapshot of the object after the change.
The fields that changed, or null for a creation.
The environment of the API key that created the object.
ISO 8601 instant in UTC.
Example
2026-09-08T07:00:00ZHeaders
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: parameter_invalid, parameter_missing, unsupported_api_version.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: invalid_api_key, invalid_authorization_header, missing_api_key, revoked_api_key.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.
Error codes: internal_error.
object
object
Machine readable code. The set is per operation; each response below lists the ones it can produce.
The field or header the error is about, when there is one.
Headers
Section titled “Headers ”Identifier of this request. Quote it to support.
The API version this response was produced with.