{
  "format": "delx/intent-card/v1",
  "id": "cache-control-directive-diff-api",
  "intent": "Cache Control Directive Diff for an agent workflow",
  "title": "Cache Control Directive Diff API for agents",
  "description": "Cache Control Directive Diff: Cache Control Directive Diff finds added, removed, and changed Cache-Control directives from bounded caller-supplied values without an external provider. Call Cache Control Directive Diff before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Cache Control Directive Diff 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: Evaluates only caller-supplied metadata; it performs no DNS lookup, HTTP request, web search, credential use, or persistent storage. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "Cache Control Directive Diff API",
    "Cache Control Directive Diff for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/cache-control-directive-diff-api",
  "machine_url": "https://commerce.delx.ai/intents/cache-control-directive-diff-api.json",
  "recommendation": {
    "tool_name": "util_cache_control_directive_diff",
    "service_name": "Cache Control Directive Diff",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/cache-control-directive-diff",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "before": {
          "type": "string",
          "maxLength": 8192,
          "description": "Before supplied to Cache Control Directive Diff; used only for this bounded calculation and processed in memory without retention."
        },
        "after": {
          "type": "string",
          "maxLength": 8192,
          "description": "After supplied to Cache Control Directive Diff; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "before",
        "after"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "before": "public, max-age=300",
      "after": "private, max-age=60"
    },
    "example_output": {
      "schema": "delx/util-cache-control-directive-diff/v1",
      "operation": "web_reliability:cache_control_directive_diff",
      "status": "pass",
      "result": {
        "added": {
          "private": true
        },
        "removed": {
          "public": true
        },
        "changed": {
          "max-age": {
            "before": "300",
            "after": "60"
          }
        }
      },
      "evidence": {
        "input_sha256": "44c8102f91f5f32c1febe922935b8d0efa8cf2460a7ce344626bb417971a16f3",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/cache-control-directive-diff -m POST -H 'x-delx-source: intent-card-cache-control-directive-diff-api' --max-amount 0.001 -b '{\"before\":\"public, max-age=300\",\"after\":\"private, max-age=60\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-cache-control-directive-diff-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/cache-control-directive-diff"
  }
}
