v1

latestOpenAPI 3.0.3MIT2026-07-22399194.2 KB
Events

Stream Events

Subscribe to a Server-Sent Events (SSE) stream of agent lifecycle events.

The stream replays retained historical events after the cursor, then delivers live events as they occur. Events are delivered at-least-once; clients should deduplicate by event id.

Use the after query parameter or Last-Event-ID header to resume from a previous position. If the cursor is older than the earliest retained event, the server returns 410 Gone.

get/events

Query parameters

afterinteger

Event ID cursor. Only events with id greater than this value are returned. Takes precedence over the Last-Event-ID header.

typesstring[]

Event types to receive. If omitted, all event types are sent.

Headers

Last-Event-IDstring

Standard SSE reconnection header. Used as the replay cursor if after query parameter is not provided.

Response

SSE event stream. Each event is delivered as an SSE frame with id, event, and data fields.