{
  "format": "delx/intent-card/v1",
  "id": "agent-result-budget-check-api",
  "intent": "Agent Result Budget Check for an agent workflow",
  "title": "Agent Result Budget Check API for agents",
  "description": "Agent Result Budget Check: Agent Result Budget Check checks cumulative caller-supplied spend against daily and per-call budgets from bounded caller-supplied values without an external provider. Call Agent Result Budget Check 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 Result Budget Check 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 Result Budget Check API",
    "Agent Result Budget Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/agent-result-budget-check-api",
  "machine_url": "https://commerce.delx.ai/intents/agent-result-budget-check-api.json",
  "recommendation": {
    "tool_name": "util_agent_result_budget_check",
    "service_name": "Agent Result Budget Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/agent-result-budget-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "call_usdc": {
          "type": "string",
          "maxLength": 8192,
          "description": "Call USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
        },
        "spent_today_usdc": {
          "type": "string",
          "maxLength": 8192,
          "description": "Spent Today USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
        },
        "maximum_call_usdc": {
          "type": "string",
          "maxLength": 8192,
          "description": "Maximum Call USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
        },
        "maximum_day_usdc": {
          "type": "string",
          "maxLength": 8192,
          "description": "Maximum Day USDC supplied to Agent Result Budget Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "call_usdc",
        "spent_today_usdc",
        "maximum_call_usdc",
        "maximum_day_usdc"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "call_usdc": "0.001",
      "spent_today_usdc": "0.020",
      "maximum_call_usdc": "0.002",
      "maximum_day_usdc": "0.100"
    },
    "example_output": {
      "schema": "delx/util-agent-result-budget-check/v1",
      "operation": "delivery_contract:agent_result_budget_check",
      "status": "pass",
      "result": {
        "call_usdc": "0.001",
        "projected_day_usdc": "0.021",
        "within_call_budget": true,
        "within_day_budget": true
      },
      "evidence": {
        "input_sha256": "8ad48af0de0158cceae3022914dbbf4f16ced4ca1f4253475e7371a33188c62b",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/agent-result-budget-check -m POST -H 'x-delx-source: intent-card-agent-result-budget-check-api' --max-amount 0.001 -b '{\"call_usdc\":\"0.001\",\"spent_today_usdc\":\"0.020\",\"maximum_call_usdc\":\"0.002\",\"maximum_day_usdc\":\"0.100\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-agent-result-budget-check-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-result-budget-check"
  }
}
