Skip to main content
PATCH
Update one eval dataset row

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Headers

X-Test-Mode
enum<string>

Sandbox opt-in for Clerk-session-authenticated requests — see Test mode explained for the full credential-header matrix and worked samples. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.

Available options:
true,
false

Path Parameters

agentId
string
required
dsId
string
required
rowId
string
required

Body

application/json
input
string

The row's user-side prompt / input text (1–10,000 chars). Omit to leave the stored input unchanged.

Required string length: 1 - 10000
Example:

"What is your return policy?"

expected_output
string | null

The reference answer the judge scores against (max 10,000 chars). Send null to clear it; omit to leave it unchanged.

Maximum string length: 10000
Example:

"Returns are free within 30 days of delivery."

metadata
object | null

Free-form JSON metadata bag for the row (tags, source references). Send null to clear it; omit to leave it unchanged.

Example:

Response

Successful response.