POST
/
v1
/
evaluators
/
score
cURL
curl --request POST \
  --url https://api.lmnr.ai/v1/evaluators/score \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "score": 123,
  "source": "Code",
  "metadata": {},
  "traceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
This response does not have an example.

Description

Create a score for a span using either a trace ID or span ID. When using a trace ID, the score will be attached to the root span of that trace.

Authorizations

Authorization
string
header
required

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

Body

application/json

Create evaluator score with trace ID

Response

200

Evaluator score created successfully