---
title: "create_parse_content_download"
method: POST
path: "/v1/jobs/{job_id}/content-download"
tags: ["operations"]
---

# create_parse_content_download

`POST /v1/jobs/{job_id}/content-download`

## Request

- Base URL: `https://ndi-api.nace.ai`
- URL: `https://ndi-api.nace.ai/v1/jobs/{job_id}/content-download`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/nace/apis/ndi-platform-api/docs/v1/jobs/:job_id/content-download/post.ts> (a function with typed inputs; its response is checked against the schema)

Start or poll Markdown generation; return a download grant when ready.

## Path parameters

- `job_id` string, uuid, required: Job identifier.

## Query parameters

- `sheet_name` string, nullable: Sheet name; omit for document content.
- `retry` boolean: Restart a failed Markdown export.

## Response `200`

Successful Response

- ContentDownload: Short-lived URL for a native browser download without API-key headers.
  - `error` string, nullable: Safe export failure explanation, when failed.
  - `expires_at` integer, nullable: Expiry of the ready download grant, as Unix epoch seconds.
  - `retry_after_seconds` integer, nullable: Suggested delay before polling a pending export.
  - `status` 'pending' | 'ready' | 'failed': Export state; pending requests should be polled again.
  - `url` string, nullable: Signed download URL when ready. Treat it as a temporary credential.

## Other responses

- `202`: Accepted
- `504`: Gateway Timeout
- `default`: Typed error envelope used by every 4xx and 5xx. ``error.code`` distinguishes the failure; HTTP status is a consequence of the code.

---

[API](https://skmtc.dev/nace/apis/ndi-platform-api.md) - [All operations](https://skmtc.dev/nace/apis/ndi-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nace/apis/ndi-platform-api/revisions/54dad7e0ff00?raw)
