latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
evals
List Evals
List evaluations with pagination.
Model-based routing (for multi-account support):
- Pass model via header: x-litellm-model: gpt-4-account-1
- Pass model via query: ?model=gpt-4-account-1
- Pass model via body: {"model": "gpt-4-account-1"}
Example usage:
curl "http://localhost:4000/v1/evals?limit=10" -H "Authorization: Bearer your-key"
Returns: ListEvalsResponse with list of evaluations
get/v1/evals
Query parameters
limitinteger nullable
afterstring nullable
beforestring nullable
orderstring nullable
order_bystring nullable
custom_llm_providerstring nullable
Response
Successful Response