## Retrieve `client.file.retrieve(stringid, RequestOptionsoptions?): FileRetrieveResponse` **get** `/v1/files/{id}` Retrieves a single file by its ID. **[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 retrieve. ### Returns - `FileRetrieveResponse` - `id: string` Unique identifier for the file. - `completedAt: string | null` When the file upload was completed. - `createdAt: string` When the file upload session was created. - `expiresAt: string | null` When the upload session expires. Null once completed, cancelled, or expired. - `filename: string` Original filename. - `mimeType: string` MIME type of the file. - `sizeBytes: number` File size in bytes. - `status: "PENDING" | "COMPLETED" | "CANCELLED" | "EXPIRED"` Current upload status of the file. - `"PENDING"` - `"COMPLETED"` - `"CANCELLED"` - `"EXPIRED"` ### Example ```typescript import Lightfield from 'lightfield'; const client = new Lightfield({ apiKey: 'My API Key', }); const fileRetrieveResponse = await client.file.retrieve('id'); console.log(fileRetrieveResponse.id); ```