> For the complete documentation index, see [llms.txt](https://docs.mindee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindee.com/integrations/api-reference.md). Agents can also search and read this documentation through its [MCP server](https://docs.mindee.com/~gitbook/mcp).

# API Reference

API reference including a test client and cURL samples.

In this section you can find the complete documentation of all routes, including cURL samples and a built-in testing tool.

{% hint style="success" %}
**Recommended integrations:**

* [Client Libraries / SDKs](https://docs.mindee.com/integrations/client-libraries-sdk.md)
* [No-Code Integration](https://docs.mindee.com/extraction-models/no-code-integration.md)

Also take a look at the [Integration Overview](https://docs.mindee.com/integrations/api-overview.md) if you are setting up your integration for the first time.
{% endhint %}

The Mindee HTTP API is RESTful, and returns data in a JSON format.

{% hint style="info" %}
If you would like to download the OpenAPI specification directly, it is available here:\
<https://api-v2.mindee.net/openapi.json>
{% endhint %}

## Client Example

Here is a working example of the built-in test client for an Extraction Model. Other models are similar.

<figure><img src="https://4029869281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu5bStlX8nv4b9z4GXB2S%2Fuploads%2Fgit-blob-90f1411ee7d0fda8bda7e98593bf94e7a8371dd6%2Fapi-example_post-inference.png?alt=media" alt=""><figcaption></figcaption></figure>

## Structure

The documentation is organized following the API routes:

* [Products](https://docs.mindee.com/integrations/api-reference/products.md)
  * [Extraction](https://docs.mindee.com/integrations/api-reference/products/extraction-models.md)
    * [RAG Documents](https://docs.mindee.com/integrations/api-reference/products/extraction-models/rag-documents.md)
  * [Split](https://docs.mindee.com/integrations/api-reference/products/split-models.md)
  * [Crop](https://docs.mindee.com/integrations/api-reference/products/crop-models.md)
  * [Classification](https://docs.mindee.com/integrations/api-reference/products/classification-models.md)
  * [Raw Text (OCR)](https://docs.mindee.com/integrations/api-reference/products/ocr-models.md)
* [Search](https://docs.mindee.com/integrations/api-reference/search.md)


---

# 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.mindee.com/integrations/api-reference.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.
