Skip to content
Fourohtwo

humanmirror.fr/api/x402/safe-preflight/

Independent pre-execution control for consequential autonomous-agent actions. Evaluate a proposed payment, tool call, send, write, publish operation, API action, or other external side effect before execution; return the required approval or human-review boundary and verify that risk stays within the declared limit. 3 bounded free preview calls are available via extensions.humanmirrorPreview.

BaseAnswering
POSThttps://humanmirror.fr/api/x402/safe-preflight/

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://humanmirror.fr/api/x402/safe-preflight/", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"criteria":{"allow_confirmation":false,"max_risk":"medium"},"input":{"command":"Send a payment or publish data with an external side effect"}}),
});
console.log(await res.json());

Example input

{
  "criteria": {
    "allow_confirmation": false,
    "max_risk": "medium"
  },
  "input": {
    "command": "Send a payment or publish data with an external side effect"
  }
}

More from HumanMirror