A judge is an LLM judge in the organization's library: instructions, a model and an output type (FLOAT for a 1 to 5 score, BOOLEAN for pass or fail, TEXT for a free-form answer). Scorecards and monitors use judges. SYSTEM judges are built in, shared by every organization and can't be changed; USER judges belong to one organization.
List judges
Returns the organization's judges and the shared SYSTEM judges, SYSTEM judges first and each group newest first, each with the number of scorecards that use it.
List judges › Responses
Successful response
Judges visible to the organization
idUnique judge identifier
orgIdOrganization that owns this judge (null for SYSTEM judges)
createdByIdUser who created this judge
nameJudge display name
descriptionOptional judge description
instructionsEvaluation criteria for the judge: what to assess. The system builds the full prompt, with the trace input and output, when the judge runs.
outputTypeHow the judge outputs its evaluation
modelModel the judge uses for evaluation
typeWhether this is a system-provided or user-created judge
A FLOAT judge's rating-scale captions, keyed by scale point; null shows the bare numbers (always null for BOOLEAN and TEXT)
createdAtCreation timestamp
updatedAtLast update timestamp
scorecardCountNumber of scorecards that use this judge
Create a judge
An LLM judge in the organization's library, for scorecards and monitors.
Headers
Idempotency-KeyA key you choose for this request (a UUID works; at most 255 characters; a blank one is refused 400, code idempotency_key_empty). A retry with the same key and the same body answers the first success again instead of acting twice; kept 24 hours. Send one on every create and run start you might retry.
Create a judge › Request Body
nameJudge display name
instructionsEvaluation criteria -- what the judge should assess
descriptionOptional description
outputTypeOutput format
modelProvider-prefixed LLM model to use; omitted records this deployment's small model
FLOAT only: captions for the rating scale's points; omitted shows the bare numbers
Create a judge › Responses
Success. A retry with the same Idempotency-Key and the same request answers this again, with Idempotent-Replayed: true.
idUnique judge identifier
orgIdOrganization that owns this judge (null for SYSTEM judges)
createdByIdUser who created this judge
nameJudge display name
descriptionOptional judge description
instructionsEvaluation criteria for the judge: what to assess. The system builds the full prompt, with the trace input and output, when the judge runs.
outputTypeHow the judge outputs its evaluation
modelModel the judge uses for evaluation
typeWhether this is a system-provided or user-created judge
A FLOAT judge's rating-scale captions, keyed by scale point; null shows the bare numbers (always null for BOOLEAN and TEXT)
createdAtCreation timestamp
updatedAtLast update timestamp
scorecardCountNumber of scorecards that use this judge
Get a judge
Returns one judge: its instructions, model, output type and the number of scorecards that use it. A SYSTEM judge is readable from every organization; another organization's judge answers 404.
path Parameters
judgeIdJudge identifier
Judge identifier
Get a judge › Responses
Successful response
idUnique judge identifier
orgIdOrganization that owns this judge (null for SYSTEM judges)
createdByIdUser who created this judge
nameJudge display name
descriptionOptional judge description
instructionsEvaluation criteria for the judge: what to assess. The system builds the full prompt, with the trace input and output, when the judge runs.
outputTypeHow the judge outputs its evaluation
modelModel the judge uses for evaluation
typeWhether this is a system-provided or user-created judge
A FLOAT judge's rating-scale captions, keyed by scale point; null shows the bare numbers (always null for BOOLEAN and TEXT)
createdAtCreation timestamp
updatedAtLast update timestamp
scorecardCountNumber of scorecards that use this judge
Edit a judge
Changes only the fields you send.
path Parameters
judgeIdJudge identifier
Judge (from the path)
Edit a judge › Request Body
nameNew name
descriptionNew description
instructionsNew evaluation criteria
outputTypeNew output format
modelNew LLM model
FLOAT only: new rating-scale captions (null clears them; omit to leave unchanged). Changing outputType away from FLOAT clears them
Edit a judge › Responses
Success
idUnique judge identifier
orgIdOrganization that owns this judge (null for SYSTEM judges)
createdByIdUser who created this judge
nameJudge display name
descriptionOptional judge description
instructionsEvaluation criteria for the judge: what to assess. The system builds the full prompt, with the trace input and output, when the judge runs.
outputTypeHow the judge outputs its evaluation
modelModel the judge uses for evaluation
typeWhether this is a system-provided or user-created judge
A FLOAT judge's rating-scale captions, keyed by scale point; null shows the bare numbers (always null for BOOLEAN and TEXT)
createdAtCreation timestamp
updatedAtLast update timestamp
scorecardCountNumber of scorecards that use this judge