Skip to main content

Upload Jsonl

POST 

/v2/projects/:projectid/datasets/

Creates a new dataset.

Parameters:

  • projectid (str): The ID of the project to upload the dataset to.
  • data (UploadFile): The JSON file containing the dataset.
  • manifest (UploadFile): The manifest file containing metadata about the dataset.

Returns:

  • DatasetInfo: Information about the uploaded dataset.

Raises:

  • HTTPException(404): If the project is not found.
  • HTTPException(422): If there is an error parsing the dataset or manifest.

Request

Path Parameters

    projectid Projectidrequired

Body

required

    data binaryrequired
    manifest binaryrequired

Responses

Successful Response

Schema

    id Id (string)required
    name Name (string)required
    size Size (integer)required
    manifest objectrequired

    status

    object

    anyOf

    string

    Possible values: [PENDING, RUNNING, COMPLETED, FAILED]

Loading...