OpenAI Evals API

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://apiclaw.biz (the document declares no server; this is the origin it was published from)
  • URL: https://apiclaw.biz/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

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

Changes

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