Skip to main content
PATCH
Update Custom Eval

Authorizations

X-Lightsage-Api-Key
string
header
required

Path Parameters

custom_eval_id
string
required

Body

application/json
prompt
string
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
prompt_competitor_group
string
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