Skip to main content
POST
Upload a new dataset file

Authorizations

x-api-key
string
header
required

Body

multipart/form-data
file
file

JSONL file in OpenAI format

name
string

User-assigned name for the dataset

description
string

User-provided description of the dataset

Response

Successfully uploaded dataset

id
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>
status
enum<string>
Available options:
UPLOADED,
VALIDATED,
ERROR,
DELETED
name
string
description
string
file_name
string
file_size
integer
errors
object