POST
/
v1
/
datasets

Authorizations

x-api-key
string
headerrequired

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

201 - application/json
id
string
created_at
string
updated_at
string
status
enum<string>
Available options:
UPLOADED,
VALIDATED,
ERROR,
DELETED
name
string
description
string
file_name
string
file_size
integer
errors
object