Skip to navigation

List Models

List the catalog models the organization can route to.

Needs view_routing or manage_routing.

Authentication

AuthorizationBearer

A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.

Query parameters

min_context_lengthinteger or nullOptional>=1
Only models whose context window is at least this.
input_modalitystring or nullOptional

Only models that accept this input, like image.

output_modalitystring or nullOptional

Only models that return this output, like audio.

cursorstring or nullOptional

The next value from the previous page. Omit it for the first page.

limitintegerOptional1-100Defaults to 20
Maximum number of results to return, at most 100. Defaults to 20.

Response

The list of models the organization can use
nextstring or null

Cursor for the next page: pass it as cursor. Null on the last page.

previousstring or null

Always null: paging only goes forward.

resultslist of objects
The models on this page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error