datasets

Upload dataset from JSON, JSONL, CSV, or PyArrow

Changed on
post/v1/datasets/upload

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

syncboolean

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

Changes

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new update enum value to the request property (media type: application/json)

    • info

      added the new update enum value to the request property (media type: multipart/form-data)

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • breaking

      removed the enum value update of the request property (media type: application/json)

    • breaking

      removed the enum value update of the request property (media type: multipart/form-data)

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • warning

      removed the request property (media type: multipart/form-data)

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: multipart/form-data)