GET /v1/models
List Models
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
}
]
}Pruébalo
Llama a nuestro proxy de servidor. Pega tu clave API solo aquí: se queda en esta pestaña y no se guarda ni se envía a analítica. Déjalo vacío para usar la clave del proxy del playground.
Errors
- 401 authentication_error — Missing or invalid Bearer API key.
- 422 validation_error — Request body failed schema or business validation.
- 413 payload_too_large — Request body or state exceeds size limits.
- 429 too_many_requests — Rate limit exceeded. Retry after Retry-After seconds.
- 503 model_warming — Inference worker is starting (strike-1). Retry with backoff.
- 529 engine_unavailable — Engine not ready or overloaded.
- 404 not_found — Resource not found (e.g. retention id).