{
  "format": "delx/intent-card/v1",
  "id": "workflow-gate-api",
  "intent": "Workflow Gate for an agent workflow",
  "title": "Workflow Gate API for agents",
  "description": "Gate a workflow on an explicit boolean check map before side effects — call when a boolean checklist must pass before side effects. Use before side effects when composing multi-step agent jobs—the same loyalty/workflow demand band agents already pay for on Bazaar, but fully local. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.",
  "keywords": [
    "Workflow Gate API",
    "Workflow Gate for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/workflow-gate-api",
  "machine_url": "https://commerce.delx.ai/intents/workflow-gate-api.json",
  "recommendation": {
    "tool_name": "util_workflow_gate",
    "service_name": "Delx Workflow Gate",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/workflow-gate",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "checks": {
          "description": "Map of named boolean preflight checks.",
          "type": "object"
        },
        "required": {
          "description": "Check names that must be true for the gate to open.",
          "type": "array"
        }
      },
      "required": [
        "checks"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "checks": {
        "tests": true,
        "approval": false
      },
      "required": [
        "tests",
        "approval"
      ]
    },
    "example_output": {
      "schema": "delx/util-workflow-gate/v1",
      "allowed": false,
      "missing": [
        "approval"
      ],
      "required": [
        "tests",
        "approval"
      ],
      "advisory": "Caller remains responsible for side-effect authorization."
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/workflow-gate -m POST -H 'x-delx-source: intent-card-workflow-gate-api' --max-amount 0.003 -b '{\"checks\":{\"tests\":true,\"approval\":false},\"required\":[\"tests\",\"approval\"]}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-workflow-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/workflow-gate"
  }
}
