{"uid":"cap_KtH2dr61Vtu6-ZuYoynB2","slug":"agentdiet-x402-audit-endpoint-d133b270","name":"AgentDiet x402 Audit Endpoint","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/x402-audit?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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"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_JVEQK7HZUcE34sApwgunt","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":"Audits and validates an HTTP URL through the AgentDiet x402-compliant context distillation node, returning compression ROI proof and status for A2A/MCP workflows.","exampleAgentPrompt":"Run an x402 audit on https://example.com using a GET request and show me the compression ratio proof — I want to know how much AgentDiet can shrink that context.","exampleUseCases":[{"title":"Validate context compression ROI","prompt":"Audit https://api.myservice.com/context with a GET request through AgentDiet and tell me what compression ratio I can expect — show me the ROI proof."},{"title":"x402 compliance check for agent pipeline","prompt":"Check if https://status.myagent.dev is x402-compliant by running an audit on it with a GET method and return the full status result."},{"title":"Pre-flight MCP node validation","prompt":"Before I route my A2A workflow through this endpoint, audit https://mcp.internaltools.io using GET and confirm the context distillation status looks healthy."}],"resultDescription":"Returns a JSON object with a 'status' field (e.g. 'ok'), a 'data' object containing audit results, and an 'roi_proof' object including 'compression_ratio_pct' — indicating how much the context was compressed (e.g. 91.4%).","failureModes":["Missing or malformed 'url' query parameter returns an error response","Invalid HTTP method enum value causes schema validation failure","Unreachable target URL may return empty data or timeout","x402 payment not settled causes 402 Payment Required response","Service node unavailability returns non-200 status"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, pay-per-call x402 audit of a URL's context compression potential within an A2A or MCP agent pipeline, and you want cryptographic ROI proof (compression_ratio_pct) returned in a structured JSON format. Prefer it over generic HTTP validators when token budget efficiency and A2A protocol compliance are the primary concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:22.409Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-audit-endpoint-d133b270"}