{
  "format": "delx/intent-card/v1",
  "id": "agent-delivery-fallback-gate-api",
  "intent": "Agent Delivery Fallback Gate for an agent workflow",
  "title": "Agent Delivery Fallback Gate API for agents",
  "description": "Agent Delivery Fallback Gate: Agent Delivery Fallback Gate checks whether failure conditions permit a declared fallback from bounded caller-supplied values without an external provider. Call Agent Delivery Fallback Gate before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for Agent Delivery Fallback Gate as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Validates metadata only; it never settles payment, signs payloads, contacts a facilitator, refunds funds, or asserts on-chain truth. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "Agent Delivery Fallback Gate API",
    "Agent Delivery Fallback Gate for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/agent-delivery-fallback-gate-api",
  "machine_url": "https://commerce.delx.ai/intents/agent-delivery-fallback-gate-api.json",
  "recommendation": {
    "tool_name": "util_agent_delivery_fallback_gate",
    "service_name": "Agent Delivery Fallback Gate",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/agent-delivery-fallback-gate",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "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."
        },
        "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."
        },
        "allowed_failure_codes": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed Failure Codes 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."
        }
      },
      "required": [
        "primary_status",
        "failure_code",
        "allowed_failure_codes",
        "fallback_available"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "primary_status": "failed",
      "failure_code": "timeout",
      "allowed_failure_codes": [
        "timeout",
        "unavailable"
      ],
      "fallback_available": true
    },
    "example_output": {
      "schema": "delx/util-agent-delivery-fallback-gate/v1",
      "operation": "delivery_contract:agent_delivery_fallback_gate",
      "status": "pass",
      "result": {
        "fallback_permitted": true,
        "failure_allowed": true
      },
      "evidence": {
        "input_sha256": "90bc182d30b20aad9cdbf98c44d1452bf8205f8ad59c3d598c333e1fd05badaf",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/agent-delivery-fallback-gate -m POST -H 'x-delx-source: intent-card-agent-delivery-fallback-gate-api' --max-amount 0.001 -b '{\"primary_status\":\"failed\",\"failure_code\":\"timeout\",\"allowed_failure_codes\":[\"timeout\",\"unavailable\"],\"fallback_available\":true}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-agent-delivery-fallback-gate-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/agent-delivery-fallback-gate"
  }
}
