Skip to main content
PATCH
/
v2
/
agents
/
{agentId}
/
eval-rubrics
/
{rubricId}
Update Eval Rubric
curl --request PATCH \
  --url https://api.duvo.ai/v2/agents/{agentId}/eval-rubrics/{rubricId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>"
}
'
{
  "rubric": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "slug": "<string>",
    "title": "<string>",
    "description": "<string>",
    "sort_order": 123,
    "deleted_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Duvo dashboard.

Path Parameters

agentId
string<uuid>
required

The agent's unique identifier (Assignment ID)

rubricId
string<uuid>
required

The custom rubric's unique identifier

Body

application/json
title
string

Short, human-readable Pass/Fail rubric title.

Required string length: 3 - 80
description
string

A 1-2 sentence Pass condition phrased as a question.

Required string length: 20 - 400

Response

Default Response

rubric
object
required