## URL `client.file.url(stringid, RequestOptionsoptions?): 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: string` Unique identifier of the file to download. ### Returns - `FileURLResponse` - `expiresAt: string` When the download URL expires. - `url: string` Temporary download URL for the file. ### Example ```typescript import Lightfield from 'lightfield'; const client = new Lightfield({ apiKey: 'My API Key', }); const fileURLResponse = await client.file.url('id'); console.log(fileURLResponse.expiresAt); ```