Skip to main content
GET
Download file by URI (with redirect)

Authorizations

X-API-Key
string
header
required

API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY

Example:

Authorization
string
header
required

JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN

Example:

Query Parameters

uri
string
required

The gs:// storage URI to download. Pass the exact URI from your task output (URL-encoded for special characters).

redirect
boolean
default:true

If true (default), returns 302 redirect to download URL. If false, returns JSON with the download URL for programmatic use.

Response

JSON response with download URL (when redirect=false)

Response containing a temporary pre-signed download URL.

The download_url can be used directly to download the file without additional authentication. URLs expire after 1 hour.

download_url
string
required

Pre-signed URL for downloading the file. Use this URL directly—no authentication headers required. Valid for 1 hour.

expires_at
string
required

ISO 8601 timestamp when the download URL expires. Request a new URL after this time.

expires_in_seconds
integer
required

Seconds remaining until the download URL expires. Always 3600 (1 hour) for new URLs.