---
title: "Poll Upload Zip File"
method: GET
path: "/files/{fileId}"
tags: ["File"]
---

# Poll Upload Zip File

`GET /files/{fileId}`

Monitors the unzipping operation for a previously uploaded archive and retrieves details about the extracted files.

Once the [Upload Zip File](#/operations/UploadZipFile) operation has finished extracting the files, they can be added to the desired project using the [Attach Source Files](#/operations/AddSourceFiles) endpoint.
 Alternatively, they can be used to [Request File Analysis](#/operations/RequestFileAnalysis) details like word counts and estimated costs.

## Headers

- `Authorization` string, required
- `X-LC-Tenant` string, required

## Response `200`

- FileMetadataResponse
  - `id` string, required — The identifier of the uploaded file
  - `fileName` string, required — The name of the uploaded file
  - `unzipStatus` 'queued' | 'extracting' | 'extracted' | 'unzipError' — The status of the unzipping operation. You can use this to determine if your .zip file has been extracted successfully.
  - `associatedFiles` FileExtractedResponse[] — The files that were extracted from the uploaded .zip archive.
    - `id` string, required — The identifier of the extracted file.
    - `fileName` string, required — The name of the extracted file.
    - `filePath` string, required — The file path of the extracted file. This is relative to the archive root.

## Other responses

- `401` — The user could not be identified.
- `403` — Error codes: * "forbidden": The authenticated user is not allowed to read uploaded files.
- `404` — Error codes: * "notFound": the file could not be found by id.

---

[API](https://skmtc.net/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.net/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rws/trados-cloud-platform-api/revisions/d42dac7c28a3/schema)
