Knowledge retrieval API for AI agents
Give your agents accurate
retrieval in minutes
Connect your unstructured data and give your agents accurate, cited context from your knowledge base via API or MCP.
$ curl -X POST https://api.kapa.ai/query/v1/projects/$PROJECT_ID/retrieval/ \ -d '{"query": "Getting 401s after rotating our API key. How do I rotate keys without downtime?", "use_pruning": true}' | jqGetting 401s after rotating our API key. How do I rotate keys without downtime?Capabilities
Everything you need to give your AI agents context from unstructured knowledge

Pre-built connectors
Connect your data in minutes
Connect any technical knowledge source, with every integration's auth, pagination, and rate limits, handled for you.
Continuous sync
Updates your sources automatically
Kapa detects and re-processes only what changed in your sources, and updates land in minutes, so agents are never fed stale context.


Fully managed pipeline
Agentic retrieval, with no maintenance
Chunking, embedding, hybrid search, reranking and evals, tuned continuously for you. All of it behind one API call or MCP server.
Complete observability
Observe every agent and user query
See what agents are querying, where Kapa couldn't provide a confident answer, and know what documentation to write next.

Use cases
What teams are building on Kapa retrieval
One knowledge base grounds every agent across your product, support, engineering, marketing and sales stack in your technical documentation.
Customer stories
Why the best engineering teams chose not to build retrieval themselves
Rated 4.9/5 on G2
Everything you need to give your agents accurate retrieval, ready in minutes.
Get started for free. Connect your sources and get an API key or hosted MCP server to give your agents the context they need to do reliable work at scale.
Enterprise-grade security and controls
Zero data retention & PII masking
Security controls to limit data retention and PII processing for sensitive use cases.
SOC 2
SOC 2 & GDPR
Independently audited controls for security, availability, and confidentiality.
SSO & RBAC
Single sign-on and role-based access across the platform.
EU/US
Data regions
US and EU hosting available, so your knowledge stays where compliance needs it.
Frequently asked questions
What is Kapa?
−
Kapa is an ingestion and retrieval system for your unstructured knowledge. Ingestion assembles a unified knowledge base from 20+ types of sources - documentation sites, PDFs, tickets, community threads, API specifications — and keeps it up to date as that content changes. Agentic retrieval searches across it to find what the agent needs, the moment it needs it. You hand Kapa to your agent as a search tool via MCP, or call it directly through the API. And for the cases where you do not want to build an agent at all, Kapa offers Prebuilt Agents for common use cases, out of the box.
What can I build with Kapa?
+
Why do agents need retrieval? Can’t I just put my docs in the context window?
+
How is this different from building retrieval in-house?
+
When would I use a web search API like Exa or Tavily instead?
+
Which knowledge sources can Kapa ingest?
+
How does Kapa keep the knowledge base up to date?
+
Does it work with my agent framework and model?
+
I just want a documentation assistant. Do I have to build an agent?
+
Is my data secure? Is it used for training?
+
How does pricing work?
+
Can Kapa run on-prem or in our own VPC?
+




