Skip to navigation

Update Agent Grader

View as Markdown

Change the description, judge, escalation or release check. A judge or escalation change saves a provisional version that goes live only once it clears the promotion rule; the other settings change no verdict.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

grader_idstringRequired
project_idstringRequired
agent_idstringRequired

Request

This endpoint expects an object.
descriptionstring or nullOptional<=2000 characters
escalateboolean or nullOptional
judgeobject or nullOptional
reasonstring or nullOptional<=2000 characters

Why a check that blocks a release is turned off or loosened; required then, and recorded.

releaseCheckobject or nullOptional

Response

Successful Response
barobject
criterialist of objects
criteriaVersioninteger or null
currentobject or null
The live version, else the newest.
descriptionstring
escalateboolean

Uncertain conversations go to the LLM judge (decision model only).

failureIdstring or null
fileobject or null

The agent-folder file that defines this Grader, if any.

idstring
judgeobject
labelsobject
latestobject or null
namestring
originstring
pauseobject or null
refittingboolean
releaseCheckobject
staleSincestring or null
statusenum
Allowed values:
versionslist of objects
Newest first.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error