Skip to content

GET /api/v1/admin/orgs/:slug/api-keys

This page is auto-generated from src/admin/routes.ts. Do not edit by hand — see docs/dev/docs-auto-sync.md.

:warning: Heuristic extraction — not a contract. Response shapes below are mined from c.json(...) literals in the handler via an AST walker. Computed fields, ternaries, and non-literal returns are shown as placeholders. Refer to the linked source file for the authoritative behaviour.

Requires the following capability(ies):

  • members:r

Other middleware observed on this route (heuristic):

  • requireCapability

--- Per-org API keys ------------------------------------------------------ GET /api/v1/admin/orgs/:slug/api-keys — list active + revoked keys (without the plaintext; only last8 is shown so operators can identify them). #336 — gated on members:r. API keys are the tenant’s auth credentials; the closest member-of-org concept in the capability vocab is members.

{
"error": "Org not found"
}
{
"org": <slug>,
"count": <member-expr>,
"keys": <rows>
}
  • File: src/admin/routes.ts
  • Line: 6117