POST
/
v1
/
evals
/
{eval_id}
/
datapoints
cURL
curl --request POST \
  --url https://api.lmnr.ai/v1/evals/{eval_id}/datapoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "groupName": "<string>",
  "points": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "data": "<any>",
      "index": 0,
      "target": "<any>",
      "metadata": {},
      "executorOutput": "<any>",
      "traceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "scores": {}
    }
  ]
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"

Description

Save multiple evaluation datapoints to an existing evaluation. Each datapoint can include input, output, expected output, executor output, scores, and metadata.
The actual datapoints are not saved until you call the Update Evaluation Datapoint endpoint.

Authorizations

Authorization
string
header
required

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

Path Parameters

eval_id
string<uuid>
required

The UUID of the evaluation

Body

application/json

Response

200
application/json

Evaluation datapoints saved successfully

The UUID of the evaluation