## Get a file download URL `file.url(strid) -> FileURLResponse` **get** `/v1/files/{id}/url` Returns a temporary download URL for the file. Only available for files in `COMPLETED` status. **[Required scope](/using-the-api/scopes/):** `files:read` **[Rate limit category](/using-the-api/rate-limits/):** Read ### Parameters - `id: str` Unique identifier of the file to download. ### Returns - `class FileURLResponse: …` - `expires_at: str` When the download URL expires. - `url: str` Temporary download URL for the file. ### Example ```python from lightfield import Lightfield client = Lightfield( api_key="My API Key", ) file_url_response = client.file.url( "id", ) print(file_url_response.expires_at) ``` #### Response ```json { "expiresAt": "expiresAt", "url": "url" } ```