Skip to main content
GET
Download File Content
Download the actual content of an uploaded file.
string
required
The ID of the file to download (e.g., file-abc123).

Returns

Returns the raw file content with appropriate headers:
  • Content-Type: The MIME type of the file (e.g., text/jsonl)
  • Content-Disposition: Attachment header with the original filename
  • Content-Length: Size of the content in bytes

Return Examples

Response 200
Error 404 - File Not Found
Error 410 - File Expired
Error 500 - Content Unavailable