Skip to main content
GET
/
api
/
models
Error
A valid request URL is required to generate request examples
{
  "models": [
    {
      "name": "<string>",
      "provider": "<string>",
      "accessible_by_keys": [
        "<string>"
      ]
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <API key>. Virtual keys, dashboard/user/session tokens, and x-api-key headers are not supported on management APIs.

Query Parameters

query
string

Filter models by name (case-insensitive partial match)

provider
string

Filter by specific provider name

keys
string[]

Comma-separated list of key IDs to filter models accessible by those keys

limit
integer
default:5

Maximum number of results to return (default 5)

unfiltered
boolean
default:false

If true, return all models including those filtered out by provider-level restrictions

Response

Successful response

List models response

models
object[]
total
integer