For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Get API Key
GuidesAPI Reference
GuidesAPI Reference
  • Getting Started
    • Introduction
    • Getting Started
    • Authentication
    • Rate Limits
    • Error Handling
  • Concepts
    • Projects & Documents
    • Document Processing
    • Knowledge & Search
    • Compliance Checking
    • Environments & Keys
    • Streaming & Async
  • How-To Guides
    • Manage Projects
    • Upload & Manage Documents
    • Query Your Knowledge Base
    • Run Compliance Checks
    • View Your Organization
Get API Key
LogoLogo
On this page
  • Base URL
  • Quick example
  • What you can build
  • Next steps
Getting Started

Pyramid AI API

Integrate AI-powered knowledge management, Q&A, and compliance checking into your platform

Was this page helpful?
Edit this page

Getting Started

Make your first API call in under 5 minutes
Next
Built with

The Pyramid AI API gives you programmatic access to three core capabilities:

Pyramid Connect

Upload and manage documents, create projects, and build your knowledge base.

Pyramid Agent

Ask questions over your knowledge base — single queries, batch processing, or multi-turn chat.

Pyramid Check

Run compliance checks against your documents with AI-powered verification.

Base URL

All API requests use the following base URLs:

EnvironmentBase URLAPI Keys
Productionhttps://api.pyramid-ai.com/api/v2pai_live_*
Staging (sandbox)https://api-staging.pyramid-ai.com/api/v2pai_test_*

Staging is a full sandbox environment with its own database. Use pai_test_* keys for development and testing.

Quick example

$curl https://api.pyramid-ai.com/api/v2/organization \
> -H "Authorization: Bearer pai_live_YOUR_KEY_HERE"
1{
2 "success": true,
3 "data": {
4 "id": "org_abc123",
5 "name": "Your Organization"
6 },
7 "request_id": "550e8400-e29b-41d4-a716-446655440000"
8}

What you can build

  • Excel / Office Add-ins — query project knowledge from spreadsheets
  • Mobile apps — embed AI-powered Q&A into iOS and Android apps
  • Compliance workflows — automate requirement verification at scale
  • Internal tools — connect your knowledge base to custom dashboards

Next steps

Getting Started

Make your first API call in under 5 minutes

How-To Guides

Step-by-step recipes for every API operation

Authentication

Learn how API keys work and how to authenticate requests

API Reference

Interactive endpoint explorer with request/response schemas