latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

OpenAI Evals API

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

objectstring
first_idstring nullable
last_idstring nullable
has_moreboolean