evals

Update Eval

Update an evaluation.

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 -X POST "http://localhost:4000/v1/evals/eval_123"       -H "Authorization: Bearer your-key"       -H "Content-Type: application/json"       -d '{"name": "Updated Name"}'

Returns: Updated Eval object

post/v1/evals/{eval_id}

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/{eval_id}
  • Auth: API key in header x-litellm-api-key

Path parameters

eval_idstring required

Query parameters

custom_llm_providerstring nullable

Response

Successful Response

created_atinteger required
data_source_configobject required
idstring required
metadataobject nullable
namestring nullable
objectstring
testing_criteriaobject[] required
updated_atinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.