API Keys
API keys are your credentials—strings starting with sk-praxis-. Each key belongs to one account space.
Create a Key
Any member of the organization (owner, admin or member) can create a key; no particular role is needed.
- Open Console → API Keys
- Click “Create Key”—name is required, validity defaults to 90 days
- Copy the full key immediately: it is shown only once, and after the dialog closes the list shows only its prefix. A lost key cannot be recovered; delete it and create a new one.
Security Practices
- Never hardcode keys—use environment variables
- Different keys per environment—dev/staging/prod each get their own
- If a key leaks: delete it immediately, create a new one, update your app
When not to use an API Key
An API key belongs to the whole account space and cannot be limited to one resource. Beyond scripts and CI, prefer a credential that narrows the scope; when you must use a key, give it a dedicated name (for example ci-job) and put it only where it is needed.
FAQ
| Symptom | Fix |
|---|---|
| 401 Invalid API key | Check key status; copy again in full |
| Key expired | Create a new one |
Next steps
- First request: make a first call with the new key.
- Quotas and limits: rate limits for a key and how to raise them.
- Command line: use an API key in scripts and CI instead of a browser sign-in.