---
title: "Process Documents"
method: POST
path: "/api/agents/process-documents"
tags: ["agent-documents"]
---

# Process Documents

`POST /api/agents/process-documents`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/agents/process-documents`
- Auth: HTTP bearer

Extract text from uploaded documents and analyze with AI.

## Request body

- ProcessDocumentsRequest
  - `document_keys` string[], required
  - `description` string

## Response `200`

Successful Response

- ProcessDocumentsResponse
  - `doc_context` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
