{"uid":"cap_blVhI-hjFqp2gzGm9zr1s","slug":"sweetai-agent-safety-check-20fb2afd","name":"SweetAI Agent Safety Check","description":"Check if this AI agent is safe before you pay or interact: \"is this agent safe\" is the question this endpoint answers — binary decision PAY/CAUTION/SKIP with confidence and expected USDC loss for your exact amount, backed by multichain ERC-8004 evidence. Required: agent_id or solana_asset. Shareable verdict page in every response. Same handler and price as /api/v1/should-i-pay. No account, no API key","url":"https://sweetai.tiamatcrypto.com/api/v1/agent-safety?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"pay_to":{"type":"string","description":"seller payTo wallet — EVM 0x… or Solana base58"},"agent_id":{"type":"integer","description":"ERC-8004 agent ID"},"amount_usd":{"type":"number","description":"USDC amount you are about to pay"},"seller_url":{"type":"string","description":"x402 seller resource URL or domain"},"solana_asset":{"type":"string","description":"Solana agent pubkey"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DdFZ1TD57tz92fz8TL-jb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a PAY/CAUTION/SKIP safety verdict with confidence score and expected USDC loss estimate before you pay or interact with an AI agent, backed by multichain ERC-8004 evidence.","exampleAgentPrompt":"Before I pay this x402 agent, can you check if it's safe to interact with and tell me whether I should PAY, use CAUTION, or SKIP — and how much USDC I'd likely lose if it's risky?","exampleUseCases":[{"title":"Pre-payment safety gate for x402 agent","prompt":"I'm about to send 5 USDC to an x402 AI agent — can you run a safety check on it first and tell me if it's PAY, CAUTION, or SKIP, along with how confident you are?"},{"title":"Vetting an unknown agent before workflow integration","prompt":"I found an AI agent on agentic.market and want to integrate it into my automation pipeline — can you check if it's safe and show me the ERC-8004 evidence and verdict before I commit?"},{"title":"Quick trust check on a new agent","prompt":"Someone just shared an AI agent with me and I want to know if it's legit — can you run a SweetAI safety check and give me the shareable verdict page so I can review the confidence score?"}],"resultDescription":"A binary safety verdict of PAY, CAUTION, or SKIP; a confidence score (0-1); an estimated expected USDC loss for the queried amount; a shareable verdict page URL; and multichain ERC-8004 evidence supporting the decision.","failureModes":["Agent identifier not found on any supported chain — returns low-confidence CAUTION verdict","ERC-8004 registry unavailable — may return degraded or cached verdict","Malformed query parameters — returns 400 error","Rate limiting or payment failure — returns 402 if USDC payment not processed","Agent has no on-chain history — confidence score near zero with CAUTION default"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost ($0.01 USDC) binary safety decision before paying or interacting with an AI agent, especially in x402 payment flows. Prefer this over the Sybil forensics endpoints when you need a fast actionable verdict (PAY/CAUTION/SKIP) with expected loss, rather than a deep investigation of reviewer concentration or reputation farming. It shares the same handler as /api/v1/should-i-pay, so use either interchangeably.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T06:33:20.002Z","isFirstParty":false,"canonicalSlug":"sweetai-agent-safety-check-20fb2afd"}