Overview
The PageIndex Cloud API provides a hosted service for generating PageIndex tree structures and performing reasoning-based RAG without requiring local setup or managing infrastructure.API Documentation
View the complete API documentation at docs.pageindex.ai
Available Services
PageIndex Chat Platform
A ChatGPT-style interface for document analysis with human-like retrieval:Chat Platform
Try the PageIndex Chat Platform at chat.pageindex.ai
- Upload and chat with long PDF documents
- Reasoning-based retrieval with full traceability
- Multi-document conversations
- Page and section references in responses
- No vector database or chunking required
MCP Integration
Integrate PageIndex into Claude, Cursor, or any MCP-enabled agent:MCP Setup
Set up PageIndex MCP at pageindex.ai/mcp
- Native integration with Claude Desktop
- Works with Cursor IDE
- Compatible with any MCP-enabled application
- Full PageIndex reasoning capabilities
REST API
Programmatic access to PageIndex services:API Quickstart
Get started with the API at docs.pageindex.ai/quickstart
- Tree structure generation
- Document upload and processing
- Reasoning-based search
- Multi-step retrieval
Deployment Options
Self-Host
Run locally with the open-source repository on GitHub
Cloud Service
Use the hosted Chat Platform, MCP, or REST API
Enterprise
Private or on-premises deployment
Self-Hosted (Open Source)
Pros:- Complete control over infrastructure
- No API costs (pay only for OpenAI)
- Customizable processing pipeline
- No data leaves your environment
- Requires local setup and maintenance
- Slower processing (no optimization)
- Manual scaling and monitoring
Cloud Service
Pros:- Instant access, no setup required
- Optimized processing (faster results)
- Managed infrastructure
- Automatic updates and improvements
- Requires API subscription
- Data sent to PageIndex servers
Enterprise Deployment
Pros:- Private cloud or on-premises hosting
- Full data control and compliance
- Custom SLAs and support
- Dedicated resources
- Higher cost
- Requires enterprise contract
Contact for Enterprise
Contact us for enterprise deployment options
Cloud API vs. Self-Hosted
| Feature | Cloud API | Self-Hosted |
|---|---|---|
| Setup Time | Instant | 5-10 minutes |
| Processing Speed | Optimized | Standard |
| Infrastructure | Managed | Self-managed |
| API Costs | Subscription | OpenAI only |
| Data Privacy | Cloud | Fully private |
| Customization | Limited | Full |
| Scaling | Automatic | Manual |
| Support | Included | Community |
Getting Started with Cloud API
1. Sign Up
Visit the PageIndex Chat Platform to create an account.2. Get API Key
API access is currently in beta. Contact us to request access.3. Quick Example
The above is a simplified example. See the official API documentation for complete endpoints and authentication.
Cloud API Features
Tree Structure Generation
Generate PageIndex tree structures from uploaded documents:- Automatic TOC detection and extraction
- Hierarchical structure with page ranges
- Optional AI summaries for each section
- Support for complex document layouts
Reasoning-Based Search
Perform multi-step reasoning over document structures:- Natural language queries
- Context-aware retrieval
- Tree search with reasoning steps
- Traceable results with page references
Multi-Document Support
Work with multiple documents simultaneously:- Cross-document search
- Document comparison
- Multi-source answers
- Document relationship analysis
Integration Examples
Python Client
JavaScript/TypeScript
cURL
Pricing
PageIndex Cloud API is currently in beta. Pricing will be announced upon general availability. Beta Access:- Limited free tier available
- Early adopter discounts
- Usage-based pricing planned
Request Beta Access
Contact us to request beta access to the API
Use Cases
Financial Analysis
- Analyze earnings reports, 10-Ks, 10-Qs
- Extract specific metrics and KPIs
- Compare financial documents
Legal & Compliance
- Navigate complex contracts
- Extract clauses and obligations
- Compare legal documents
Research & Academia
- Analyze research papers
- Extract methodology and findings
- Literature review automation
Technical Documentation
- Search product manuals
- Find specific procedures
- Extract technical specifications
Support & Resources
Documentation
Complete API documentation and guides
Discord Community
Join our Discord for support and discussions
GitHub Repository
Open-source code and examples
Blog
Technical articles and updates
Frequently Asked Questions
Is the Cloud API the same as the open-source version?
Is the Cloud API the same as the open-source version?
The Cloud API provides the same core PageIndex functionality with additional optimizations, managed infrastructure, and extra features like multi-document support. The open-source version is great for self-hosting and customization.
Can I migrate from self-hosted to Cloud API?
Can I migrate from self-hosted to Cloud API?
Yes! The API is designed to be compatible with the open-source version. You can easily migrate existing workflows to the Cloud API with minimal code changes.
How is data privacy handled?
How is data privacy handled?
For the Cloud API, documents are processed on our secure servers and can be deleted after processing. For maximum privacy, use the self-hosted version or contact us about enterprise on-premises deployment.
What file formats are supported?
What file formats are supported?
Currently, PDF files are fully supported. Markdown support is available in the open-source version. Additional formats may be added in the future.
Can I use my own OpenAI API key?
Can I use my own OpenAI API key?
For the Cloud API, OpenAI costs are included in the subscription. For self-hosted deployments, you use your own OpenAI API key directly.
Next Steps
Try the Chat Platform
Experience PageIndex with the Chat Platform - no setup required
Explore Documentation
Read the full API documentation for integration details
Request API Access
Contact us to request beta API access
Join the Community
Join our Discord for support and discussions
See Also
- page_index() - Self-hosted Python function
- CLI Reference - Command-line interface
- Cookbooks - Hands-on examples