Skip to main content
GET
Error

Query Parameters

from
string

RFC 3339 start (default 24 h before to)

to
string

RFC 3339 end (default now)

app_id
integer

App

user_id
integer

Studio user

session_id
string

Exact session id

agent
string

Agent name

model
string

Model

tool
string

Tool called

status
string

active, closed or error

source
string

declared or inferred

Only sessions with weak links

has_errors
boolean

Has errors

has_gateway_events
boolean

Has gateway events

cost_min_micros
integer

Minimum cost (micros)

cost_max_micros
integer

Maximum cost (micros)

duration_min_ms
integer

Minimum duration (ms)

duration_max_ms
integer

Maximum duration (ms)

sort
string

started_at, cost, duration, tokens, turns, llm_calls, tool_calls or errors; prefix - for descending (default -started_at)

cursor
string

next_cursor of the previous page

limit
integer

Page size (1-200, default 50)

Response

{data: [session], next_cursor}

The response is of type object.