Kita

SDKs & tools

Optional Python, Postman, and coding-agent setup.

Python

pip install kita
export KITA_API_KEY="kita_prod_REPLACE_ME"
from kita import KitaClient, KitaError
 
client = KitaClient()
try:
    result = client.process("statement.pdf", "bank_statement", timeout=600)
    print(result.document_id, result.status)
    result.save_json("result.json")
except KitaError as error:
    print(error)

process() polls until done by default. To return immediately, pass wait=False, save result.document_id, and later call client.get_result(document_id). Passing webhook_url does not disable waiting.

Use process_url() or process_base64() for other inputs. Read result.extracted_data, or serialize with result.to_dict(). The SDK base URL is https://api.kita.ai, without /api/v1.

Postman

Set Bearer auth and import the curl commands from the Quickstart.

MCP

For coding agents, configure kita-docs-mcp with KITA_API_KEY in your MCP client:

{
  "mcpServers": {
    "kita-docs": {
      "command": "npx",
      "args": ["-y", "kita-docs-mcp"],
      "env": { "KITA_API_KEY": "kita_prod_REPLACE_ME" }
    }
  }
}

Keep this configuration private. Reference tools work without a key; execution tools use it to access documents.

On this page