Skip to content
Last updated

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.

Path Parameters

organization_id string required

The unique identifier of the organization.

file_id string required

The unique identifier of the file (format: file_*).


Returns

A file content object containing the signed download URL and file metadata.

FieldTypeDescription
file_idstringThe file identifier
filenamestringOriginal filename
mime_typestringFile MIME type (e.g., image/png, application/pdf)
file_sizeintegerFile size in bytes
download_urlstringSigned download URL, valid for 1 hour
cURL
curl https://api.aitronos.com/v1/organizations/org_123/files/file_abc123/content \
  -H "X-API-Key: $FREDDY_API_KEY"