---
title: "Create dataset items from CSV file"
method: POST
path: "/v1/private/datasets/items/from-csv"
tags: ["Datasets"]
---

# Create dataset items from CSV file

`POST /v1/private/datasets/items/from-csv`

Create dataset items from uploaded CSV file. CSV should have headers in the first row. Processing happens asynchronously in batches.

## Response `202`

Accepted - CSV processing started

## Other responses

- `400` — Bad Request

## Changes

- **2026-05-14** `48cbbc781d07` — 1 info
  - removed the non-success response with the status `404`
- **2026-05-04** `d606e84c75e4` — 1 info
  - added the non-success response with the status `404`

[Change history](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/datasets/items/from-csv/post.md)

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/revisions/0739fa5022ca/schema)
