---
title: "getZipJob"
method: GET
path: "/v1/files:zipJob/{job_id}"
tags: ["File"]
---

# getZipJob

`GET /v1/files:zipJob/{job_id}`

Get the status of a ZIP job

## Path parameters

- `job_id` string, uuid, required

## Response `200`

ZIP job status

- ZipJob — ZIP job status and result
  - `job_id` string, uuid — Unique identifier for the ZIP job
  - `status` 'queued' | 'downloading' | 'zipping' | 'uploading' | 'sending_notification' | 'completed' | 'failed' — Current status of the ZIP job
  - `progress` object — Progress information for the job
    - `total_files` integer — Total number of files to process
    - `downloaded_files` integer — Number of files successfully downloaded
    - `failed_files` integer — Number of files that failed to download
  - `result` object — Result of the completed ZIP job
    - `file_entity_id` string, uuid — File entity ID of the generated ZIP
    - `download_url` string, uri — Presigned download URL (expires in 24 hours)
    - `expires_at` string, date-time — When the download URL expires
    - `zip_size_bytes` integer — Size of the generated ZIP file in bytes
  - `error` string — Error message if job failed
  - `created_at` string, date-time — When the job was created
  - `created_by` string — User ID who created the job
  - `org_id` string — Organization ID
  - `updated_at` string, date-time — When the job was last updated

## Other responses

- `401` — Authentication required or invalid credentials
- `404` — The requested resource was not found
- `500` — An unexpected error occurred on the server

---

[API](https://skmtc.net/epilot/apis/file-api.md) · [All operations](https://skmtc.net/epilot/apis/file-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/file-api/revisions/4d61b97f1e97/schema)
