Finalize Single Dataset File Upload
POST/api/2/auto_eval/dataset/finalize_single_file_upload
Finalize the file upload for a Dataset.
Request
- application/json
Body
Array [
]
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.
key stringrequired
value stringrequired
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
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
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
{
"datasetFile": {
"id": {
"value": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"datasetId": {
"value": "string"
},
"contentMd5Hash": "string",
"fileSizeBytes": 0,
"numRows": 0,
"numCols": 0,
"columns": [
{
"id": {
"value": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"index": 0,
"literalName": "string",
"dtype": "string"
}
]
}
}
Loading...