Create Evaluator
POST/api/evaluators/
Creates a new evaluator for your organization. Evaluators can be of three types: LLM-based, human-based, or code-based.
Authentication
Requires API key authentication. Include your API key in the request headers:Request Body
Required Fields
Field | Type | Description |
---|---|---|
name | string | Display name for the evaluator |
evaluator_slug | string | Unique identifier (lowercase, underscores allowed) |
type | string | Evaluator type: "llm" , "human" , or "code" |
score_value_type | string | Score type: "numerical" , "boolean" , "categorical" , or "comment" |
description | string | Description of what the evaluator does |
Optional Fields
Field | Type | Description |
---|---|---|
eval_class | string | Pre-built template class (optional) |
configurations | object | Type-specific configuration settings |
categorical_choices | array | Choices for categorical evaluators |
custom_required_fields | array | Additional required fields |
tags | array | Tags for organization |