Download and access the actual content of uploaded files
| Parameter | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | The ID of the file to download |
Content-Type header will match the original file’s MIME type.
| Header | Description |
|---|---|
Content-Type | MIME type of the file |
Content-Length | Size of the file in bytes |
Content-Disposition | Suggests filename for download |
| Status Code | Error Type | Description |
|---|---|---|
404 | file_not_found | File with the specified ID does not exist |
401 | authentication_error | Invalid or missing API key |
403 | permission_denied | File belongs to a different organization |
410 | file_deleted | File has been deleted or expired |