cURL
Datasets API
Create Dataset From JSONL
Upload a ready-made chat dataset (JSONL) and link it to an existing project.
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Project ID that will own the dataset. Must match a project you created.
Human-readable name shown in the dashboard once the dataset is created.
Minimum string length:
1Required JSONL upload. Each line should be a JSON object containing a "messages" array (system/user/assistant) used to seed the dataset.
Response
Dataset created successfully