> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/document-ai/guides/document-generation.md).

# Document Generation

Review and download AI-generated reports.

Document Generation turns structured section data into a finished DOCX report — for example, a credit memo or financial summary built from extraction and classification results.

This page covers the end-user surface: submitting a generation job, tracking its status, and reviewing or downloading the result. Report templates and section authoring are configured separately and are not covered here.

In the UI, Document Generation lives under **Capabilities > Generation** and is also reachable from the Home dashboard's **Start Something** card.

| Capability           | Description                                                                                       | Limit                                                            |
| -------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| Generate a report    | Submit section data to produce a DOCX report                                                      | At least 1 section; section keys must be unique within a request |
| Track job status     | Poll or view a generation job's progress                                                          | No additional limit                                              |
| Download             | Download the finished DOCX                                                                        | 15 MB maximum download size                                      |
| Signed URL retrieval | Get a time-limited link to the generated document                                                 | 1–168 hours, with 24 hours as the default                        |
| List generations     | Browse past generations for the account; search by title, ID, or request ID, and filter by status | 100 results maximum per page, with 20 as the default             |
| Webhook notification | Get notified when a job completes                                                                 | Optional, via `webhookUrl` on the request                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/document-ai/guides/document-generation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
