---
title: "Update Eval"
method: PATCH
path: "/api/platform/v1/evals/{slug}"
tags: ["observability"]
---

# Update Eval

`PATCH /api/platform/v1/evals/{slug}`

## Request

- Base URL: `https://docs.amdahl.ai`
- URL: `https://docs.amdahl.ai/api/platform/v1/evals/{slug}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Revise one of your workspace's authored evals in place. Use when tuning a custom grader's rubric, thresholds, input fields, or cases. Pass the slug plus the fields to change; the merged definition is re-validated before it is stored, returning the slug + version or a structured validation error. Built-in evals cannot be edited.

## Path parameters

- `slug` string, required: The authored eval to revise.

## Request body

- object
  - `name` string
  - `description` string
  - `version` string
  - `input_schema` object
  - `cases` object[]
  - `reliability` object: Required for any grader that reports a MAGNITUDE (judge / evidence_judge / improvement_loop): the measured flip rate and the floor a reported lift must clear. Validation refuses without it, so declare it rather than discovering the refusal.

## Response `200`

OK

- object
  - `data` object, required
    - `success` boolean, required

## Other responses

- `400`: Invalid input - failed schema validation
- `401`: Authentication required
- `403`: Forbidden - missing scope or role
- `404`: Not found
- `500`: Internal server error

---

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