CapyDB Docs

API keys

API keys are organization-scoped and intended for programmatic access to normal project routes without weird magic.

Scopes and ownership

API keys belong to a CapyDB organization. The backend resolves the target organization from the active Clerk organization for human users, or from the API key itself for programmatic callers.

Lifecycle

  • List existing keys from organization settings
  • Create a new key with selected scopes
  • Revoke a key without deleting the organization
  • Hashed key material is stored in metadata rather than the plaintext value