---
title: "POST /v1/evals/{eval_id}/datapoints"
method: POST
path: "/v1/evals/{eval_id}/datapoints"
tags: ["api::evaluations"]
---

# POST /v1/evals/{eval_id}/datapoints

`POST /v1/evals/{eval_id}/datapoints`

## Path parameters

- `eval_id` string, uuid, required

## Request body

- SaveEvalDatapointsRequest
  - `groupName` string — Group name for the evaluation datapoints. Defaults to 'default'.
  - `points` EvaluationDatapointResult[], required — List of evaluation datapoint results to save.
    - `id` string, uuid — Unique datapoint ID. If not specified, a UUID v4 will be generated.
    - `data` unknown, required
    - `index` integer — Index of the datapoint. Defaults to 0.
    - `target` unknown
    - `metadata` object, nullable — Additional metadata for the datapoint. Defaults to empty object.
    - `executorOutput` unknown
    - `traceId` string, uuid — Trace ID associated with the datapoint. If not specified, a UUID v4 will be generated.
    - `scores` object — Scores for the datapoint as key-value pairs

## Response `200`

Evaluation datapoints saved successfully

- string, uuid — The UUID of the evaluation

## Other responses

- `400` — Bad request. Cannot parse the JSON payload into a valid request.
- `401` — Unauthorized. Project API key is invalid.
- `404` — Evaluation not found.

---

[API](https://skmtc.net/lmnr/apis/laminar.md) · [All operations](https://skmtc.net/lmnr/apis/laminar/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lmnr/laminar/versions/b2f51f098ba2/schema)
