h0 approval

Manage approval requests. Agents with requires_approval: always in their capabilities generate approval requests that must be resolved before the action proceeds.

list

h0 approval list

List pending approval requests for your agents.

Example

$ h0 approval list
ID          AGENT       CAPABILITY      REQUESTED
req_abc123  my-agent    send-email      2024-01-15 10:30:00
req_def456  my-agent    api-call        2024-01-15 10:31:00

approve

h0 approval approve <REQUEST_ID>

Approve a pending request. The action proceeds.

Example

h0 approval approve req_abc123

deny

h0 approval deny <REQUEST_ID>

Deny a pending request. The action is blocked and the agent receives an error response.

Example

h0 approval deny req_def456