Skip to main content
GET
/
api
/
models
/
details
List model details
curl --request GET \
  --url http://localhost:8080/api/models/details
{
  "models": [
    {
      "name": "<string>",
      "provider": "<string>",
      "context_length": 123,
      "max_input_tokens": 123,
      "max_output_tokens": 123,
      "architecture": {
        "modality": "<string>",
        "tokenizer": "<string>",
        "instruct_type": "<string>",
        "input_modalities": [
          "<string>"
        ],
        "output_modalities": [
          "<string>"
        ]
      },
      "accessible_by_keys": [
        "<string>"
      ]
    }
  ],
  "total": 123
}

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:20

Maximum number of results to return (default 20)

unfiltered
boolean
default:false

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

Response

Successful response

List model details response

models
object[]
total
integer