API reference
Approvals
Changes made by two people — maker, checker, the approver scopes, and who approves what.
A change that loosens a control, moves value out of a position, or registers an operator is made by two people. A maker requests it; a checker decides it. The change is applied once, for the payload that was approved, on the version of its target that was approved.
The flow
- The maker calls the route of the change. The route answers
202with{ "approval": … }: the approval it waits for, in staterequested. - The checker reads it (
GET /risk/approvals/:id) and decides it:POST /risk/approvals/:id/approveor/reject. - The maker calls the route again. Where the route takes an
approvalfield, the call carries the approval id; otherwise it sends the same body again. The change is applied, and the approval isconsumed.
A call with the same change while the approval waits for its decision answers
409 pathglobal.risk.approval_pending. A treasury transfer follows steps 1 and 2 only:
POST /treasury/transfers answers 202 with the transfer, which names its approval, and the
transfer is executed once the approval is approved.
The checker
| Rule | Answer otherwise |
|---|---|
The checker's key carries risk (the scope of /risk) and the approver scope of the action | 403 pathglobal.auth.scope_missing |
| The checker is another credential than the maker, and another operator | 403 pathglobal.risk.self_approval |
| Live mode: maker and checker are registered operators, and the decision carries the checker's signature | 403 pathglobal.risk.operator_required |
The approval is requested and within its validity | 409 pathglobal.risk.approval_invalid |
In live mode the body of a decision is:
{ "signature": "9c1e…" }signature is the Ed25519 signature, 128 hexadecimal characters, by the checker's operator key over
sha256(canonical({ approval, payload_digest, decision })), where approval is the approval id and
decision is approve or reject. The signature is stored on the approval.
An approval
{
"id": "apr_t63m9v94dzma",
"kind": "risk.approval",
"action": "treasury_transfer",
"subject": "tt_…",
"target_version": 1,
"payload_digest": "c8ee9aa405f10f29ee5b76f694190993c6952c033ea1dcf68f65c0e2210f2d24",
"maker": { "credential": "…", "operator": "op-amara" },
"state": "requested",
"expires_at": "2026-11-19T14:10:03.454Z",
"version": 1,
"protocol_version": "0.2.0",
"signed_at": "2026-11-19T13:40:03.455Z",
"kid": "pg-test-…",
"signature": "9249…"
}| Field | Notes |
|---|---|
action | What the approval authorises; see the table below |
subject, target_version | The target and the version of it the approval applies to. A target that changed needs a new approval |
payload_digest | An opaque digest of the approved change. Read it from the approval; the approval authorises that change and nothing else |
state | requested → approved or rejected; approved → consumed; expired at expires_at |
not_before | A scheduled change: the approval is used from that instant |
checker | Set by the decision: credential, operator and, in live mode, signature |
consumed_by | What used it. An approval is consumed once |
rule | Set when a rule approved it instead of a person |
Every approval is signed by the platform key. GET /risk/approvals lists them by state,
action and subject.
Who approves what
| Action | Approver scope | Requested by |
|---|---|---|
treasury_transfer | treasury_approve | POST /treasury/transfers, POST /liquidity/pools/:id/withdraw with a destination |
allowlist_add | treasury_approve | POST /treasury/allowlist |
policy_change | treasury_approve | PUT /treasury/policies/:account, PUT /treasury/safeguarding/:asset |
funding_expect | treasury_approve | POST /treasury/fundings |
break_resolve | treasury_approve | POST /treasury/reconciliations/:id/resolve, POST /treasury/inbound/:id/escalate |
rule_change | treasury_approve | PUT /risk/rules/:id |
collateral_withdraw | treasury_approve | A route reserved to Path Global |
pool_resume | treasury_approve | POST /liquidity/pools/:id/resume |
corridor_open | risk_approve | PUT /risk/corridors/:id, and POST /risk/corridors/:id/open or /throttle when they loosen |
limit_raise | risk_approve | PUT /risk/limits/:id when it raises |
breaker_reset | risk_approve | POST /risk/breakers/:id/reset |
operator_register | risk_approve | POST /risk/operators |
identity_restore | risk_approve | POST /risk/identities/:subject/restore |
case_decide | risk_approve | POST /risk/cases/:id/decide, for a case above the corridor's maximum per transaction |
bounds_change | risk_approve | PUT /intelligence/bounds |
instruction_resolve | risk_approve | POST /treasury/transfers/:id/resolve; a decision on an execution |
participant_onboard | risk_approve | A route reserved to Path Global |
cap_raise | risk_approve | A route reserved to Path Global |
What tightens is applied at once, by one person: closing or throttling a corridor, lowering a limit, tripping a breaker, restricting or blocking an identity, pausing a pool, revoking an operator.
Rules
A rule decides some treasury transfers in place of a person, within the bounds it states. A transfer proposed through the API waits for a person.
| Field | Notes |
|---|---|
kinds | Among refuel, rebalance, sweep |
per_transfer, per_day | Bounds, one amount per asset |
sources | allowlisted_own: own accounts on the allowlist |
tiers | Among hot, warm |
status | active or suspended |
A transfer outside the bounds of its rule waits for a person. A rule is read at GET /risk/rules/:id
and changed under rule_change.
Operators
An operator is a person with an Ed25519 key and scopes. Operators are registered under
operator_register (POST /risk/operators) and revoked at once (POST /risk/operators/:id/revoke).
Neither the intelligence engine nor an agent connected through MCP approves, opens, closes or throttles a corridor, allowlists, registers or changes a limit. A transfer they propose waits for a person.