v1
latestOpenAPI 3.0.32026-07-24106305257.4 KBAgents Sessions V2
List sessions
List the user's sessions, with optional agent and time-range filters.
get/v2/agents/sessions
Query parameters
agent_idstring
Optional agent id to filter sessions to a single agent
fromstring
Include sessions that started on or after this ISO-8601 timestamp (e.g. 2026-04-01T00:00:00.000Z).
tostring
Include sessions that started on or before this ISO-8601 timestamp (e.g. 2026-04-28T23:59:59.999Z).
limitnumber double
Maximum number of sessions to return per page. Defaults to 100 when omitted.
tokenstring
Pagination token returned in the previous response's token field. Pass it back to fetch the next page; omit for the first page.
Response
OK