---
title: "Update Eval"
method: POST
path: "/v1/evals/{eval_id}"
tags: ["evals"]
---

# Update Eval

`POST /v1/evals/{eval_id}`

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:
```bash
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

## Path parameters

- `eval_id` string, required

## Query parameters

- `custom_llm_provider` string, nullable

## Response `200`

Successful Response

- Eval — Represents an evaluation from the OpenAI Evals API
  - `created_at` integer, required
  - `data_source_config` object, required
  - `id` string, required
  - `metadata` object, nullable
  - `name` string, nullable
  - `object` string
  - `testing_criteria` object[], required
  - `updated_at` integer, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `evals` added
  - api tag `OpenAI Evals API` removed
- **2026-09-18** `082b5fabd909` — 4 info
  - api tag `OpenAI Evals API` added
  - api tag `evals` removed
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/evals/:eval_id/post.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/b694deb1e459?raw)
