What can THIS key do — tenant, the abilities it may call (expanded), collections, sub-tenant flag, admin, and — once ...
POST
/v1/abilities/key.inspectWhat can THIS key do — tenant, the abilities it may call (expanded), collections, sub-tenant flag, admin, and — once it resolves through the keys table — id/prefix/created/expires/last used. What an MCP host or a generated docs page renders from. Auth-required; no admin needed.
Request body
Section titled “Request body”inputKeyInspectInputrequiredcontextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.