Skip to main content
Upload a dataset file as a multipart/form-data request with the name, format, and file. The server accepts files up to the configured MAX_BYTES limit and returns 202 while the dataset is processed.

Endpoint

Authentication

Requires a valid Authorization: Bearer <jwt-or-api-key> header.

Request Body

string
required
Name for the uploaded dataset.
string
required
File format of the dataset, such as jsonl, csv, or parquet.
file
required
Dataset file. Must not exceed the MAX_BYTES limit.

Response

string
Id of the created dataset.
string
The name provided in the request.
string
Processing status, usually processing.