Skip to main content
GET
Stream the org's change notices

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Last-Event-ID
string

The id of the last frame the reader applied. Read only when after is absent.

Query Parameters

after
string

Resume after this frame id (<ms>-<seq>, an id this stream sent). When absent, Last-Event-ID is used; when both are absent the stream starts at the live tail.

Response

An event stream. Each message carries id (the resume cursor), event (the frame type) and data (one ChangeFrame as JSON). : ka comments keep an idle stream open; a final : end comment closes the server's window, after which the reader resubscribes with after= its last id if it needs more.

One frame of the stream, discriminated by kind.

account_id
string | null
required

The book account the notice is about, or null.

event
string
required

The notice's event name, also the event line (record.changed, pipeline.complete).

kind
enum<string>
required

notice.

Available options:
notice
outbox_id
string | null
required

The notice's source row, or null. A retried publish can repeat a notice under a new event id; the reader drops a repeat by outbox_id.

payload
any
required

The notice: ids, status, counts and times only, never record content. Read the content again through the scoped API read.

run_id
string | null
required

The run the notice is about, or null.

topic
string
required

The token topic the notice matched: org, run:<id> or record:<family>:<id>.