Manage dataset files
Use the Tonic Textual REST API to manage dataset files.
Upload a file to a dataset for processing.
The unique identifier of the dataset
File to upload
Returns uploaded file details
Response model returned after uploading a file to a dataset.
The identifier of the newly uploaded file.
Invalid input, unsupported file type, or upload failed
Duplicate file already uploaded
Downloads the specified file from the dataset. The downloaded file is redacted based on the dataset configuration.
The unique identifier of the dataset
The unique identifier of the file
Format for JSON file downloads
Returns the redacted file stream
Invalid request parameters or unsupported file type for the requested operation
Dataset or file not found
File is still processing
An unexpected error occurred during redaction processing
Downloads all files from the specified dataset. The downloaded files are redacted based on the dataset configuration.
The unique identifier of the dataset
Format for JSON file downloads
Returns ZIP archive of all redacted files
Invalid request parameters or download option
Dataset not found
An unexpected error occurred during processing
Last updated
Was this helpful?