{"uid":"cap_k0giyg7SsC4b4QTOVKWp7","slug":"sweetai-should-i-pay-agent-payment-advisor-4ff7b878","name":"SweetAI Should-I-Pay Agent Payment Advisor","description":"Decide whether to pay an AI agent: PAY/CAUTION/SKIP verdict with expected loss in USDC before you send money to an unknown agent","url":"https://sweetai.tiamatcrypto.com/api/v1/should-i-pay?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":{"agent_id":{"type":"integer","description":"ERC-8004 agent ID"},"amount_usd":{"type":"number","description":"USDC amount you are about to pay"},"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_ut01j6D8jhGl9mc_r9fKU","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 verdict with expected USDC loss estimate before you send money to an unknown AI agent","exampleAgentPrompt":"Before I send 25 USDC to ERC-8004 agent ID 1042, can you check SweetAI's should-I-pay endpoint to see if it gives a PAY, CAUTION, or SKIP verdict and what the expected loss would be?","exampleUseCases":[{"title":"Vet unknown agent before first payment","prompt":"I'm about to pay agent ID 5501 a total of 50 USDC for the first time — can you run it through SweetAI and tell me if I should pay, be cautious, or skip, and what the expected loss is?"},{"title":"Solana agent payment risk check","prompt":"I have a Solana agent with pubkey 7xKp3...abc that wants 10 USDC from me. Can you check SweetAI to tell me whether it's safe to pay or if I should skip?"},{"title":"Automated agent marketplace payment guard","prompt":"Every time my workflow is about to pay a new agent, check SweetAI's verdict first — if the verdict is anything other than PAY, hold the transaction and alert me with the expected loss amount."}],"resultDescription":"Returns a structured verdict of PAY, CAUTION, or SKIP along with the expected loss in USDC, giving the caller a risk signal before committing funds to an AI agent interaction.","failureModes":["Unknown agent ID or Solana pubkey returns insufficient data or a SKIP verdict by default","Missing required query parameters (agent_id or solana_asset) may result in an error response","Agent not yet indexed on-chain may return no verdict","Network or upstream data source outage may return a 503 or empty result","Amount_usd not provided may produce a generic rather than amount-calibrated verdict"],"whenToPreferThis":"Use this endpoint when you need a quick, actionable PAY/CAUTION/SKIP signal before transferring USDC to an AI agent you don't fully trust. It's especially useful in automated agent-to-agent payment flows where manual review isn't possible, or when evaluating ERC-8004 agents or Solana-based agents for the first time. Prefer this over generic trust lookups when you need a payment-specific risk verdict with a concrete expected loss figure in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:37:36.107Z","isFirstParty":false,"canonicalSlug":"sweetai-should-i-pay-agent-payment-advisor-4ff7b878"}