Skip to main content
POST
Create Custom Eval

Authorizations

X-Lightsage-Api-Key
string
header
required

Body

application/json
prompt
string
required
prompt_template
string

Optional template used to render prompt before storing. Available variables: Company name {{company_name}}; Company domain {{company_domain}}.

category_name
string
description
string
tag
string

Optional display tag for this custom eval.

competitor
string

Competitor ID to render this custom eval against.

prompt_competitor_group
string

Base custom eval ID that this competitor variant belongs to.

eval
PublicEvalDefinitionUpdate · object | null

Response

Successful Response

id
string
required
prompt
string
required
prompt_template
string | null

Template used to render prompt before storing. Available variables: Company name {{company_name}}; Company domain {{company_domain}}.

description
string | null
tag
string | null
competitor
string | null
prompt_competitor
string | null
prompt_competitor_group
string | null
category
Category · object | null
eval
PublicEvalDefinition · object | null
created_at
string | null
updated_at
string | null