{
  "x402Version": 2,
  "id": 79720,
  "slug": "79720",
  "resource": "https://agent-evidence-extractor.defcronyke.workers.dev/v1/csv-import-ready",
  "description": "Map exact vendor CSV header names or aliases to canonical schema columns with header_aliases; clean selected data columns, profile, validate the caller's ETL import schema, and convert passing records to typed JSON in one deterministic $0.005 USDC call. Transformations run before validation. Failed imports return issue codes without rejected cell values.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xc4e484e62133dadac5be498ae3f311f5b8428cce",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xc4e484e62133dadac5be498ae3f311f5b8428cce",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xc4e484e62133dadac5be498ae3f311f5b8428cce",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "type": "object",
    "required": [
      "ok",
      "validation",
      "delimiter",
      "rows",
      "value_types_coerced",
      "profile",
      "note"
    ],
    "properties": {
      "ok": {
        "type": "boolean"
      },
      "validation": {
        "type": "object"
      },
      "delimiter": {
        "type": "string",
        "enum": [
          "comma",
          "semicolon",
          "tab",
          "pipe"
        ]
      },
      "columns": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "row_count": {
        "type": "integer"
      },
      "skipped_blank_rows": {
        "type": "integer"
      },
      "rows": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "number",
              "boolean"
            ]
          }
        }
      },
      "value_types_coerced": {
        "type": "boolean"
      },
      "coerced_types": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "integer",
            "number",
            "boolean"
          ]
        }
      },
      "cleaning": {
        "type": "object",
        "properties": {
          "transformations_applied": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "changed_cells": {
            "type": "integer"
          },
          "changed_cells_by_column": {
            "type": "object",
            "additionalProperties": {
              "type": "integer"
            }
          }
        }
      },
      "profile": {
        "type": "object"
      },
      "header_aliases_applied": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "from": {
              "type": "string"
            },
            "to": {
              "type": "string"
            }
          }
        }
      },
      "note": {
        "type": "string"
      }
    }
  },
  "tags": [
    "csv-header-mapping",
    "csv-header-aliases",
    "map-csv-columns",
    "map-csv-headers-to-canonical-columns",
    "canonical-csv-columns",
    "vendor-csv-header-aliases",
    "rename-csv-columns",
    "csv-column-mapping",
    "csv-import",
    "csv-import-validation",
    "csv-import-validator",
    "csv-preflight",
    "csv-to-json",
    "csv-json-conversion",
    "etl",
    "etl-import",
    "csv-schema-validation",
    "required-columns",
    "csv-required-columns",
    "typed-json",
    "duplicate-keys",
    "csv-cleanup",
    "csv-normalization",
    "data-ingestion"
  ],
  "sourceHost": "agent-evidence-extractor.defcronyke.workers.dev",
  "lastUpdated": "2026-11-15T04:58:32.967Z",
  "quality": {},
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "agent-evidence-extractor.defcronyke.workers.dev",
    "manifest_name": "Agent Evidence Utility",
    "source": "submitted",
    "source_manifest_url": "https://agent-evidence-extractor.defcronyke.workers.dev/.well-known/x402",
    "submitted_at": "2026-11-15T04:58:32.967Z"
  },
  "exampleResponse": {
    "ok": true,
    "validation": {},
    "delimiter": "comma",
    "columns": [
      "string"
    ],
    "row_count": 0,
    "skipped_blank_rows": 0,
    "rows": [
      {}
    ],
    "value_types_coerced": true,
    "coerced_types": [
      "integer"
    ],
    "cleaning": {
      "transformations_applied": [
        "string"
      ],
      "changed_cells": 0,
      "changed_cells_by_column": {}
    },
    "profile": {},
    "header_aliases_applied": [
      {
        "from": "string",
        "to": "string"
      }
    ],
    "note": "string"
  }
}