---
title: "Replace Eval Rubrics"
method: PUT
path: "/v2/agents/{agentId}/eval-rubrics"
tags: ["Agents"]
---

# Replace Eval Rubrics

`PUT /v2/agents/{agentId}/eval-rubrics`

Replace a build's entire Agent-specific evaluation rubric set in one call (at most 5 rubrics). Existing custom rubrics are removed and the supplied list becomes the new set; pass an empty array to clear them. Defaults to the Agent's live build; pass build_id to target a specific revision.

## Path parameters

- `agentId` string, uuid, required

## Request body

- object
  - `rubrics` object[], required — The complete custom rubric set for the build. Replaces every existing custom rubric; pass an empty array to clear them.
    - `title` string, required — Short, human-readable Pass/Fail rubric title.
    - `description` string, required — A 1-2 sentence Pass condition phrased as a question.
  - `build_id` string, uuid — Replace the custom rubrics on this build (revision). Defaults to the agent's live build when omitted.

## Response `200`

Default Response

- object
  - `rubrics` object[], required
    - `id` string, uuid, required
    - `slug` string, required
    - `title` string, required
    - `description` string, required
    - `sort_order` number, required
    - `deleted_at` string, nullable, required
  - `platform_rubrics` object[], required
    - `key` string, required
    - `label` string, required
    - `description` string, required
    - `cause` string, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/duvo/apis/duvo-public-api.md) · [All operations](https://skmtc.net/duvo/apis/duvo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/duvo/duvo-public-api/revisions/dafcf3d868a9/schema)
