Skip to main content
GET
Python

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

Last-Event-ID
string

SSE reconnect cursor used when the after query parameter is omitted.

Pattern: ^(?:-1|[0-9]+)$

Path Parameters

run_id
string
required

Query Parameters

after
integer

Last persisted event index received by the client. Takes precedence over Last-Event-ID.

Required range: x >= -1
principal_id
string

Scope by principal. If omitted, only a run with no principal (principal_id is null) is addressed; a run whose principal differs yields 404.

Response

Indexed AG-UI Server-Sent Events. Keepalive comments do not advance the cursor.

The response is of type string.

Example:

"id: 0\\ndata: {\"type\":\"RUN_STARTED\",\"runId\":\"...\",\"threadId\":\"...\"}\\n\\n"