← Market

Csv Preflight

Validate CSV rows against an import contract before database import or ETL. Check required headers and values, declared types, allowed values and numeric bounds; optionally check unique or composite keys, duplicate rows, and formula-like cells. Returns row-numbered issue codes only, never cell values. Deterministic; no model call; $0.005.

POST https://agent-evidence-extractor.defcronyke.workers.dev/v1/csv-preflight

0.005 USDC on Base · payTo 0xc4e484e62133dadac5be498ae3f311f5b8428cce

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: via OMNIGATE (https://omnigate.scriptmasterlabs.com) — seller opted in; receipt token per settlement; 0.005 USDC fee inside settlement, waived inside the daily budget

Payment routes

Base · 0.005 USDC · payTo 0xc4e484e62133dadac5be498ae3f311f5b8428cce · via omnigate · settles through OMNIGATE
{
  "csv": "account_id,invoice_id,status,note\nA1,I1,open,=1+1\nA1,I2,open,normal\nA1,I1,paid,normal\nA1,I1,open,=1+1",
  "columns": {
    "account_id": "string",
    "invoice_id": "string",
    "status": "string",
    "note": "string"
  },
  "required": [
    "account_id",
    "invoice_id",
    "status"
  ],
  "unique_by": [
    [
      "account_id",
      "invoice_id"
    ]
  ],
  "rules": {
    "status": {
      "allowed": [
        "open",
        "paid"
      ]
    }
  },
  "flag_formula_cells": true,
  "detect_duplicate_rows": true
}
{
  "ok": false,
  "summary": {
    "records": 4,
    "columns": 4,
    "issue_count": 5,
    "issue_counts": {
      "formula_like_value": 2,
      "duplicate_composite_key": 2,
      "duplicate_row": 1
    },
    "issues_truncated": false
  },
  "issues": [
    {
      "record": 2,
      "code": "formula_like_value",
      "column": "note"
    },
    {
      "record": 4,
      "code": "duplicate_composite_key",
      "column": "account_id,invoice_id"
    },
    {
      "record": 5,
      "code": "formula_like_value",
      "column": "note"
    },
    {
      "record": 5,
      "code": "duplicate_composite_key",
      "column": "account_id,invoice_id"
    },
    {
      "record": 5,
      "code": "duplicate_row"
    }
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://agent-evidence-extractor.defcronyke.workers.dev/v1/csv-preflight · input in body · spec from feed (schema inferred from example)

Input schema
{
  "type": "object",
  "properties": {
    "csv": {
      "type": "string"
    },
    "columns": {
      "type": "object",
      "properties": {
        "account_id": {
          "type": "string"
        },
        "invoice_id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "note": {
          "type": "string"
        }
      }
    },
    "required": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "unique_by": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "rules": {
      "type": "object",
      "properties": {
        "status": {
          "type": "object",
          "properties": {
            "allowed": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "flag_formula_cells": {
      "type": "boolean"
    },
    "detect_duplicate_rows": {
      "type": "boolean"
    }
  }
}
Output schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "summary": {
      "type": "object",
      "properties": {
        "records": {
          "type": "integer"
        },
        "columns": {
          "type": "integer"
        },
        "issue_count": {
          "type": "integer"
        },
        "issue_counts": {
          "type": "object",
          "properties": {
            "formula_like_value": {
              "type": "integer"
            },
            "duplicate_composite_key": {
              "type": "integer"
            },
            "duplicate_row": {
              "type": "integer"
            }
          }
        },
        "issues_truncated": {
          "type": "boolean"
        }
      }
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "record": {
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "column": {
            "type": "string"
          }
        }
      }
    }
  }
}
curl -i -X POST 'https://agent-evidence-extractor.defcronyke.workers.dev/v1/csv-preflight' \
  -H 'content-type: application/json' -d '{"csv":"account_id,invoice_id,status,note\nA1,I1,open,=1+1\nA1,I2,open,normal\nA1,I1,paid,normal\nA1,I1,open,=1+1","columns":{"account_id":"string","invoice_id":"string","status":"string","note":"string"},"required":["account_id","invoice_id","status"],"unique_by":[["account_id","invoice_id"]],"rules":{"status":{"allowed":["open","paid"]}},"flag_formula_cells":true,"detect_duplicate_rows":true}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)