credentials

Mint a capability for an agent or system

A scoped, revocable grant. Narrow by default: an agent or system capability must name its syncGroups and operations.

post/v1/capabilities

Request

  • Base URL: https://api.abloatai.com/api
  • URL: https://api.abloatai.com/api/v1/capabilities
  • Auth: HTTP bearer

Request body

participantKind'user' | 'agent' | 'system' required
participantIdstring
organizationIdstring
operationsstring[]
ttlSecondsinteger required
labelstring
wideScopeboolean
userMetaobject

Response

The minted capability. token is the credential — carry it as the Bearer token on every other call. scope is what was minted, which is not always what was asked for.

capabilityIdstring required
tokenstring required
expiresAtstring date-time required
organizationIdstring required
branchRootboolean required
userMetaobject required

Changes

No recorded changes to this operation across all 1 revision of this API.