Session Endpoints
List Sessions
List sessions with filtering by state, platform, root_only, and since.
GET
Requires
Authorization: Bearer header with a deploy token (qt_deploy_*) or Supabase JWT.Query Parameters
string
Filter by session state:
active, idle, ended.string
Filter by agent platform (e.g.,
claude-code, cursor).boolean
When
true, return only root sessions (no parent). Useful for top-level overview.datetime
RFC 3339 timestamp (
2026-04-11T09:30:00Z) or a bare date (2026-04-11,
interpreted as midnight UTC). Only return sessions started on or after this
time. Relative words like yesterday are rejected.Response
array
Array of session records matching the filters.