Skip to main content
GET
Stream one authenticated complete event content document

Authorizations

Authorization
string
header
required

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

Headers

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 id (UUID) the event belongs to.

eventId
string<uuid>
required

Event id, a lowercase canonical UUIDv7 taken from an event returned by managedAgentsListSessionEvents. Event ids sort chronologically.

Response

The body of a session event, shaped like a provider message: content blocks plus the stop reason and token usage the provider returned. Every event in a session transcript carries one.

The body of a session event, shaped like a provider message: content blocks plus the stop reason and token usage the provider returned. Every event in a session transcript carries one.

blocks
object[] | null
required

Ordered content blocks of this message, in the provider's content-block form. Empty for events that carry no message body.

assistantInteraction
object

One state of a typed request an assistant put in front of the reader: questions, a solution blueprint, or a plan of changes. Present on the approval_request events of an assistant session, one per state the interaction passes through.

metadata
object

Extra key/value detail about this event that is not part of the message body, such as the ingest subtype or the sandbox working directory.

plan
object[]

Plan items reported by the agent, present on a plan_update event.

stop_reason
string

The provider's own stop_reason for the assistant turn, recorded verbatim, e.g. end_turn, tool_use, or max_tokens. Absent on events that are not a model response.

tools
object[]

Tool definitions that were in scope for the turn, as sent to the provider. Recorded on the session's system message so a transcript shows what the model could call.

usage
object

Token counts the provider reported for the call that produced this message. Absent when the event is not a model response.