List sessions
List sessions for an agent with cursor-based pagination, optional filtering, and search.
Authorizations
Path Parameters
ID of the agent whose sessions to list.
Query Parameters
Number of sessions to return per page. Defaults to 20, maximum 100.
1 <= x <= 100Cursor for the next page of results. Use the next_cursor value from a previous response.
Free-text search query to filter sessions by name or content. Also accepted as search_query.
Sort order for the results (e.g. newest or oldest).
Filter sessions by type (e.g. api, web, slack).
Filter sessions by state.
processing, completed, failed, queued, idle Filter sessions by the user who created them.
Filter sessions by the trigger that initiated them.
Response
A paginated list of sessions.
