Skip to content
中文

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.

  1. Open Console → API Keys
  2. Click “Create Key”—name is required, validity defaults to 90 days
  3. 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

SymptomFix
401 Invalid API keyCheck key status; copy again in full
Key expiredCreate a new one

Next steps