Manage dataset files

Use the REST API to manage dataset files.

Upload dataset files

post

Upload a file to a dataset for processing.

Path parameters
datasetIdstringRequired
Body
filestring · binaryOptional

File to upload

Responses
chevron-right
200

OK

application/json
post
/api/Dataset/{datasetId}/files/upload
200

OK

Download a dataset file

get

Downloads the specified file from the dataset. The downloaded file is redacted based on the dataset configuration.

Path parameters
datasetIdstringRequired
fileIdstringRequired
Query parameters
jsonDownloadAsstringOptional
Responses
chevron-right
200

OK

application/octet-stream
Responsestring · binary
get
/api/Dataset/{datasetId}/files/{fileId}/download

Download all dataset files

get

Downloads all files from the specified dataset. The downloaded files are redacted based on the dataset configuration.

Path parameters
datasetIdstringRequired
Query parameters
jsonDownloadAsstringOptional
Responses
chevron-right
200

OK

application/json
Responsestring · binary
get
/api/Dataset/{datasetId}/files/download_all

Last updated

Was this helpful?