get/v1/sessions/{session_id}/events/stream?beta=true

Request

Path parameters

session_idstring required

Query parameters

event_deltas[]BetaManagedAgentsEventDeltaType[]

When set, this connection also receives streaming deltas (event_start, event_delta) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal span.model_request_end closes the preview. Accepts one or more event types to preview and may be repeated: agent.message streams content_delta fragments; agent.thinking is start-only — a signal that the agent has begun extended thinking, concluded by the agent.thinking event itself. Only previews of the requested event types are sent.

Headers

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

anthropic-workspace-idstring

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Response

Successful response (OK)

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "type": "user.message",
  "id": "sevt_011CZkZGPp1iBcp4kaQSihUm",
  "content": [
    {
      "type": "text",
      "text": "Where is my order #1234?"
    }
  ],
  "processed_at": "2026-03-15T10:00:00Z"
}

Changes

    • info

      added subschema #1 to the ////////// response property anyOf list for the response status

    • info

      added subschema #1 to the ////////////////////////////// response property anyOf list for the response status

    • info

      added subschema #1 to the ////////////////////////////// response property anyOf list for the response status

    • info

      added subschema #1 to the ///////////////////////// response property anyOf list for the response status

    • info

      added the enum value admin-user-sign-out-2026-10-08 to the property items/anyOf[subschema #2]/ of the header request parameter anthropic-beta