{"uid":"cap_bKb0j6w8j-jHyeW08NeMo","slug":"agentdiet-rag-diet-x402-compliance-check-018e18dc","name":"AgentDiet RAG Diet — x402 Compliance Check","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/402-compliance?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_6eLGrgQ83CXwC44s__0Tv","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 compliance and status information for the AgentDiet context-distillation node, confirming x402 payment protocol readiness and compression capability metadata.","exampleAgentPrompt":"Check whether the AgentDiet RAG Diet node is x402-compliant and fetch its current compression ratio proof — use a GET request with the HTTP input type.","exampleUseCases":[{"title":"Verify context distiller compliance before integration","prompt":"Before I integrate AgentDiet into my agent pipeline, can you confirm that the RAG Diet node is x402-compliant and show me what compression ratio it's currently reporting?"},{"title":"Confirm USDC payment node readiness","prompt":"I'm building an A2A workflow that pays for context compression in USDC on Base — can you hit the AgentDiet compliance endpoint and confirm it's ready to accept x402 payments?"},{"title":"Fetch compression ROI proof for reporting","prompt":"I need the latest compression ratio proof from the AgentDiet distiller node for my token cost report — can you pull the roi_proof from the compliance check endpoint?"}],"resultDescription":"A JSON response with a 'status' field (e.g. 'ok'), a 'data' object containing node details, and an 'roi_proof' object including 'compression_ratio_pct' (e.g. 91.4) indicating how much token reduction the node achieves.","failureModes":["Payment not fulfilled: x402 payment in USDC on Base must be completed before response is returned","Invalid input type: 'type' must be 'http' or request is malformed","Missing required 'method' field: GET or POST must be specified","Node unavailable: upstream rag-diet service may be temporarily down","Invalid query parameters: unrecognized fields beyond 'url' may be rejected"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that the AgentDiet context-distillation node is operational and x402-compliant, or when you need a machine-readable compression ROI proof (e.g. compression_ratio_pct) before committing to an agent pipeline integration. Prefer this over manual checks or UI-based verification when you are building automated agent workflows that depend on AgentDiet's token diet service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:00.851Z","isFirstParty":false,"canonicalSlug":"agentdiet-rag-diet-x402-compliance-check-018e18dc"}