---
title: "AI37-5 Patent Specification Drafting (CNIPA) - Report Download"
method: POST
path: "/ai/specification/download-report"
tags: ["Specification Drafting"]
---

# AI37-5 Patent Specification Drafting (CNIPA) - Report Download

`POST /ai/specification/download-report`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/ai/specification/download-report`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/ai/specification/download-report/post.ts> (a function with typed inputs; its response is checked against the schema)

Based on the task_id returned by the generate specification report interface, query the report generation status and obtain the download link. After the report generation is completed, the complete patent specification document can be obtained through the returned download link.

## Request body

- AI375SpecificationDownloadReportRequest
  - `task_id` string, required: Task id

## Response `200`

Successful ai37-5 patent specification drafting (cnipa) - report download response.

- AI375SpecificationDownloadReportResponse
  - `data` AI375SpecificationDownloadReportNoveltySearchDownloadResponse
    - `status` integer: Export Status (1: Exporting, 2: Export successful, 3: Report generation exception)
    - `task_id` string: task_id of the technical survey report
    - `report_url` string: Report file download link (returned when export status is successful)
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `201`: Created.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
