{"uid":"cap_zGJXe20Ym-HjZADJptay6","slug":"agentic-finance-graph-exit-drain-check-0ac76f22","name":"Agentic Finance Graph — Exit Drain Check","description":"Did its wallet empty out: Every window in which a new payee took most of this agent's outflow within 72 hours, at the drain thresholds: the payee, its label, contract or plain key, how many registered agents pay it, whether the agent paid anyone else in the 30 days after and since, and its status under drain.abandoned.v1 (candidate, pending, resumed or service). For up to three windows, the second hop read live: where the payee sent the money next, how soon, and what that …","url":"https://agenticfinancegraph.com/check/exit?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","required":["id"],"properties":{"id":{"type":"string","description":"ERC-8004 token id on Base (53008), slug (8004-base-53008) or the agent's bound wallet 0x…. Only agents observed paying a counterparty (rank L7+) have a record; anything else is a 404 before payment."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5W80jvwbBHx44ZQ0RVQua","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns every 72-hour window in which a new payee captured the majority of an agent's outflow, with payee identity, drain status, second-hop money trail, and whether the agent resumed normal payments afterward.","exampleAgentPrompt":"Check whether wallet 0x4a7b…c3f1 on Base ever had its outflows dominated by a new payee within any 72-hour window — show me the drain status, who the payee was, how many other agents pay them, and where the money went next.","exampleUseCases":[{"title":"Investigate suspected agent compromise","prompt":"That agent I deployed last month — token ID 8004-base-53008-00421 — I think its wallet might have been drained. Can you pull every 72-hour window where a new payee took the majority of its outflows, their drain.abandoned.v1 status, and whether it ever started paying normal counterparties again afterward?"},{"title":"Due diligence before hiring an agent","prompt":"Before I let this agent handle payments, I want to know if its wallet 0x9d3e…a82c has ever shown drain patterns — specifically any window where a single new payee captured most of the outflow, and where that payee sent the money next."},{"title":"Fleet-wide drain monitoring for a specific payee","prompt":"I'm seeing a suspicious payee showing up across my agent fleet. Can you check agent 8004-base-53008-00887 to find out whether this payee took dominant-share windows, how many other registered agents also paid them, and what their current drain status is?"}],"resultDescription":"Returns up to three 72-hour drain windows per agent, each including: the payee address with its label and contract/key type, the number of registered agents paying that payee, whether the agent paid any other counterparty in the 30 days after the window and since, and the payee's drain.abandoned.v1 classification (candidate, pending, resumed, or service). For up to three windows the second-hop is read live: where the payee forwarded the funds, how quickly, and partial details of the next destination.","failureModes":["404 if the agent ID has not reached L7+ rank (insufficient observed payments)","404 if the wallet/token ID is not registered or has no counted counterparty payments","Payment required (402) if the $0.03 USDC x402 fee is not settled before the request","Empty windows array if no drain-threshold events were ever detected for this agent","Stale or partial second-hop data if the live read of the payee's outbound transactions is unavailable at query time"],"whenToPreferThis":"Choose this endpoint when you specifically need to detect or investigate drain events — windows where a new payee captured dominant outflow share from an agent within 72 hours — and need the full chain: drain classification, payee metadata, peer agent overlap, and second-hop money trail. Prefer it over the generic 'where did the money go' endpoint when the question is about potential compromise, abandonment, or rerouting patterns rather than routine outflow analysis. It is the right tool when you need drain.abandoned.v1 status labels and post-drain resumption signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:35:16.755Z","isFirstParty":false,"canonicalSlug":"agentic-finance-graph-exit-drain-check-0ac76f22"}