Skip to main content
GET
Download file
Returns a signed URL for a file stored in a workspace. The endpoint returns the URL, not the bytes. Fetch the URL to get the file.

Query parameters

string
required
File ID, as returned by the list or upload endpoints. Omitting it returns 400.

Response

string
Signed download URL, valid for one hour from the moment of the request. It carries the file’s original name as an attachment filename. A browser saves it under that name rather than under the internal storage key.

Example

Response

The URL is pre-signed. It works in a browser or any HTTP client with no authorization header of its own, and it expires one hour after it is issued. Request a new one rather than storing it.

Errors

Every error carries the shape {"error": "<message>"}.

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Query Parameters

id
string
required

File ID, from GET /files. Required; omitting it is a 400.

Response

Download URL

url
string

Signed download URL (expires in 1 hour)