Upload Dataset File
Upload Dataset File
POST/api/2/auto_eval/dataset/upload_file
Initiate a file upload to a Dataset. Call FinalizeSingleDatasetFileUpload to complete the upload with the presigned URL returned from this call.
Request
- application/json
Body
datasetId stringrequired
The ID of the dataset corresponding to the file.
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
s3PresignedPost
object
required
url stringrequired
fields
object
required
Fields required for the S3 presigned POST request generated by s3 sdk.
property name* string
{
"s3PresignedPost": {
"url": "string",
"fields": {}
}
}
Loading...