Skip to main content
POST
Save a rubric once and run it by rubric_id from then on. Questions are validated with exactly the same rules as a live evaluation, so a rubric that saves is a rubric that runs. They are re-validated on every run too — a rubric is not trusted just because it was valid when stored.

Request

Headers

string
required
Bearer token — your standard 60db API key (sk_…), or a user JWT. There is no separate Judge credential.
string
required
application/json

Body

string
required
Unique per workspace, max 120 characters.
object
required
Map of answer key → question, 1–32 entries. Same shape as Evaluate.
string
What the rubric is for. Max 2,000 characters.
string
default:"jev-latest"
Default model for runs of this rubric. A request may still override it.
boolean
default:"false"
Publish to the whole workspace. Owner or admin only — a member gets 403.

Response

object
The saved rubric, including its new id. Returns 201.

Errors

Example