12

Human approvals

On-chain1 min read

Pause, inspect, approve or reject, and resume the same serialized run state.

  1. 1

    Interrupt

    The runtime persists RunState and emits approval.required.

  2. 2

    Review

    The client renders a human-readable action summary and risk details.

  3. 3

    Resolve

    The BFF validates the decision, expiry, actor, and step-up proof.

  4. 4

    Resume

    The runtime approves or rejects the original tool call and resumes that state.

Resolve an approval
await client.resolveApproval(approvalId, 'approved', stepUpToken);

Was this page helpful?

Edit on GitHub