---
title: "Download translated file when async job is complete (PDF or Markdown)"
method: GET
path: "/jobs/{jobId}"
---

# Download translated file when async job is complete (PDF or Markdown)

`GET /jobs/{jobId}`

## Request

- Base URL: `/api/translation` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/translation/jobs/{jobId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/cdc/apis/zia-translation-service/docs/jobs/:jobId/get.ts> (a function with typed inputs; its response is checked against the schema)

The response `Content-Type` and file extension depend on the job's output format: `application/pdf` (`.pdf`) for a PDF job, `text/markdown` (`.md`) for a Markdown job.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

Translated file (PDF or Markdown depending on the job's output format)

## Other responses

- `404`: Unknown job identifier
- `409`: Job is not completed yet (PENDING or PROCESSING)
- `410`: Translated file has expired and was cleaned up
- `422`: Job failed during processing

## Changes

- **2026-07-10** `360dbc21c157`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cdc/apis/zia-translation-service/changes/jobs/:jobId/get.md)

---

[API](https://skmtc.dev/cdc/apis/zia-translation-service.md) - [All operations](https://skmtc.dev/cdc/apis/zia-translation-service/llms.txt) - [OpenAPI document](https://skmtc.dev/cdc/apis/zia-translation-service/revisions/17816f6177b4?raw)
