> This page is for version 0.10.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo-helix/latest/llms.txt
> - 0.10: https://docs.nvidia.com/nemo-helix/v0.10/llms.txt
> - 0.9: https://docs.nvidia.com/nemo-helix/v0.9/llms.txt
> - 0.8: https://docs.nvidia.com/nemo-helix/v0.8/llms.txt
> - 0.7: https://docs.nvidia.com/nemo-helix/v0.7/llms.txt
> - 0.6: https://docs.nvidia.com/nemo-helix/v0.6/llms.txt
> - 0.5: https://docs.nvidia.com/nemo-helix/v0.5/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo-helix/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo-helix/_mcp/server.

# Update Evaluation

PUT http://localhost:8080/apis/intake/v2/workspaces/{workspace}/evaluations/{name}
Content-Type: application/json

Reference: https://docs.nvidia.com/nemo-helix/documentation/reference/api-reference/evaluations/update-evaluation-apis-intake-v-2-workspaces-workspace-evaluations-name-put

## Request

### Path parameters

- `workspace` (string, required)
- `name` (string, required)

### Body (application/json)

This endpoint expects an EvaluationRequest.

- `name` (string, required) — Producer-supplied, workspace-unique evaluation id.
- `dataset_name` (string, required) — Producer-supplied dataset name.
- `experiment_ids` (list of string, optional) — Entity ids of the Experiments this Evaluation belongs to (>=1). Preferred; each experiment must already exist. When omitted, the deprecated experiment_group_id is used instead.
- `dataset_version` (string, optional) — Producer-supplied dataset version.
- `source_link` (string, optional) — Optional URL for the source evaluation.
- `metadata` (map from string to string, optional) — Free-form producer metadata.
- `description` (string, optional) — Human-readable description.
- `parent_evaluation_id` (string, optional) — Entity id of the evaluation this one was derived from (e.g. a variant of a baseline), if any.
- `status` (string, optional) — Producer-defined lifecycle status of the evaluation.
- `root_cause` (string, optional) — Human- or agent-authored explanation of the evaluation's outcome (e.g. why it was killed).
- `experiment_group_id` (string, optional, deprecated) — Deprecated single-experiment field; provide experiment_ids instead. Coalesced into experiment_ids when experiment_ids is omitted.

## Response

### 200

Successful Response

- `id` (string, required)
- `name` (string, required)
- `workspace` (string, required)
- `experiment_ids` (list of string, required) — Entity ids of the Experiments this Evaluation belongs to (>=1).
- `dataset_name` (string, required)
- `experiment_group_id` (string, required, deprecated) — Deprecated single-experiment alias; the first of experiment_ids. Use experiment_ids.
- `dataset_version` (string, optional)
- `source_link` (string, optional)
- `metadata` (map from string to string, optional)
- `description` (string, optional)
- `parent_evaluation_id` (string, optional)
- `status` (string, optional)
- `root_cause` (string, optional)
- `created_at` (datetime, optional)
- `updated_at` (datetime, optional)
- `pinned_at` (datetime, optional, nullable) — Timestamp at which the evaluation was pinned, or null if unpinned. Managed via POST/DELETE /evaluations/\{name}/pin.
- `evaluator_names` (list of string, optional)
- `model_names` (list of string, optional) — Distinct model names observed across ingested sessions for this evaluation.
- `agent_names` (list of string, optional) — Distinct agent names observed across ingested sessions for this evaluation.
- `agent_versions` (list of string, optional) — Distinct agent versions observed across ingested sessions for this evaluation.
- `aggregate_scores` (map from string to EvaluatorAggregate, optional)
- `run_count` (integer, optional, default: 0) — Number of distinct ingested evaluation sessions; one session is treated as one run.
- `test_case_count` (integer, optional, default: 0) — Number of distinct test cases in the evaluation, i.e. distinct test_case_name values (sessions with no test_case_name each count as their own). A test case run k times counts once; the rollup metrics are averaged per test case before pooling across test cases.
- `cost_usd` (EvaluatorAggregate, optional) — Aggregate statistics over evaluator scores or session-level metric values.
- `latency_ms` (EvaluatorAggregate, optional) — Aggregate statistics over evaluator scores or session-level metric values.
- `tokens` (EvaluatorAggregate, optional) — Average total tokens (input + output) per test case, aggregated across the evaluation.

## Errors

### 404 Not Found Error

Evaluation not found

- `any`

### 409 Conflict Error

Attempt to change an immutable field, or remove a baseline membership

- `any`

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### EvaluatorAggregate

Aggregate statistics over evaluator scores or session-level metric values.

- `sum` (double, optional)
- `mean` (double, optional)
- `median` (double, optional)
- `p90` (double, optional)
- `p95` (double, optional)
- `p99` (double, optional)
- `count` (integer, optional, default: 0)
- `failed_count` (integer, optional, default: 0) — Sessions whose evaluator recorded a FAILED result (ran, produced no value). They are already counted as 0 in `mean`; this says how many of the attempts behind that mean were failures.

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (map from string to any, optional)

### ValidationErrorLocItems

- string
- integer

## Examples

**Request**

```json
{
  "name": "my-evaluation",
  "dataset_name": "my-dataset",
  "experiment_ids": [
    "YOUR_EXPERIMENT_ID"
  ]
}
```

**Response**

```json
{
  "id": "string",
  "name": "string",
  "workspace": "string",
  "experiment_ids": [
    "string"
  ],
  "dataset_name": "string",
  "experiment_group_id": "string",
  "dataset_version": "string",
  "source_link": "string",
  "metadata": {},
  "description": "string",
  "parent_evaluation_id": "string",
  "status": "string",
  "root_cause": "string",
  "created_at": "2024-01-15T09:30:00Z",
  "updated_at": "2024-01-15T09:30:00Z",
  "pinned_at": "2024-01-15T09:30:00Z",
  "evaluator_names": [
    "string"
  ],
  "model_names": [
    "string"
  ],
  "agent_names": [
    "string"
  ],
  "agent_versions": [
    "string"
  ],
  "aggregate_scores": {},
  "run_count": 0,
  "test_case_count": 0,
  "cost_usd": {
    "sum": 1.1,
    "mean": 1.1,
    "median": 1.1,
    "p90": 1.1,
    "p95": 1.1,
    "p99": 1.1,
    "count": 0,
    "failed_count": 0
  },
  "latency_ms": {
    "sum": 1.1,
    "mean": 1.1,
    "median": 1.1,
    "p90": 1.1,
    "p95": 1.1,
    "p99": 1.1,
    "count": 0,
    "failed_count": 0
  },
  "tokens": {
    "sum": 1.1,
    "mean": 1.1,
    "median": 1.1,
    "p90": 1.1,
    "p95": 1.1,
    "p99": 1.1,
    "count": 0,
    "failed_count": 0
  }
}
```

**SDK Code**

```python
import requests

url = "http://localhost:8080/apis/intake/v2/workspaces/workspace/evaluations/name"

payload = {
    "name": "my-evaluation",
    "dataset_name": "my-dataset",
    "experiment_ids": ["YOUR_EXPERIMENT_ID"]
}
headers = {"Content-Type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'http://localhost:8080/apis/intake/v2/workspaces/workspace/evaluations/name';
const options = {
  method: 'PUT',
  headers: {'Content-Type': 'application/json'},
  body: '{"name":"my-evaluation","dataset_name":"my-dataset","experiment_ids":["YOUR_EXPERIMENT_ID"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```