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",
"model": "<string>",
"key": "<string>",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true
},
"output_type": "boolean",
"description": ""
}
'{
"_id": "<string>",
"description": "<string>",
"type": "llm_eval",
"prompt": "<string>",
"key": "<string>",
"model": "<string>",
"created": "2025-12-08T10:34:27.560Z",
"updated": "2025-12-08T10:34:27.560Z",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true
}
}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",
"model": "<string>",
"key": "<string>",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true
},
"output_type": "boolean",
"description": ""
}
'{
"_id": "<string>",
"description": "<string>",
"type": "llm_eval",
"prompt": "<string>",
"key": "<string>",
"model": "<string>",
"created": "2025-12-08T10:34:27.560Z",
"updated": "2025-12-08T10:34:27.560Z",
"guardrail_config": {
"enabled": true,
"type": "boolean",
"value": true
}
}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"
1The type of output expected from the evaluator
boolean, categorical, number, string Successfully created an evaluator
llm_eval 1Was this page helpful?