Skip to main content
List sessions. Optionally filter to sessions bound to a specific agent. Pagination is cursor-based using after and limit, matching the OpenAI Agents SDK.

Endpoint

Authentication

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

Query parameters

string
Filter to sessions bound to one agent.
integer
Maximum number of sessions to return.
string
Cursor: session identifier to page after.

Response

string
Always list.
array
Array of session objects (see Get Session).

Example