Skip to main content
Use this endpoint to upload your own dataset file. Submit a multipart/form-data request with the dataset name, format, and the file. The server accepts files up to a configured MAX_BYTES limit and returns a 202 response while the dataset is being 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
The dataset file to upload. Must not exceed the MAX_BYTES limit.

Response

string
Unique identifier of the created dataset.
string
The name provided in the request.
string
Processing status, typically processing.