Datasets

Create dataset

Create dataset

post/v1/private/datasets

Request

  • Base URL
    http://localhost:5173/api
  • URL
    http://localhost:5173/api/v1/private/datasets
  • Auth
    none declared

Request body

idstring uuid
namestring required
project_idstring uuid

Project ID. Takes precedence over project_name when both are provided.

project_namestring

For project scope, specify either project_id or project_name. If project_name is provided and the project does not exist, it will be created. Ignored when project_id is provided. If neither is provided, the dataset is created at workspace level.

type'dataset' | 'evaluation_suite'
visibility'private' | 'public'
tagsstring[]
descriptionstring

Response

Created

Changes

No recorded changes to this operation across all 82 revisions of this API.