Skip to main content

Finalize Single Dataset File Upload

POST 

/api/2/auto_eval/dataset/finalize_single_file_upload

Finalize the file upload for a Dataset.

Request

Body

    datasetId

    object

    required

    value stringrequired

    s3PresignedPost

    object

    required

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

    url stringrequired

    fields

    object[]

    required

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

  • Array [

  • key stringrequired
    value stringrequired
  • ]

Responses

Successful operation

Schema

    datasetFile

    object

    id

    object

    required

    value stringrequired
    createdAt date-timerequired
    updatedAt date-timerequired

    datasetId

    object

    required

    value stringrequired
    contentMd5Hash stringrequired
    fileSizeBytes integerrequired

    Possible values: >= -9223372036854776000 and <= 9223372036854776000

    numRows integerrequired

    Possible values: >= -9223372036854776000 and <= 9223372036854776000

    numCols integerrequired

    Possible values: >= -9223372036854776000 and <= 9223372036854776000

    columns

    object[]

    required

  • Array [

  • id

    object

    required

    value stringrequired
    createdAt date-timerequired
    updatedAt date-timerequired
    index integerrequired

    Index of the column within the dataset file.

    Possible values: >= -9223372036854776000 and <= 9223372036854776000

    literalName stringrequired

    The literal name for the column.

    dtype string
  • ]

Loading...