{"uid":"cap_Gy2bjru3SnNNjpEO_FrPz","slug":"signgate-agent-buyer-identity-preflight-x402-purchase-governance-01133ef9","name":"SignGate Agent Buyer Identity Preflight – x402 Purchase Governance","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/agent-risk/policy-decide","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["request_id","action"],"properties":{"action":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{2,80}$"},"request_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"risk_score":{"type":"string","pattern":"^[0-9]{1,3}$"},"amount_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"policy-decide","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ogyFDXRkPesPlEXulxwwV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates whether an AI agent's buyer identity, role, and risk profile are authorized to purchase a specific x402-gated API, dataset, or tool before the payment is made.","exampleAgentPrompt":"Before you pay for that x402 API access, run a preflight check — request ID 'req-abc123', action 'api.purchase', risk score 20, amount 5.00 USDC — and tell me if our agent is cleared to buy it.","exampleUseCases":[{"title":"Pre-purchase governance for high-value dataset","prompt":"Before the agent spends 50 USDC on that x402 dataset, check whether it's approved to make that purchase — use request ID 'req-dataset-99', action 'dataset.buy', risk score 45, amount 50.00 USDC."},{"title":"Low-risk API access clearance","prompt":"Run a policy-decide check for our agent before it subscribes to that x402 weather API — request ID 'req-wx-001', action 'api.subscribe', risk score 5, amount 0.50 USDC — I want to confirm the risk level is low."},{"title":"Autonomous agent purchase gating","prompt":"Our autonomous trading agent is about to call a paid x402 signals tool — preflight it with request ID 'req-trade-77', action 'tool.execute', risk score 75, amount 10.00 USDC, and tell me if it gets a green light or any flags."}],"resultDescription":"Returns a JSON object containing the network (e.g. eip155:8453), product identifier, and an assessment object with a risk_level (e.g. 'low', 'medium', 'high'), a numeric risk_score, and any policy flags raised. A clean response with no flags and 'low' risk_level means the agent is cleared to proceed with the purchase.","failureModes":["Missing required query params (request_id or action) returns a 400 or schema validation error","Invalid pattern for request_id or action (non-alphanumeric characters) causes rejection","risk_score value outside 0-999 integer range may fail pattern validation","Service unavailable on the Cloudflare Worker edge returns a 5xx error","High risk_score or flagged identity returns an assessment blocking the purchase without an error code","Ambiguous or unknown action string may result in a default-deny policy decision"],"whenToPreferThis":"Use this endpoint when an AI agent is about to autonomously spend USDC via the x402 protocol and you need a policy gate to confirm the buyer role, transaction amount, and risk level are within approved parameters before funds are committed. Prefer this over post-hoc auditing or no governance at all when operating agentic wallets with real financial exposure. Especially valuable for multi-agent systems where different agents have different spending authorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:53:08.404Z","isFirstParty":false}