Skip to content
View as Markdown

List API keys — never the secrets.

POST/v1/abilities/key.list

List API keys — never the secrets. Tenant · name · prefix · status · scopes · created · last used · expires. Admin keys see every tenant (optionally filtered) plus how many requests still authenticate through the legacy env blob; a tenant key sees only its own. Auth-required.

Required
Yes
Content type
  • application/json
  • inputKeyListInputrequired
    Show 2 properties
    • tenantstringoptional

      Filter to one tenant (admin only; ignored for tenant keys).

    • includeRevokedbooleanoptional

      Include revoked keys. Default false.

  • contextCallContextoptional

    Optional call context. The tenant always comes from the credential: tenantId is honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.

    Show 3 properties
    • tenantIdstringoptional

      Sub-tenant to act for (sub-tenant credentials only).

    • runIdstringoptional

      The trust run (from trust.preflight) this call executes under.

    • verticalIdstringoptional

      Vertical to attribute created records to.

Schema shown for 200 · application/json

  • result

    The ability’s return value. Its shape depends on the ability.