curl --request PATCH \
--url https://api.orq.ai/v2/evaluators/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "llm_eval",
"path": "Default",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
},
"output_type": "boolean",
"prompt": "<string>",
"description": "<string>",
"model": "<string>",
"key": "<string>"
}
'{
"_id": "<string>",
"description": "<string>",
"type": "llm_eval",
"prompt": "<string>",
"key": "<string>",
"model": "<string>",
"created": "2025-12-23T20:49:13.334Z",
"updated": "2025-12-23T20:49:13.334Z",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
}
}curl --request PATCH \
--url https://api.orq.ai/v2/evaluators/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "llm_eval",
"path": "Default",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
},
"output_type": "boolean",
"prompt": "<string>",
"description": "<string>",
"model": "<string>",
"key": "<string>"
}
'{
"_id": "<string>",
"description": "<string>",
"type": "llm_eval",
"prompt": "<string>",
"key": "<string>",
"model": "<string>",
"created": "2025-12-23T20:49:13.334Z",
"updated": "2025-12-23T20:49:13.334Z",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
llm_eval Entity storage path in the format: project/folder/subfolder/...
The first element identifies the project, followed by nested folders (auto-created as needed).
With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
"Default"
Show child attributes
The type of output expected from the evaluator
boolean, categorical, number, string 1Successfully updated an eval
llm_eval 1Show child attributes
Was this page helpful?