Files API

Download

View as Markdown

Download a file

/v1/files:download

Deprecated: Use DownloadFileContent instead, which streams raw bytes without exposing presigned GCS URLs.

Request Body

Response Body

presigned_url

string

Presigned URL for downloading the file. Empty when content is returned directly (e.g., for transformed text).

expires_in_seconds

string

Duration in seconds until the URL expires. Zero when content is returned directly.

content

string

Direct content for text format downloads. When present, presigned_url will be empty and this contains the file content.


Did you find this page helpful?