R

Rubric Protocol · Decision Review

by Rubric Protocol

POSTBaseSolanaalgorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=

$0.1

per call · USD Coin on Base

Attested policy evaluation: submit a proposed agent action, its context, and the policy it must satisfy. Returns a verdi

Endpoint

POST https://rubric-protocol.com/v1/x402/decision-review

8

Calls / 30d

3

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://rubric-protocol.com/v1/x402/decision-review", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "action": "Issue a $4,200 refund to customer 88213",
    "context": {
      "supervisorApproval": null
    },
    "policy": "Refunds above $1,000 require supervisor approval"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://rubric-protocol.com/v1/x402/decision-review" \
  -H "Content-Type: application/json" \
  -d '{"action":"Issue a $4,200 refund to customer 88213","context":{"supervisorApproval":null},"policy":"Refunds above $1,000 require supervisor approval"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0xab6731a0bcdf511c2842c768a03448075ab654ca
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Rubric Protocol & similar services