List sessions
Returns unclassified public sessions in the calling organization, most recently updated first unless sortBy and sortDirection select another order, filtered by any combination of status, kind, agent_id, current agent tag_ids, and external source. kind accepts a comma-separated list, while tag_ids uses AND semantics. Results are keyset-paginated and capped by limit (default 100, max 1000). A page can hold fewer, or none, before the last when a filter matches few sessions in a long history, so read on while next_page_token is set. Every page of one listing reads the same snapshot as the first page, so a session updated while a client pages is neither skipped nor repeated. Classified session trees are omitted.
Authorizations
Headers
Query Parameters
Exact-match filter on caller-defined session metadata as key:value, split at the first colon. Repeat the parameter to require several pairs; a session's root must carry every one (AND semantics). Children of a matching root match too, so combine with root_only to list only the roots.
32Page size, from 1 to 1000; a value outside that range is rejected with 400. Until the list has ended, the response carries next_page_token, even on a short or empty page; pass it back as page_token with the same filters and limit to read the next page.
1 <= x <= 1000Opaque continuation token from a previous page's next_page_token. Bound to the organization and to the exact filters, sort, and limit it was issued for; valid for one hour. Later pages read the snapshot the first page was read at; once that snapshot is 55 minutes old the token is rejected with 400 and the listing must start again without page_token.
Return evaluation root sessions bound to this target session, including evaluations still running. Returns manual evaluations and, where supported, historical outcome evaluation roots. Linked outcome grading roots are found through the writer's outcome history. Requires kind=evaluation when kind is present. A value that is not a UUID is rejected with 400.
Column the whole list is ordered by before pagination. Ties break on the session's identity, so the order is total and pages neither skip nor repeat a session. last_activity_at is absent on a session that has not run a turn; those sort as the smallest value, last when descending. status orders each status group by updated_at, most recent first when ascending. session_id compares byte by byte. Any other value is rejected with 400.
updated_at, created_at, last_activity_at, status, session_id Response
One keyset-paginated page of unclassified public sessions matching the requested filters. Classified session trees are omitted.
One page of unclassified public sessions matching the requested filters. Classified session trees are never returned by this API.