GET

Authorizations

x-api-key
string
header
required

Path Parameters

session_id
string
required

ID of the session (ses_ followed by 26 lowercase base32 characters). A session of another workspace, a deleted session and an unknown ID all answer 404 not_found_error without an error.code.

Query Parameters

event_deltas
enum<string>[]

Also send best-effort previews of these event types while they are produced: agent.message sends an event_start and then event_delta text fragments, agent.thinking only an event_start. Repeat the parameter or separate values with commas. Previews carry no SSE id, are not stored, and stop once the final event was delivered. Any other value is refused with 400 invalid_event_deltas.

An event type a stream can preview with event_deltas.

Available options:
agent.message,
agent.thinking

Response

Success.

Server-sent event in the session stream.

id
string
required

Unique identifier for this event.

content
object[]
required

Array of content blocks comprising the user message.

Regular text content.

type
string
required

Always user.message.

Allowed value: "user.message"
processed_at
string | null

Timestamp when the agent finished processing this message.