Sessions

Get session

get/api/v1/sessions/{id}

Response

Session detail

idstring required

Durable session identifier.

run_idstring required
titlestring nullable
status'idle' | 'running' | 'failed' required
modelstring nullable

Canonical model ID selected when the session was created.

providerstring

LLM provider identifier.

created_atstring date-time required
updated_atstring date-time required
last_seqinteger required

Example response

{
  "id": "01HZX6M0P7SE4VJ9Y3X2B8E9QF",
  "provider": "anthropic",
  "active_turn": {
    "id": "01HZX6M29F1CD5YYMHT1F5D7WQ"
  }
}

Changes

Changed in 3 of the 134 revisions of this API.12

    • added the optional property provider to the response with the 200 status

      response-optional-property-added

    • removed the optional property provider from the response with the 200 status

      response-optional-property-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property provider to the response with the 200 status

      response-optional-property-added