{
  "format": "delx/intent-card/v1",
  "id": "cors-preflight-check-api",
  "intent": "CORS Preflight Check for an agent workflow",
  "title": "CORS Preflight Check API for agents",
  "description": "CORS Preflight Check: CORS Preflight Check checks requested method and headers against a CORS preflight policy from bounded caller-supplied values without an external provider. Call CORS Preflight 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 CORS Preflight 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": [
    "CORS Preflight Check API",
    "CORS Preflight Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/cors-preflight-check-api",
  "machine_url": "https://commerce.delx.ai/intents/cors-preflight-check-api.json",
  "recommendation": {
    "tool_name": "util_cors_preflight_check",
    "service_name": "CORS Preflight Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/cors-preflight-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "maxLength": 8192,
          "description": "Method supplied to CORS Preflight Check; used only for this bounded calculation and processed in memory without retention."
        },
        "request_headers": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Request Headers supplied to CORS Preflight Check; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed_methods": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed Methods supplied to CORS Preflight Check; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed_headers": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed Headers supplied to CORS Preflight Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "method",
        "request_headers",
        "allowed_methods",
        "allowed_headers"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "method": "POST",
      "request_headers": [
        "content-type",
        "x-request-id"
      ],
      "allowed_methods": [
        "GET",
        "POST"
      ],
      "allowed_headers": [
        "content-type",
        "x-request-id"
      ]
    },
    "example_output": {
      "schema": "delx/util-cors-preflight-check/v1",
      "operation": "web_reliability:cors_preflight_check",
      "status": "pass",
      "result": {
        "method_allowed": true,
        "missing_headers": [],
        "allowed": true
      },
      "evidence": {
        "input_sha256": "571002a70ff839ab886cb4c05bd47a50845ad003d3ec5eba7e599a0b18fee704",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/cors-preflight-check -m POST -H 'x-delx-source: intent-card-cors-preflight-check-api' --max-amount 0.001 -b '{\"method\":\"POST\",\"request_headers\":[\"content-type\",\"x-request-id\"],\"allowed_methods\":[\"GET\",\"POST\"],\"allowed_headers\":[\"content-type\",\"x-request-id\"]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-cors-preflight-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/cors-preflight-check"
  }
}
