Reference documentation for Uploading and Downloading Files.
Upload a file to a dataset. reqheader Authorization
Your Sutro API key. reqjson str dataset_id
The ID of the dataset to upload the file to. reqjson str file
The file to upload. returns
A JSON object containing the file ID.
Download a file from a dataset. reqheader Authorization
Your Sutro API key. reqjson str dataset_id
The ID of the dataset to download the file from. reqjson str file_name
The name of the file to download. returns
If successful, the file, as bytes. Otherwise, a JSON object containing an error message.