v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-01105276529.8 KB
datasets

Upload dataset from JSON, JSONL, CSV, or PyArrow

post/v1/datasets/upload

Query parameters

syncboolean

If true, fulfill request synchronously and return JSON containing dataset_id.

If true, fulfill request synchronously and return JSON containing dataset_id.

Request body

action'create' | 'append' | 'update'
namestring required
descriptionstring
inputsobject[] required
outputsobject[]
metadataobject[]
span_idsstring[]

Span IDs to link examples back to spans

example_idsstring[]

Optional example ID per example. If provided, it is used as the example's stable public ID.

Response

Successful Response