Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
Create a new evaluator to assess LLM outputs. Configure scoring criteria, models, and thresholds for automated quality assessment of AI responses.
curl --request POST \
--url https://api.orq.ai/v2/evaluators \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "llm_eval",
"prompt": "<string>",
"path": "Default",
"key": "<string>",
"mode": "single",
"model": "<string>",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
},
"output_type": "boolean",
"repetitions": 2,
"categories": [
"<string>"
],
"categorical_labels": [
{
"value": "<string>",
"description": "<string>"
}
],
"description": ""
}
'{
"_id": "<string>",
"description": "<string>",
"type": "llm_eval",
"prompt": "<string>",
"key": "<string>",
"mode": "single",
"model": "<string>",
"created": "2026-04-22T10:10:05.574Z",
"updated": "2026-04-22T10:10:05.574Z",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
},
"repetitions": 2,
"categories": [
"<string>"
],
"categorical_labels": [
{
"value": "<string>",
"description": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
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"
1^[a-zA-Z0-9]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$single Show child attributes
The type of output expected from the evaluator
boolean, categorical, number, string 1 <= x <= 3Show child attributes
Successfully created an evaluator
llm_eval 1^[a-zA-Z0-9]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$single Show child attributes
1 <= x <= 3Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.orq.ai/v2/evaluators \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "llm_eval",
"prompt": "<string>",
"path": "Default",
"key": "<string>",
"mode": "single",
"model": "<string>",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
},
"output_type": "boolean",
"repetitions": 2,
"categories": [
"<string>"
],
"categorical_labels": [
{
"value": "<string>",
"description": "<string>"
}
],
"description": ""
}
'{
"_id": "<string>",
"description": "<string>",
"type": "llm_eval",
"prompt": "<string>",
"key": "<string>",
"mode": "single",
"model": "<string>",
"created": "2026-04-22T10:10:05.574Z",
"updated": "2026-04-22T10:10:05.574Z",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true,
"alert_on_failure": false
},
"repetitions": 2,
"categories": [
"<string>"
],
"categorical_labels": [
{
"value": "<string>",
"description": "<string>"
}
]
}