Skip to main content

Key format

All plyra-memory API keys follow this format:
plm = plyra memory. The live / test prefix is informational — the server does not enforce different behaviour, but it helps you track which keys belong to which environment.

Generate a key

Generate your API key

Enter your email at keys.plyra.dev and receive a live API key instantly. The key is shown once — store it in a secrets manager immediately.
keys.plyra.dev is a separate app that talks directly to the hosted plyra-memory-server. The key it generates is ready to use immediately with PLYRA_API_KEY.

Use your key

All API requests must include:

Create keys via API

For programmatic provisioning (CI/CD, customer onboarding):
Response:
The key field is returned once. It is hashed server-side and cannot be retrieved again. Copy it immediately.

List keys for a workspace

Revoke a key

Revocation is instant. The revoked key returns 401 on the next request.

Key rotation (zero-downtime)

Security checklist

Never commit API keys to git. Use environment variables or a secrets manager (Azure Key Vault, AWS Secrets Manager, Doppler).
  • Use separate keys for dev, staging, and production
  • Create one key per agent or team for fine-grained revocation
  • Set PLYRA_ADMIN_API_KEY to a strong random value (32+ chars) before deployment
  • Revoke unused keys — they never expire automatically
  • Rotate keys after any suspected compromise