---
title: "Download async job result"
method: GET
path: "/api/documents/jobs/{jobId}/download"
tags: ["Documents"]
---

# Download async job result

`GET /api/documents/jobs/{jobId}/download`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/documents/jobs/{jobId}/download`
- Auth: API key in header `X-API-Key`

Downloads the generated document for a completed async job.

## Path parameters

- `jobId` string, required

## Response `200`

Generated document

## Other responses

- `404`: Job not found
- `409`: Job not yet completed

---

[API](https://skmtc.dev/dokmatiq/apis/docgen-api.md) · [All operations](https://skmtc.dev/dokmatiq/apis/docgen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dokmatiq/apis/docgen-api/revisions/3fa1a922764d?raw)
