{"slug":"agent-evidence-extractor-defcronyke-workers-dev-v1-batch-csv-4c80bc","title":"Validate 2 to 5 CSV files against one shared import schema, with optional header","host":"agent-evidence-extractor.defcronyke.workers.dev","method":"POST","resource":"https://agent-evidence-extractor.defcronyke.workers.dev/v1/batch-csv-import-ready","category":"other","description":"Validate 2 to 5 CSV files against one shared import schema, with optional header_aliases. Passing files return typed JSON. Failed files return row and column issue codes without cell values. Accepts 262,144 combined characters and 1,000 records per file. Deterministic; no model call. $0.005 USDC per","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checked_on":"2026-12-02","checks_7d":1,"answered_7d":1,"latency_ms_median":598,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"coerce_types":true,"columns":{"active":"boolean","quantity":"integer","sku":"string"},"items":["sku,quantity,active\nA1,3,true","sku,quantity,active\nA2,no,false"],"required":["sku","quantity","active"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"coerce_types":{"description":"When true, convert declared integer, number, and boolean columns to native JSON numbers and booleans. Blank cells and string/date/email values remain strings.","type":"boolean"},"columns":{"additionalProperties":{"enum":["string","integer","number","boolean","date","email"],"type":"string"},"description":"Map expected CSV header names to types.","maxProperties":50,"minProperties":1,"type":"object"},"detect_duplicate_rows":{"description":"Optionally flag exact repeated full rows after trimming outer whitespace; reports row numbers only.","type":"boolean"},"flag_formula_cells":{"description":"Optionally flag cells beginning with spreadsheet formula markers; reports only row/column and does not return or change values.","type":"boolean"},"header_aliases":{"additionalProperties":{"maxLength":128,"minLength":1,"type":"string"},"description":"Map exact vendor CSV header names (after trim/BOM removal, case-sensitive) to declared schema column names before cleanup, profiling, validation, and conversion.","maxProperties":50,"type":"object"},"items":{"description":"Two to five CSV documents with a combined limit of 262,144 characters; each file is limited to 1,000 records.","items":{"minLength":1,"type":"string"},"maxItems":5,"minItems":2,"type":"array"},"required":{"description":"Columns that may not be empty; each name must also appear in columns.","items":{"type":"string"},"type":"array","uniqueItems":true},"rules":{"additionalProperties":{"additionalProperties":false,"properties":{"allowed":{"items":{"maxLength":256,"type":"string"},"maxItems":100,"type":"array"},"max":{"type":"number"},"min":{"type":"number"},"unique":{"type":"boolean"}},"type":"object"},"description":"Optional per-column rules, limited to 16,384 serialized characters.","maxProperties":50,"type":"object"},"transformations":{"additionalProperties":{"items":{"enum":["trim","collapse_whitespace","lowercase","uppercase","remove_control_characters"],"type":"string"},"maxItems":5,"minItems":1,"type":"array","uniqueItems":true},"description":"Optional ordered cleanup rules applied to selected data columns before validation and JSON conversion.","maxProperties":50,"minProperties":1,"type":"object"},"unique_by":{"description":"Optional composite keys. Each key lists 2 to 10 declared columns; duplicate complete tuples are reported without returning their values.","items":{"items":{"type":"string"},"maxItems":10,"minItems":2,"type":"array","uniqueItems":true},"maxItems":20,"type":"array"}},"required":["items","columns"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":598,"error":null}],"description_full":"Validate 2 to 5 CSV files against one shared import schema, with optional header_aliases. Passing files return typed JSON. Failed files return row and column issue codes without cell values. Accepts 262,144 combined characters and 1,000 records per file. Deterministic; no model call. $0.005 USDC per batch.","last_updated":"2026-12-02T09:53:03.136Z","schemes":["exact"]}