Skip to main content
GET
List Models
Returns the models configured by this OMA deployment.

Authorizations

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

OMA workspace API key.

Headers

anthropic-version
string

The version of the OMA API you want to use.

Read more about versioning and our version history here.

anthropic-beta
string

Optional header to specify the beta version(s) you want to use.

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

Query Parameters

before_id
string

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.

after_id
string

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.

limit
integer
default:20

Number of items to return per page.

Defaults to 20. Ranges from 1 to 1000.

Required range: 1 <= x <= 1000

Response

Successful Response

data
ModelInfo · object[]
required
first_id
string | null
required

First ID in the data list. Can be used as the before_id for the previous page.

has_more
boolean
required

Indicates if there are more results in the requested page direction.

last_id
string | null
required

Last ID in the data list. Can be used as the after_id for the next page.