Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Caller API key issued by scripts/generate-api-key.ts. Sent as Authorization: Bearer . Verified against a stored SHA-256 hash in constant time by packages/api/src/auth/StaticKeyAuthenticator.ts. Required on every route not listed as exempt in this document's top-level description. See /api-reference/authentication.

Path Parameters

capability
string
required

The capability, as namespace:verb.

Pattern: ^[a-z][a-z0-9-]*:[a-z][a-z0-9-]*$

Body

application/json
reviewerId
string
required
Minimum string length: 1
maxAmount
number

The largest amount this reviewer may decide. Absent means no amount limit.

Response

The register record the change produced (for example a source, threshold, action, policy version, approver key or role grant). The shape depends on the change (EXPERIMENTAL Policy v2 route).

The response is of type object.