Skip to content

List Sessions

GET/v1/agents/sessions

List Sessions in your organization with cursor pagination. Rows that cannot be read live still appear, with a failure such as session_not_ready or session_snapshot_unavailable.

Query parameters

Optional<string>lifecycle_status

active, archived, or all.

Default: active

Optional<string>agent_id

Only Sessions of this Agent.

Optional<integer>limit

Page size from 1 to 100. Values outside the range return 400.

Default: 20

Optional<string>after

Cursor. Pass last_id from the previous page.

Optional<string>order

asc or desc by creation time.

Default: desc