{"uid":"cap_02ZFvtn-oTG0xkUA86AY9","slug":"freysa-intelligence-agent-preflight-713da487","name":"Freysa Intelligence Agent Preflight","description":"One-call comprehensive safety check for AI agents. Checks target contract, token, and wallet together. Returns PROCEED/CAUTION/ABORT decision with evidence. Designed for autonomous agents executing complex workflows.","url":"https://economic-agent-369.freysa.dev/api/agent-preflight","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","default":"base","description":"Blockchain"},"trader_wallet":{"type":"string","description":"Your wallet"},"target_address":{"type":"string","description":"Target"}}},"responseSchema":{"type":"object","example":{"agent_preflight":{"decision":"PROCEED","confidence":91,"overall_risk":28,"value_at_risk":"$5000"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_h9zSXfB7YDoCpjoYaIljx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a security preflight check on a proposed on-chain transaction or token interaction, returning a PROCEED/BLOCK decision with confidence score, overall risk score, and value-at-risk estimate.","exampleAgentPrompt":"Before you execute that token swap, run a preflight security check on the transaction — I need a PROCEED or BLOCK decision, a confidence score, and the estimated value at risk so I know it's safe to continue.","exampleUseCases":[{"title":"DeFi agent transaction guard","prompt":"Before my trading agent sends that 5 ETH swap on Base, run a security preflight and tell me the risk score, confidence level, and whether to proceed or block it."},{"title":"Token rug-pull screening","prompt":"I'm about to buy this new token at address 0xabc123 — can you do a preflight security check to see if it looks like a scam or rug pull, and give me the overall risk score?"},{"title":"Suspicious wallet forensics","prompt":"Someone just sent funds from this wallet address to mine — run a preflight check on it to see if it's flagged for anything suspicious and what the confidence level is."}],"resultDescription":"A JSON object containing an agent_preflight block with: a binary decision (PROCEED or BLOCK), a confidence score (0–100), an overall_risk score (0–100), and a value_at_risk dollar estimate — giving the calling agent a clear, quantified go/no-go signal before executing a transaction.","failureModes":["Malformed or missing input schema returns a validation error","Unknown token or wallet address may result in low-confidence analysis","Network congestion on Base may delay response","Insufficient USDC balance causes x402 payment failure and request rejection","Newly deployed contracts with no on-chain history may return inconclusive risk scores"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a rapid, quantified security clearance before executing any on-chain action — especially token swaps, contract interactions, or transfers involving unknown wallets. It is purpose-built for agent pipelines that need a machine-readable PROCEED/BLOCK signal with a confidence score, rather than a human-readable audit report. Prefer it over general blockchain explorers when you need both token risk analysis and wallet forensics bundled into a single preflight call with pay-per-use pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:14.326Z","isFirstParty":false}