Stream events across all of the agent's inboxes (Server-Sent Events)
GET /v1/events
Like the inbox-scoped stream, but emits events across EVERY inbox the agent owns. Same text/event-stream envelope and Last-Event-ID resume contract. This stream also backs human-in-the-loop (HITL) events.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”SSE resume token. On reconnect, set this to the id of the last event you received and the server replays every event after it. EventSource sets this header automatically; non-browser clients may instead pass the last_event_id query parameter.
Query Parameters
Section titled “Query Parameters ”SSE resume token as a query parameter, for clients (curl, fetch) that cannot set the Last-Event-ID header. Same semantics: replay events after this id.
Responses
Section titled “ Responses ”An open SSE stream of events.
One event from the SSE stream, carried as the data: payload of an text/event-stream frame. It is the SAME envelope a webhook delivers, so a stream consumer and a webhook consumer see byte-identical data. The SSE frame’s id: field carries the monotonic resume token (pass it back as Last-Event-ID on reconnect) and its event: field carries event below.
object
Event type, e.g. message.received.
Example
message.receivedOpaque event id (evt_...).
The inbox this event concerns.
The canonical message wire shape (agent plane).
object
Opaque
Example
msg_8TzExample
thr_9aBExample
agent7@extrovertmail.comDerived relative to the owning inbox.
A structured RFC5322 address.
object
Example
Acme SupportExample
support@acme.testA structured RFC5322 address.
object
Example
Acme SupportExample
support@acme.testA structured RFC5322 address.
object
Example
Acme SupportExample
support@acme.testA structured RFC5322 address.
object
Example
Acme SupportExample
support@acme.testDecoded UTF-8 text/plain MIME alternative; null when the message had no plain-text part. Never derived from HTML.
Decoded text/html MIME alternative; null for text-only mail. Never synthesized from plain text.
Best-effort derivative of text with quoted history and signatures removed; null when text is absent or no authored text remains. Not authoritative.
Best-effort derivative of html with common quoted-history containers removed; null when html is absent or no authored HTML remains. Not authoritative.
Original Date header value.
RFC5322 Message-ID.
RFC5322 In-Reply-To header.
RFC5322 References header chain.
Native IMAP \Seen flag (read state).
Missing or invalid credential.
The canonical error envelope. error is a stable machine code.
object
Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).
Example
forbiddenHuman-readable detail (never leaks internals).
Example
missing required scope