Environments & Keys
Environments & Keys
Environments & Keys
Pyramid AI runs two completely separate environments:
These environments are completely isolated. They share no data — a document uploaded to staging doesn’t exist in production, and vice versa.
Staging exists so you can experiment without consequences. Upload test documents, create dummy projects, run compliance checks — nothing you do in staging affects real client data.
Keys are locked to their environment. This prevents accidents:
The error message intentionally does not tell you whether the key is valid — it simply says Unauthorized. This prevents leaking information about which keys exist.
Use pai_test_* keys against api-staging.pyramid-ai.com. Upload test documents, experiment freely.
API keys are managed in the Pyramid platform under Settings > API Keys. Organization admins can create, view, and revoke keys.
Keys are 40 characters: a 9-character prefix + 32 random characters.
After creation, the full key is shown exactly once. After that, only a fingerprint is visible:
This fingerprint is safe to use in logs, dashboards, and support tickets.
last_used_at — keys that haven’t been used in months should be reviewed and potentially revoked