{"uid":"cap_SzrHmCCgyhd1za8vW6O3S","slug":"x402-agent-suite-pro-mandate-compile-ad985cec","name":"x402 Agent Suite Pro – Mandate Compile","description":"24 paid x402 infrastructure APIs for AI agent fleets: buy advisor, audition coach, guard, proxy, MPP, attestations, and pipeline orchestration.","url":"https://x402-agent-suite-production.up.railway.app/api/mandate/compile","method":"POST","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":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","allowed","summary"],"properties":{"ok":{"type":"boolean"},"allowed":{"type":"boolean"},"summary":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"allowed":true,"summary":"Paid response after x402 settlement"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PBxZgbcHSpCIxrZuzsWI9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compiles and validates an HTTP mandate (GET, HEAD, or DELETE) for x402 payment-gated infrastructure, returning whether the mandate is allowed and a summary.","exampleAgentPrompt":"Compile an x402 HTTP mandate for a GET request so I can check whether it's allowed before routing it through the agent fleet's payment guard.","exampleUseCases":null,"resultDescription":"Returns a JSON object with `ok` (boolean indicating success), `allowed` (boolean indicating whether the mandate is permitted), and `summary` (a string describing the outcome of the compiled mandate evaluation).","failureModes":["Missing required `input` field returns validation error","Unsupported HTTP method (POST, PUT, PATCH) rejected — only GET, HEAD, DELETE allowed","Invalid mandate type (non-'http' value) causes schema rejection","Malformed input object with extra properties fails additionalProperties validation","Payment not settled causes 402 response before mandate is compiled"],"whenToPreferThis":"Use this endpoint when you need to compile and pre-validate an HTTP mandate (GET, HEAD, or DELETE) within the x402 agent infrastructure before routing it through guards, proxies, or pipelines. Prefer this over generic HTTP validation when you are operating within the x402 payment-gated ecosystem and need a structured allowed/summary response for agent decision-making.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:43.245Z","isFirstParty":false}