{
  "format": "delx/intent-card/v1",
  "id": "timeout-budget-api",
  "intent": "Timeout Budget for an agent workflow",
  "title": "Timeout Budget API for agents",
  "description": "Split a total timeout into per-step budgets after reserved overhead — call when carving a parent timeout into per-step slices after overhead. 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": [
    "Timeout Budget API",
    "Timeout Budget for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/timeout-budget-api",
  "machine_url": "https://commerce.delx.ai/intents/timeout-budget-api.json",
  "recommendation": {
    "tool_name": "util_timeout_budget",
    "service_name": "Delx Timeout Budget",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/timeout-budget",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "total_ms": {
          "description": "Total timeout budget in milliseconds.",
          "type": "number"
        },
        "reserved_ms": {
          "description": "Milliseconds reserved for overhead before per-step split.",
          "type": "number"
        },
        "steps": {
          "description": "Count of sequential steps that share the remaining timeout after reserved overhead.",
          "type": "number"
        }
      },
      "required": [
        "total_ms",
        "steps"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "total_ms": 5000,
      "reserved_ms": 500,
      "steps": 3
    },
    "example_output": {
      "schema": "delx/util-timeout-budget/v1",
      "total_ms": 5000,
      "reserved_ms": 500,
      "available_ms": 4500,
      "steps": 3,
      "per_step_ms": 1500,
      "feasible": true
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/timeout-budget -m POST -H 'x-delx-source: intent-card-timeout-budget-api' --max-amount 0.003 -b '{\"total_ms\":5000,\"reserved_ms\":500,\"steps\":3}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-timeout-budget-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/timeout-budget"
  }
}
