API keys identify the client calling the Regulatory Pack API. Treat keys as production credentials. Esheria issues API keys during customer or pilot onboarding. Ask your Esheria workspace owner or Esheria contact for a key, then store it in your shell for local testing or in your service secret manager for production use.Documentation Index
Fetch the complete documentation index at: https://docs.esheria.ai/llms.txt
Use this file to discover all available pages before exploring further.
Local Setup
Test A Key
status: ok. An invalid key returns the normal error envelope with unauthorized.
CLI Configuration
The CLI reads the same environment variables.set or missing, never the key value.
Rotation Checklist
- Issue a new key.
- Deploy the new key to services and MCP hosts.
- Run
esheria packs list --format json. - Revoke the old key.
- Remove exposed key material from shell history, logs, and screenshots.
Common Failure Modes
| Symptom | Cause | Resolution |
|---|---|---|
| Works in one terminal but not another | Environment variable was exported only in one shell | Re-export the key or use your shell profile carefully |
| CLI calls SSH or another command | A local alias shadows esheria | Run type -a esheria and remove the alias |
| Browser playground fails on pilot URL | HTTPS docs page calling an HTTP pilot server can be blocked | Use the production HTTPS base URL for browser-based playgrounds |