List threads

GET/v1/sessions/{id}/threads
Returns the session's side-chat threads in data in creation order, archived ones included. Threads that run other agents, such as subagents, are not listed.

Authorization

header

Authorization: Bearer <token>

An access token from Settings → Access tokens, with the scopes this call needs. Authentication

Path parameters

idstringrequired
TypeID with prefix "asess_".

Responses

ThreadListResultapplication/json

dataarray<SessionThread>required
threadsarray<ThreadListRow>required
Deprecated: read data instead. This field will be removed in a follow-up change.