List Sessions
Query parameters
Maximum number of results to return.
Opaque pagination cursor from a previous response's next_page.
When true, includes archived sessions. Default: false (exclude archived).
A timestamp in RFC 3339 format
Return sessions created at or after this time (inclusive).
A timestamp in RFC 3339 format
Return sessions created after this time (exclusive).
A timestamp in RFC 3339 format
Return sessions created at or before this time (inclusive).
A timestamp in RFC 3339 format
Return sessions created before this time (exclusive).
Filter sessions created with this agent ID.
Filter by agent version. Only applies when agent_id is also set.
ListOrder enum
Sort direction for results, ordered by created_at. Defaults to desc (newest first).
Filter sessions whose resources contain a memory_store with this memory store ID.
Filter by session status. Repeat the parameter to match any of multiple statuses.
Headers
Response
Successful response (OK)
Example response
{
"data": [],
"next_page": "page_MjAyNS0wNS0xNFQwMDowMDowMFo="
}