Skip to main content
GET
List Agents
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

The OMA API compatibility version to use.

anthropic-beta
string

Beta header that enables the Managed Agents API contract.

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. Default 20, maximum 100.

page
string

Opaque pagination cursor from a previous response.

created_at[gte]
string<date-time>

Return agents created at or after this time (inclusive). A timestamp in RFC 3339 format

created_at[lte]
string<date-time>

Return agents created at or before this time (inclusive). A timestamp in RFC 3339 format

include_archived
boolean

Include archived agents in results. Defaults to false.

Response

Successful response (OK)

Paginated list of agents.

data
object[]
required

List of agents.

next_page
string | null

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