Skip to main content

Clone Dataset

Clone Dataset

POST 

/api/2/auto_eval/dataset/clone

Clone a dataset into a new dataset containing the latest file contents

Request

Body

    datasetId stringrequired

    Dataset to clone

    name string

    New dataset name. If not provided, will use the name of the dataset being cloned

    description string

    Human-readable description of the dataset. If not provided, will use the name of the dataset being cloned

    projectId string

    The project to add the new dataset to

Responses

Successful operation

Schema

    dataset

    object

    required

    A Dataset in the most basic sense: metadata and ownership, but nothing tied to its data.

    id stringrequired

    The ID of the dataset.

    createdAt date-timerequired
    updatedAt date-timerequired
    name string

    Human-readable name for the dataset, if one exists.

    description string

    Human-readable description of the dataset, if one exists.

    ownerUserId stringrequired

    The ID of the user who owns the dataset.

    numRows integerrequired
    numCols integerrequired
    initializationStatus stringrequired
    initializationError string

    columns

    object[]

    required

  • Array [

  • id stringrequired

    The ID of the dataset file.

    createdAt date-timerequired
    updatedAt date-timerequired
    index integerrequired

    Index of the column within the dataset file.

    literalName stringrequired

    The literal name for the column.

    dtype string
  • ]

  • labelState

    object

    The state of the latest labeling job for the dataset

    labelingStatus stringrequired

    The status of the latest general pseudo-labeling job for the dataset

    promptTemplate stringrequired

    aka user general instructions

    error string

    if the labeling status is error, this field may contain an error message

Loading...