Update judge label
Update a judge label (currently supports description). For binary judges, true means the judge applied its label, which the app shows under the judge’s name. false means no label was applied. For classification judges, the value is the label, meaning the chosen option.
PATCH
/v1/projects/{projectId}/behaviors/{behaviorId}Authorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstringrequiredbehaviorIdstring<uuid>requiredLabel ID
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Request body
requiredapplication/jsondescriptionstring | nullReplacement label description. Omit or pass null to clear it.
Responses
200
Response for status 200
behaviorobjectrequiredShow propertiesHide properties
idstringrequiredcreated_atstringrequiredorganization_idstringrequiredproject_idstringrequiredjudge_namestringrequiredvaluestringrequireddescriptionstring | nullrequiredjudge_idstringrequired