Skip to main content
GET
List sessions

Authorizations

Authorization
string
header
required

Your Reason API key from Settings > API. New keys use reason_; legacy ara_ keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, knowledge:read, memory:read, memory:write, skills:read, skills:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, automations:read, automations:write, agent_auth:read. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:debug is privileged: it expands diagnostic session events only for organization owners/admins.

Path Parameters

orgId
string
required

Organization id or slug. Resolve it with GET /v3/self.

Query Parameters

archived
enum<string>
default:include

Includes both active and archived sessions by default. only includes sessions in archived projects too; exclude hides them.

Available options:
exclude,
only,
include

Case-insensitive literal search of session display-title fields, not transcript contents. Minimum 3 characters. Search pages are capped at 24 items; follow end_cursor for more.

Required string length: 3 - 500
project_id
string<uuid>

Filter sessions by an accessible existing Project in this Workspace.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
first
integer
default:50

Page size (default 50, max 200).

limit
integer

Alias for first (page size).

after
string

Cursor from the previous page's end_cursor.

Response

A page of sessions.

items
object[]
end_cursor
string | null
has_next_page
boolean