Sessions

List sessions

List sessions with filters for time, source, service, handler, automation, and attribution.

MethodPathRequired permissions
GET/v1/sessions
read:sessions
Token access
API key
Supported.
CLI user token
Supported.
Sandbox token
Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration.

Higher permission levels include lower levels: read < write < delete.

Grant match patterns can further restrict access to individual resources.

Query parameters

automationstring

An automation id, or its name: only sessions that automation started.

sourcearray<SessionSource>
serviceenum

Service that triggered the session. Includes built-in responders and legacy sessions without a saved handler.

one ofslackgithublinearsentry
handlerstring

Saved handler id captured when the session started.

daysinteger
startstring, date-time
endstring, date-time
limitdefault 50integer
cursorstring
author_idinteger

A GitHub account id (see GET /v1/integrations/github/members); scopes the list to sessions attributed to that developer.

repostring

"owner/name" (exact) or a bare repo name. Sessions whose repository is named only inside their automation , dashboard starts, cron , do not match.

unfinisheddefault falseboolean

Keep only sessions whose conversation is still going , live or idle , dropping the ones that completed, errored, or were stopped or cancelled. A session parked between turns counts as unfinished.

exclude_code_reviewdefault falseboolean
curl "https://api.ellipsis.dev/v1/sessions" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN"

Request

Response

Example response, 200
{
"has_more": false,
"next_cursor": "string",
"pull_requests": {},
"turn_counts": {}
}

On this page

No Headings
Schedule a demo