{"uid":"cap_jiqUqJ5BTHfhqoflsfJXq","slug":"delx-commerce-agent-delivery-fallback-gate-7eb47f92","name":"Delx Commerce — Agent Delivery Fallback Gate","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/agent-delivery-fallback-gate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"failure_code":{"type":"string","maxLength":8192,"description":"Failure Code supplied to Agent Delivery Fallback Gate; used only for this bounded calculation and processed in memory without retention."},"primary_status":{"type":"string","maxLength":8192,"description":"Primary Status supplied to Agent Delivery Fallback Gate; used only for this bounded calculation and processed in memory without retention."},"fallback_available":{"type":"boolean","description":"Fallback Available supplied to Agent Delivery Fallback Gate; used only for this bounded calculation and processed in memory without retention."},"allowed_failure_codes":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Allowed Failure Codes supplied to Agent Delivery Fallback Gate; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"failure_allowed":true,"fallback_permitted":true},"schema":"delx/util-agent-delivery-fallback-gate/v1","status":"pass","evidence":{"retained":false,"input_sha256":"90bc182d30b20aad9cdbf98c44d1452bf8205f8ad59c3d598c333e1fd05badaf","external_calls":0},"operation":"delivery_contract:agent_delivery_fallback_gate"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S8vJzacGM57WIyeQUWRfC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates whether a delivery failure code is permitted and whether a fallback delivery path is allowed for an agent workflow.","exampleAgentPrompt":"Check if the failure code 'TIMEOUT_503' with primary status 'failed' is allowed and whether fallback is permitted, given that fallback is available and my allowed failure codes are ['TIMEOUT_503', 'NETWORK_ERR'].","exampleUseCases":[{"title":"Agent pipeline fallback gating","prompt":"My agent delivery just failed with failure code 'CONN_REFUSED' and primary status 'error'. Fallback is available and the allowed codes are ['CONN_REFUSED', 'TIMEOUT']. Check if this failure is allowed and whether fallback delivery should proceed."},{"title":"Delivery contract compliance check","prompt":"Before my agent retries a delivery, validate that failure code 'RATE_LIMIT_429' with primary status 'degraded' is within our allowed failure codes list ['RATE_LIMIT_429'] and that fallback is permitted given fallback is available."},{"title":"Blocking unauthorized failure escalation","prompt":"My agent got a failure code 'AUTH_FAIL' with status 'rejected' and fallback is not available. Allowed failure codes are ['TIMEOUT', 'CONN_REFUSED']. Check whether this failure is allowed and whether fallback can proceed."}],"resultDescription":"Returns a JSON object indicating whether the failure code is allowed (failure_allowed boolean), whether fallback delivery is permitted (fallback_permitted boolean), an overall pass/fail status, and a verifiable evidence block including a SHA-256 hash of the input, a flag confirming no data was retained, and a count of external calls made (always 0).","failureModes":["Missing or malformed failure_code or primary_status fields may produce unexpected gate results","If allowed_failure_codes list is empty, most failure codes will likely be rejected","Payment failure via x402 protocol will prevent the call from completing","Exceeding maxItems (256) on allowed_failure_codes will cause a schema validation error"],"whenToPreferThis":"Use this endpoint when your agent workflow needs a verifiable, pay-per-use gate to decide whether a delivery failure is within policy and whether a fallback path is safe to take. It is ideal for agentic pipelines that need cryptographic proof of the decision (via input hash and zero-retention evidence) without standing up their own gating infrastructure. Prefer it over custom logic when you need an auditable, tamper-evident record of the fallback decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:22.684Z","isFirstParty":false,"canonicalSlug":"delx-commerce-agent-delivery-fallback-gate-7eb47f92"}