Getting Started
Make your first API call in under 5 minutes
Get your API key
API keys are provisioned by your Pyramid AI account manager during pilot onboarding. You’ll receive a key with the prefix:
pai_live_*for productionpai_test_*for staging/sandbox
Store your API key securely. It is shown only once at creation time and cannot be retrieved later. If lost, request a key rotation from your admin.
Verify your connection
Test that your key works by calling the organization endpoint:
A successful response:
Response envelope
Every API response uses a consistent envelope:
The request_id is also returned in the X-Request-Id response header. Include it when contacting support.
Next steps
Manage Projects
Create, list, update, and organize your knowledge projects
Upload Documents
Upload files and build your searchable knowledge base
Query Knowledge
Ask questions, run batch queries, and export results
Compliance Checks
Verify requirements with AI-powered verdicts
- Authentication — API key details, environments, and rotation
- Error Handling — error codes and retry strategies