About the Files API
An API to upload and manage the data files on which you wish to run inference jobs or agents.
Upload File
Upload a file via streaming multipart/form-data
Upload Base64 File
Upload a file with base64-encoded contents via streaming multipart/form-data
Delete File
Delete a file from the authenticated organization
Download File
Download the raw bytes of a previously uploaded file
Get Files Info
Retrieve aggregated file statistics for the authenticated organization
Get File Metadata
Retrieve metadata for a specific file
List Files Metadata
List metadata for all files in the authenticated organization
Initiate Upload
Begin a direct-to-cloud upload and receive presigned URLs for the file parts
Generate Upload Part URLs
Request fresh presigned URLs for specific parts of an in-progress upload
Checkpoint Upload Parts
Persist part_tokens for completed parts so they can be skipped on resume
Complete Upload
Finalize a direct-to-cloud upload after all parts have been uploaded
Abort Upload
Abort an in-progress direct-to-cloud upload and clean up its resources
Was this page helpful?