Skip to main content
POST
/
api
/
datasets
Create a single file dataset
curl --request POST \
  --url https://api.example.com/api/datasets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'dataset_name=<string>' \
  --form dataset_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \
  --form 'description=<string>' \
  --form 'table_name=<string>' \
  --form overrides=false
{
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Body

multipart/form-data
file
file
required
dataset_name
string | null
dataset_id
string<uuid> | null
description
string | null
table_name
string | null
overrides
boolean
default:false

Response

Successful Response

Unified response: dataset_id always; version/job/status when ingested.

dataset_id
string<uuid>
required
dataset_version_id
string<uuid> | null
job_id
string<uuid> | null
status
string | null