> For the complete documentation index, see [llms.txt](https://docs.cloud.olakrutrim.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloud.olakrutrim.com/basics/ai-solutions/document-intelligence-service.md).

# Document Intelligence Service

The **Document Intelligence Services** in Krutrim Cloud offer a comprehensive suite of AI-powered tools for **document processing, information extraction, and data privacy**. These services enable businesses and developers to automate the reading, understanding, and transformation of documents at scale.

With capabilities such as **text extraction, entity recognition, key-value pair detection, document summarization, and PII masking**, you can turn unstructured documents into structured, actionable insights while ensuring sensitive information is protected.

### **How It Works**

The **Document Processing API** operates asynchronously for efficiency and scalability:

1. **Submit a Document** – Upload the file via the Document API.
2. **Receive a fileId** – A unique `fileId` is generated to track your request.
3. **Check Processing Status** – Use the Status API to verify if processing is complete.
4. **Retrieve Results** – Once processing finishes, download the processed output from the provided link.

This approach allows you to submit documents without waiting for real-time processing, making it ideal for high-volume workloads.

### **Available Services**

* **Extract Text** – Pull raw text content from documents, scanned files, and images.
* **Extract Information** – Identify and extract structured details, including:
  * **PII** (Personally Identifiable Information)
  * **NER** (Named Entity Recognition)
  * **Key-Value Pairs**
* **Document Summarization** – Generate concise summaries that preserve the key points of the original content.
* **PII Masking** – Mask or obfuscate sensitive personal information to ensure compliance with privacy regulations.

### **Authentication & Rate Limits**

* **API Keys** – Required for all API requests. Create and manage keys under Administration → API keys in the Krutrim Cloud Console. See [**API Keys**](/basics/key-management-system/model-api-keys.md).
* **Rate Limits** – Default limit of **20 requests per minute (RPM)** to ensure fair usage.


---

# 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.cloud.olakrutrim.com/basics/ai-solutions/document-intelligence-service.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.
