List sessions
Agent Harness
List sessions
List sessions for an agent (newest first by default), keyset-paginated. Pass page_token to fetch the next page, keeping the other query params constant.
GET
Error
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Agent whose sessions to list. Must exist in the tenant.
Required string length:
1 - 255Page size. Defaults to 10, max 100.
Required range:
1 <= x <= 100Sort sessions by creation time. Defaults to "desc".
Available options:
asc, desc Opaque token from a previous response next_page_token.
Inclusive lower bound on created_at (ISO-8601). Defaults upstream to 30 min before end_timestamp.
Inclusive upper bound on created_at (ISO-8601). Defaults upstream to now.