Skip to main content
GET
List chat sessions

Authorizations

Authorization
string
header
required

Session JWT. After nasiko auth login, print it with jq -r '.clusters[.active].token' ~/.nasiko/config.json. API keys aren't supported.

Query Parameters

start_time
string | null

ISO-8601 window start (default: 7 days ago).

end_time
string | null

ISO-8601 window end (default: open-ended).

limit
integer<int64> | null

Page size (default 25, max 100).

offset
integer<int64> | null

Rows to skip, for offset paging (default 0). Superseded by cursor, which pages on the sort key instead; kept because the Sessions page still sends it. cursor wins when both are given.

cursor
string | null

Keyset cursor on (created_at, session_id) — the end_cursor of the previous page.

status
string | null

failed | ok | running | timed_out. Filtered in SQL, so matching_count counts every match in the window rather than the rows on this page.

sort
string | null

Sort order. Only created_at (the default) is supported.

parent
string | null

A session id: list that session's subagent sessions instead of the top level. The window does not apply; ownership does, as for any list.

Response

Sessions in the window

data
object
required