API reference
Files
8 operations. Each page has the request, the response, the errors and examples in curl, TypeScript, Python and the CLI.
- GETList files in the project
/v1/files - POSTUpload a file (multipart form: file, purpose); validated asynchronously
/v1/files - GETThe upload size cap, the purposes and the validation limits
/v1/files/limits - GETGet a file, with its validation state and report
/v1/files/{file_id} - DELETEDelete a file
/v1/files/{file_id} - GETDownload a file's content
/v1/files/{file_id}/content - POSTA short-lived link to download a file's content without credentials
/v1/files/{file_id}/download-link - GETDownload through a signed link (no credentials: the token is the credential)
/v1/downloads