Skip to main content
GET
List Session Resources
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 number of resources to return per page (max 1000). If omitted, returns all resources.

page
string

Opaque cursor from a previous response's next_page field.

Response

Successful response (OK)

Paginated list of resources attached to a session.

data
object[]
required

Resources for the session, ordered by created_at.

Example:
Example:
next_page
string | null

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

Example:

"page_MjAyNS0wNS0xNFQwMDowMDowMFo="