The Polyvia API provides programmatic access to document ingestion, group management, natural-language querying, and workspace analytics. Build applications that upload documents, organise them into groups, and ask questions across your workspace.Documentation Index
Fetch the complete documentation index at: https://docs.polyvia.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
/api/v1/ingest
Upload single or multiple documents and poll ingestion status
/api/v1/documents
List, update, and delete documents in your workspace
/api/v1/groups
Create and manage document groups
/api/v1/query
Ask natural-language questions — workspace-wide, by group, or per document
/api/v1/usage
Monitor request and document counts for the current period
/api/v1/rate-limits
Check your plan limits and remaining capacity
Quick Example
Here’s a complete workflow: ingest two documents into a group, wait for processing, then query across them.1. Create a Group
2. Ingest Documents
3. Query the Group
Or use an SDK
The same workflow in a few lines with either official SDK:Next Steps
API Reference
Full endpoint documentation with all parameters
Python SDK
Typed Python SDK with MCP and agent-tools support
JS / TS SDK
Typed TypeScript SDK for Node.js and modern JS frameworks
Polyvia MCP Server
Connect Polyvia to Claude Desktop and other AI tools
Polyvia Studio
Upload and manage documents in the web UI
