Skip to main content
POST
/
metrics
/
{metric_id}
/
setup-evaluator
Setup metric evaluator
curl --request POST \
  --url https://api.example.com/metrics/{metric_id}/setup-evaluator \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "evaluator_name": "<string>",
  "evaluator_prompt": "<string>",
  "project_id": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.uselemma.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

metric_id
string
required

Metric ID.

Body

application/json
evaluator_name
string
required
evaluator_prompt
string
required
project_id
string
required