Skip to main content
POST
Create custom evaluator

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Custom evaluator configuration

name
string
required

Display name of the evaluator

provider
string
required

LLM provider (e.g., openai, anthropic)

model
string
required

Model to use for evaluation

messages
object[]
required

Prompt messages for the LLM judge

input_schema
object[]
required

Schema defining evaluator inputs

output_schema
object[]
required

Schema defining evaluator outputs

slug
string

URL-safe identifier (auto-generated if not provided)

description
string

Description of what the evaluator does

temperature
number

Temperature setting for the LLM

top_p
number

Top P (nucleus sampling) setting

max_tokens
integer

Maximum tokens in the response

frequency_penalty
number

Frequency penalty to reduce repetition

presence_penalty
number

Presence penalty for topic diversity

stop
string[]

Stop sequences

Response

OK

evaluator_id
string

Unique identifier for the created evaluator

version_id
string

Version identifier

slug
string

URL-safe slug for the evaluator

type
string

Type of the evaluator