# Pyramid AI | Developer Docs ## Instructions for AI Agents - For clean Markdown of any page, append `.md` to the page URL - For section-specific indexes, append `/llms.txt` to any section URL - For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://documents.pyramid-ai.com/_mcp/server ## Docs - [Pyramid AI API](https://documents.pyramid-ai.com/introduction.md): Integrate AI-powered knowledge management, Q&A, and compliance checking into your platform - [Getting Started](https://documents.pyramid-ai.com/getting-started.md): Make your first API call in under 5 minutes - [Authentication](https://documents.pyramid-ai.com/authentication.md): API key management, environments, and security - [Rate Limits](https://documents.pyramid-ai.com/rate-limits.md): Request quotas, headers, and retry strategies - [Error Handling](https://documents.pyramid-ai.com/error-handling.md): Error codes, troubleshooting, and idempotency - [Projects & Documents](https://documents.pyramid-ai.com/concepts/projects-documents.md): How Pyramid AI organizes your data - [Document Processing](https://documents.pyramid-ai.com/concepts/document-processing.md): The three-step upload flow and what happens behind the scenes - [Knowledge & Search](https://documents.pyramid-ai.com/concepts/knowledge-search.md): How the AI finds answers in your documents - [Compliance Checking](https://documents.pyramid-ai.com/concepts/compliance-checking.md): How Pyramid Check verifies requirements against your documents - [Environments & Keys](https://documents.pyramid-ai.com/concepts/environments.md): Production, staging, and how to work with both safely - [Streaming & Async Patterns](https://documents.pyramid-ai.com/concepts/streaming.md): Real-time responses and background processing - [Manage Projects](https://documents.pyramid-ai.com/howto/projects.md): Create, list, update, and delete knowledge projects - [Upload & Manage Documents](https://documents.pyramid-ai.com/howto/documents.md): Upload files, trigger processing, and manage your knowledge base - [Query Your Knowledge Base](https://documents.pyramid-ai.com/howto/agent.md): Ask questions, run batch queries, and export results - [Run Compliance Checks](https://documents.pyramid-ai.com/howto/check.md): Verify requirements against your documents with AI-powered verdicts - [View Your Organization](https://documents.pyramid-ai.com/howto/organizations.md): Retrieve your organization details and verify API key scope - [MCP Server](https://documents.pyramid-ai.com/mcp.md): Connect Claude, Cursor, and your own agents to your document corpus - [API Reference](https://documents.pyramid-ai.com/api-reference.md): Complete endpoint documentation with interactive explorer - [Organizations](https://documents.pyramid-ai.com/api-reference/organizations.md): Retrieve organization details for the authenticated API key - [Projects](https://documents.pyramid-ai.com/api-reference/projects.md): Create and manage knowledge projects - [Documents](https://documents.pyramid-ai.com/api-reference/documents.md): Upload, process, and manage knowledge documents - [Agent](https://documents.pyramid-ai.com/api-reference/agent.md): Single-shot queries, multi-turn chat, and batch processing - [Check](https://documents.pyramid-ai.com/api-reference/check.md): Compliance verification and analysis runs ## API Docs - API Explorer > Agent [Export batch results as CSV](https://documents.pyramid-ai.com/api-reference/api-explorer/agent/export-batch-csv.md) - API Explorer > Agent [Get a batch with results](https://documents.pyramid-ai.com/api-reference/api-explorer/agent/get-batch.md) - API Explorer > Agent [List Agent batch queries](https://documents.pyramid-ai.com/api-reference/api-explorer/agent/list-batches.md) - API Explorer > Agent [Create an Agent batch query](https://documents.pyramid-ai.com/api-reference/api-explorer/agent/create-batch.md) - API Explorer > Agent [Single-shot Q&A over project, org, or Open Library knowledge](https://documents.pyramid-ai.com/api-reference/api-explorer/agent/query-agent.md) - API Explorer > Agent [Chat with the Agent over project, org, or Open Library knowledge](https://documents.pyramid-ai.com/api-reference/api-explorer/agent/chat.md) - API Explorer > Check [List requirements for a check run](https://documents.pyramid-ai.com/api-reference/api-explorer/check/get-check-run-requirements.md) - API Explorer > Check [Get a check run with full results](https://documents.pyramid-ai.com/api-reference/api-explorer/check/get-check-run.md) - API Explorer > Check [Trigger processing for a check run](https://documents.pyramid-ai.com/api-reference/api-explorer/check/trigger-check-run.md) - API Explorer > Check [List compliance check runs](https://documents.pyramid-ai.com/api-reference/api-explorer/check/list-check-runs.md) - API Explorer > Check [Create a compliance check run](https://documents.pyramid-ai.com/api-reference/api-explorer/check/create-check-run.md) - API Explorer > Check [Verify a single compliance requirement](https://documents.pyramid-ai.com/api-reference/api-explorer/check/verify-requirement.md) - API Explorer > Documents [Get a presigned download URL for a document](https://documents.pyramid-ai.com/api-reference/api-explorer/documents/get-document-download-url.md) - API Explorer > Documents [Get a document by ID](https://documents.pyramid-ai.com/api-reference/api-explorer/documents/get-document.md) - API Explorer > Documents [Trigger processing for uploaded documents](https://documents.pyramid-ai.com/api-reference/api-explorer/documents/process-documents.md) - API Explorer > Documents [List documents](https://documents.pyramid-ai.com/api-reference/api-explorer/documents/list-documents.md) - API Explorer > Documents [Reserve a document upload slot](https://documents.pyramid-ai.com/api-reference/api-explorer/documents/reserve-document-upload.md) - API Explorer > Documents [Delete documents by ID](https://documents.pyramid-ai.com/api-reference/api-explorer/documents/delete-documents.md) - API Explorer > Health [List features enabled for the current API key](https://documents.pyramid-ai.com/api-reference/api-explorer/health/list-enabled-features.md) - API Explorer > Health [Health / ping](https://documents.pyramid-ai.com/api-reference/api-explorer/health/check.md) - API Explorer > Organizations [Get the organization for the current API key](https://documents.pyramid-ai.com/api-reference/api-explorer/organizations/get-current-organization.md) - API Explorer > Projects [Get a project by ID](https://documents.pyramid-ai.com/api-reference/api-explorer/projects/get-project.md) - API Explorer > Projects [Delete a project](https://documents.pyramid-ai.com/api-reference/api-explorer/projects/delete-project.md) - API Explorer > Projects [Update a project](https://documents.pyramid-ai.com/api-reference/api-explorer/projects/update-project.md) - API Explorer > Projects [List Connect projects](https://documents.pyramid-ai.com/api-reference/api-explorer/projects/list-projects.md) - API Explorer > Projects [Create a new Connect project](https://documents.pyramid-ai.com/api-reference/api-explorer/projects/create-project.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://documents.pyramid-ai.com/openapi.json) - [OpenAPI YAML](https://documents.pyramid-ai.com/openapi.yaml)