Skip to main content
POST
Create an evaluator

Authorizations

session
string
cookie
required

The session cookie set when you sign in to AgentHub or ModelHub in a browser. The cookie name shown here is illustrative. There are no API tokens for these endpoints.

Path Parameters

orgId
string<uuid>
required

Organization id.

Body

application/json
name
string
required
Required string length: 1 - 128
prompt_template
string
required

Must contain at least one of the placeholders {{trace}}, {{input}} or {{output}}.

Required string length: 1 - 24000
category
enum<string>
default:custom
Available options:
quality,
agent,
safety,
mcp,
memory,
hallucination,
bias,
privacy,
faithfulness,
relevance,
performance,
custom
description
string
default:""
Maximum string length: 2000
tags
string[]
Maximum array length: 20
Required string length: 1 - 64

Response

Created.

data
object
required