Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Create dataset items from CSV file

POST/v1/private/datasets/items/from-csvCreate dataset items from CSV file

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

Request body

multipart/form-data
object
dataset_idstring · uuidrequired
fileobjectrequired
Example request
{
  "dataset_id": "00000000-0000-0000-0000-000000000000",
  "file": {}
}

Responses

202Accepted - CSV processing started
400Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu