List sessions
GET /v1/sessions- Permission
read:sessions- Tokens
- API key, CLI user token, Session token
List sessions with filters for time, source, service, handler, agent, and attribution.
Query parameters
An agent id, or its name: only sessions that agent started.
Service that triggered the session. Includes built-in responders and legacy sessions without a saved handler.
slackgithublinearsentrySaved handler id captured when the session started.
50integerA GitHub account id (see GET /v1/integrations/github/members); scopes the list to sessions attributed to that developer.
"owner/name" (exact) or a bare repo name. Sessions whose repository is named only inside their agent , dashboard starts, cron , do not match.
falsebooleanKeep only sessions whose current turn is pending or running.
Response
falsebooleanWhether more results exist past this page.
Pass as `cursor` to fetch the next page. Null on the last page. Opaque , echo it back rather than parsing it.
Lean wire rows , the same shape GET /v1/sessions/{id} and the stream's session frames carry. The heavy blobs (config snapshot, input/output) live on the detail endpoints.