List agent sessions
Changed onLists managed agent sessions using ID-based pagination and the requested sort order. See managing sessions.
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/agents/sessions
- AuthHTTP bearer
Query parameters
The maximum number of resources to return, between 1 and 100. Defaults to 20.
The order in which paginated resources are returned.
The order in which resources are returned. Defaults to desc.
Return resources after this resource ID in the selected order.
Only return sessions whose root agent has this ID. Omit to return sessions for all agents.
Exact string matches supplied as metadata[key]=value. All supplied pairs must match. Up to 16 pairs, with keys from 1 to 64 characters and values up to 512 characters. New sessions and metadata updates may take time to appear in filtered results.
Response
A page of sessions.
Changes
- info
added the optional property
///to the response with the status
- info
- info
added the optional property
///to the response with the status
- info