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
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/v1/evals
- Auth: API key in header x-litellm-api-key
Query parameters
limitinteger nullable
afterstring nullable
beforestring nullable
orderstring nullable
order_bystring nullable
custom_llm_providerstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.