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", "traceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "metadata": {} } '
"Invalid project API key."
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Create evaluator score with trace ID
Name of the evaluator score
The score value (float)
Source of the score
Code
Evaluator
The trace ID to score (will be attached to root span)
Additional metadata for the score
Evaluator score created successfully