GET/v1/models
List models
List the models this API serves. Requires a Bearer API key.
Responses
200
ModelsListResponse
| Field | Type | Required |
|---|---|---|
| object | string | No |
| data | array of ModelInfo | Yes |
curl -s -X GET "https://strike-ai.eu/v1/models" \
-H "Authorization: Bearer $STRIKE_API_KEY"Example response
{
"object": "list",
"data": [
{
"id": "strike-1",
"owned_by": "strike",
"max_context_tokens": 32768
}
]
}Try it
Calls our server proxy. Only paste your API key here: it stays in this tab and isn’t stored or sent to analytics. Leave it empty to use the playground proxy key.
Errors
| Status | Code | Meaning |
|---|---|---|
| 401 | authentication_error | Missing or invalid Bearer API key. |