Skip to main content
GET
List Session Threads
Every request requires ?beta=true.

Authorizations

X-Api-Key
string
header
default:sk-ant-local-default
required

OMA workspace API key.

Headers

anthropic-version
string
anthropic-beta
string

Path Parameters

session_id
string
required

Path parameter session_id

Query Parameters

beta
enum<boolean>
required

Selects the beta API contract for this endpoint. Must be true.

Available options:
true
limit
integer<int32>

Maximum results per page. Defaults to 1000.

page
string

Opaque pagination cursor from a previous response's next_page. Forward-only.

Response

Successful response (OK)

Paginated list of threads within a session.

data
object[]

Threads in the session, primary first then children in spawn order.

Example:
next_page
string | null

Opaque cursor for the next page. Null when no more results.

Example:

"page_MjAyNS0wNS0xNFQwMDowMDowMFo="