Skip to content

Get a file download URL

$ lightfield file url
GET/v1/files/{id}/url

Returns a temporary download URL for the file. Only available for files in COMPLETED status.

Required scope: files:read

Rate limit category: Read

ParametersExpand Collapse
--id: string

Unique identifier of the file to download.

ReturnsExpand Collapse
file_url_response: object { expiresAt, url }
expiresAt: string

When the download URL expires.

url: string

Temporary download URL for the file.

Get a file download URL

lightfield file url \
  --api-key 'My API Key' \
  --id id
{
  "expiresAt": "expiresAt",
  "url": "url"
}
Returns Examples
{
  "expiresAt": "expiresAt",
  "url": "url"
}