{
  "format": "delx/intent-card/v1",
  "id": "csp-source-check-api",
  "intent": "CSP Source Check for an agent workflow",
  "title": "CSP Source Check API for agents",
  "description": "CSP Source Check: CSP Source Check checks whether a caller-supplied source is present in one CSP directive from bounded caller-supplied values without an external provider. Call CSP Source Check 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 CSP Source 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: 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": [
    "CSP Source Check API",
    "CSP Source Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/csp-source-check-api",
  "machine_url": "https://commerce.delx.ai/intents/csp-source-check-api.json",
  "recommendation": {
    "tool_name": "util_csp_source_check",
    "service_name": "CSP Source Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/csp-source-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "header": {
          "type": "string",
          "maxLength": 8192,
          "description": "Header supplied to CSP Source Check; used only for this bounded calculation and processed in memory without retention."
        },
        "directive": {
          "type": "string",
          "maxLength": 8192,
          "description": "Directive supplied to CSP Source Check; used only for this bounded calculation and processed in memory without retention."
        },
        "source": {
          "type": "string",
          "maxLength": 8192,
          "description": "Source supplied to CSP Source Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "header",
        "directive",
        "source"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "header": "default-src 'self'; connect-src 'self' https://api.example.com",
      "directive": "connect-src",
      "source": "https://api.example.com"
    },
    "example_output": {
      "schema": "delx/util-csp-source-check/v1",
      "operation": "web_reliability:csp_source_check",
      "status": "pass",
      "result": {
        "directive": "connect-src",
        "source": "https://api.example.com",
        "present": true,
        "sources": [
          "'self'",
          "https://api.example.com"
        ]
      },
      "evidence": {
        "input_sha256": "28ce2f05a29beab331ef11c94ccca09b3de52f20fc1aaf0a876da89ecbba12bd",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/csp-source-check -m POST -H 'x-delx-source: intent-card-csp-source-check-api' --max-amount 0.001 -b '{\"header\":\"default-src '\"'\"'self'\"'\"'; connect-src '\"'\"'self'\"'\"' https://api.example.com\",\"directive\":\"connect-src\",\"source\":\"https://api.example.com\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-csp-source-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/csp-source-check"
  }
}
