Listing the model catalog¶
Note
The Admin API requires no token. The Admin API is typically protected at the network level.
Send the request as GET to the path /admin/v1/models.
Description¶
Returns known models. Optionally filter by provider.
Request¶
The following parameters are available:
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
provider |
query | string |
no | Filter by provider name (e.g. anthropic, openai). |
Example¶
Example of the response body:
{
"models": [
{
"provider": "openai",
"model": "gpt-4o",
"context_window": 128000,
"requires_key": true
}
]
}
Responses¶
The endpoint answers the request with the following status codes:
| Status code | Description |
|---|---|
200 |
Model catalog. |