Get a signed download URL for a file's content. The URL can be used directly in browser contexts (e.g., <img src="...">) without additional authentication headers.
GEThttps://api.aitronos.com/v1/organizations/{organization_id}/files/{file_id}/content
Returns a short-lived, signed download URL for the file. The URL is valid for 1 hour and includes an embedded authentication token, so it can be used in HTML tags like <img>, <video>, or <a> without needing to pass an Authorization header.
organization_id string required
The unique identifier of the organization.
file_id string required
The unique identifier of the file (format: file_*).
A file content object containing the signed download URL and file metadata.
| Field | Type | Description |
|---|---|---|
file_id | string | The file identifier |
filename | string | Original filename |
mime_type | string | File MIME type (e.g., image/png, application/pdf) |
file_size | integer | File size in bytes |
download_url | string | Signed download URL, valid for 1 hour |
cURL
- Bash
- Python
- Python
- JavaScript
curl https://api.aitronos.com/v1/organizations/org_123/files/file_abc123/content \
-H "X-API-Key: $FREDDY_API_KEY"