Sessions

Retrieve a session

Returns a single session by ID, including the task runs executed within it.

get/sessions/{session_id}

Path parameters

session_idstring required

Unique identifier for the session (prefixed with sess_).

Response

OK

idstring required

Unique identifier for the session, prefixed with sess_.

objectstring required

Always session.

statusstring required

Session status: queued, running, idle, completing, completed, or failed.

created_atstring date-time required

ISO 8601 timestamp of when the resource was created.

updated_atstring date-time required

ISO 8601 timestamp of when the resource was last updated.

request_idstring required

Unique identifier for the API request. Include this when contacting support.

Changes