Skip to main content
GET
Stream session events as Server-Sent Events

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

Last-Event-ID
string<uuid>

Exclusive lowercase canonical UUID event cursor used when cursor is absent.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Path Parameters

sessionId
string<uuid>
required

Session whose events are streamed.

Query Parameters

cursor
string

Exclusive lowercase canonical UUID event cursor; takes precedence over Last-Event-ID.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
types
string

Comma-separated managed event type filter.

hydrate
enum<string>

Set to images to hydrate private image references.

Available options:
images
imageUrls
enum<string>

Set to signed to add short-lived image URLs where available.

Available options:
signed
payloads
enum<string>

Set to refs to return bounded stubs for external payloads.

Available options:
refs

Response

OK

UTF-8 server-sent event wire stream. The JSON schema for each framed data value is declared by x-recursion-sse-data-schema.