Skip to main content

Finalize Single Dataset File Upload

Finalize Single Dataset File Upload

POST 

/api/2/auto_eval/dataset/finalize_single_file_upload

Finalize a Dataset file upload. This call should be made after the file has been uploaded to the S3 URL returned from UploadDatasetFile.

Request

Body

    datasetId stringrequired

    The ID of the dataset corresponding to the file

    s3PresignedPost

    object

    required

    The pre-signed S3 URL where the file was uploadeded

    url stringrequired

    fields

    object

    required

    Fields required for the S3 presigned POST request generated by s3 sdk.

    property name* string

Responses

Successful operation

Schema

    datasetFile

    object

    Information about the dataset file if the upload was successful

    id stringrequired

    The ID of the dataset file.

    createdAt date-timerequired
    updatedAt date-timerequired
    datasetId stringrequired

    The ID of the corresponding dataset.

    contentMd5Hash stringrequired
    fileSizeBytes integerrequired
    numRows integerrequired
    numCols integerrequired

    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
  • ]

Loading...