> 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/api-reference.md).

# API Reference

- [Overview](https://docs.uptiq.ai/document-ai/api-reference/api-reference.md): Drive document extraction, classification and generation from your own systems.
- [Doc AI Classification](https://docs.uptiq.ai/document-ai/api-reference/classification.md): Identify what a document is before deciding what to do with it.
- [Classify asynchronously](https://docs.uptiq.ai/document-ai/api-reference/classification/classify-asynchronously.md): Submit one document and retrieve the result later.
- [Classify in bulk](https://docs.uptiq.ai/document-ai/api-reference/classification/classify-in-bulk.md): Submit several documents for classification in one request.
- [Classify synchronously](https://docs.uptiq.ai/document-ai/api-reference/classification/classify-synchronously.md): Submit one document and receive its classification in the response.
- [Retrieve classification results](https://docs.uptiq.ai/document-ai/api-reference/classification/retrieve-classification-results.md): Retrieve a completed asynchronous classification.
- [Doc AI Extraction](https://docs.uptiq.ai/document-ai/api-reference/doc-ai-extraction.md): Choose an extraction workflow and understand shared request rules.
- [Extract asynchronously](https://docs.uptiq.ai/document-ai/api-reference/doc-ai-extraction/extract-asynchronously.md): Submit one document and retrieve the result later.
- [Extract in bulk](https://docs.uptiq.ai/document-ai/api-reference/doc-ai-extraction/extract-in-bulk.md): Submit several documents under one extraction group.
- [Extract synchronously](https://docs.uptiq.ai/document-ai/api-reference/doc-ai-extraction/extract-synchronously.md): Submit one document and receive its result in the response.
- [Retrieve extraction results](https://docs.uptiq.ai/document-ai/api-reference/doc-ai-extraction/retrieve-extraction-results.md): Retrieve one extraction or every extraction in a group.
- [Doc AI Generation](https://docs.uptiq.ai/document-ai/api-reference/generation.md): Produce a finished document from structured input.
- [Generate asynchronously](https://docs.uptiq.ai/document-ai/api-reference/generation/generate-asynchronously.md): Submit a generation request and collect its result later.
- [Generate synchronously](https://docs.uptiq.ai/document-ai/api-reference/generation/generate-synchronously.md): Submit a generation request and receive the document in the response.
- [Retrieve generation results](https://docs.uptiq.ai/document-ai/api-reference/generation/retrieve-generation-results.md): Retrieve a completed asynchronous generation.
- [Doc AI Utility](https://docs.uptiq.ai/document-ai/api-reference/utility.md): Discover what the platform can accept before you send it anything.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.uptiq.ai/document-ai/api-reference.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
