> 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/extraction-models/optional-features/raw-text-full-ocr.md).

# Raw Text (Full OCR)

## Overview

By activating this feature, the full text content of the document will be extracted using OCR (Optical Character Recognition) technology.

The resulting content will be included in the API response.

In the response, each page will have its text content filled.

## Use Cases

Having access to the raw text can be particularly useful when:

* needing to save a copy of the text for your records
* perform searches within the text

## Activate Raw Text

### Activate Raw Text via API Calls

If you need finer-grained control over when the feature is used, you can activate or deactivate it when making API calls.

This allows dynamically setting the activation state using your internal business or domain logic.

Check the [Client Configuration](/integrations/client-libraries-sdk/configure-the-client.md#optional-features-configuration) section if using our [Client Libraries / SDKs](/integrations/client-libraries-sdk.md).

## Use the Raw Text Result

We highly recommend using our [Client Libraries / SDKs](/integrations/client-libraries-sdk.md), as they include various functions for ease of processing.

Specifically for handling the raw text, take a look at the [Response Processing](/integrations/client-libraries-sdk/process-the-response.md#raw-text) section.

Otherwise, take a look at the [Manual Integration](/integrations/api-reference.md#get-v2-inferences-inference_id) section.


---

# 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.mindee.com/extraction-models/optional-features/raw-text-full-ocr.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.
