Skip to main content
POST
/
v2
/
agents
/
{agentId}
/
eval-rubrics
Create Eval Rubric
curl --request POST \
  --url https://api.duvo.ai/v2/agents/{agentId}/eval-rubrics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "build_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "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)

Body

application/json
title
string
required

Short, human-readable Pass/Fail rubric title.

Required string length: 3 - 80
description
string
required

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

Required string length: 20 - 400
build_id
string<uuid>

Add the rubric to this build (revision). Defaults to the agent's live build when omitted.

Response

Default Response

rubric
object
required