Skip to main content
Retrieve a session by identifier. The response includes the bound agent, status, metadata, and aggregate counts of turns, items, and subagents.

Endpoint

Authentication

Authorization: Bearer <api_key> or Authorization: ApiKey <api_key>.

Path parameters

string
required
Session identifier.

Response

string
Session identifier.
string
Always agent.session.
string
Bound agent identifier.
string
Session status.
object
Free-form metadata.
object
Aggregate counts of turns, items, and subagents.
integer
Unix seconds.

Example