List Sessions
Sessions
List Sessions
Get all sessions for the authenticated user with optional filtering
GET
List Sessions
Query Parameters
Filter sessions by status. Options:
all- Return all sessions (default)started- Return only active/started sessionsended- Return only ended sessions (includes billing data)
all and return all sessions.Response
Whether the request was successful
Array of session objects (See Session schema). Ended sessions include billing information.
For active sessions (
status = started), duration is calculated at request time (seconds since started_at).Ended sessions include a
billing object with information about minutes consumed and billing status. Active/created sessions do not include billing information.