API Keys

Your AggKnowledge account team issues keys. Each key is scoped to one account and draws from that account’s rate-limit allocation, shared with the account’s other keys. No key, or not sure who holds yours? Ask whoever set up AggKnowledge at your company.

Tip: Store your key in an environment variable (AGGK_API_KEY) and read it at runtime. Never hardcode keys in source files.

Set the key — macOS / Linux, then Windows PowerShell
export AGGK_API_KEY="YOUR_API_KEY"      # macOS / Linux
$env:AGGK_API_KEY = "YOUR_API_KEY"      # Windows PowerShell

Reading the variable from Python or JavaScript is shown in Calling the API from Code.

Rotating a key#

Self-service key rotation isn’t available yet. If a key is compromised or you need one reissued, contact your AggKnowledge account team and we’ll rotate it for you.

Warning: Treat a compromised key as urgent — reach out right away rather than waiting, since rotation today is a manual, human-handled process.