{"uid":"cap_vTbgnkFGMpp_Zy5P78i2P","slug":"csv-header-contract-validator-for-evaluation-run-imports-77ebc588","name":"CSV Header Contract Validator for Evaluation Run Imports","description":"Evaluation run imports — Header contract check: Header contract check for Evaluation run imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV header contract check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-evaluations-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"evaluation_id,evaluated_on,dataset_id,correct_count,example_count\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3","maxLength":100000,"minLength":1},"maximum":{"type":"number","default":1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":-1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"delimiter":{"enum":[",",";","\t"],"type":"string","default":","},"max_cell_length":{"type":"integer","default":1000,"maximum":5000,"minimum":1},"allowed_categories":{"type":"array","items":{"type":"string","default":"","maxLength":100,"minLength":1},"default":["group-a","group-b"],"maxItems":100,"minItems":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_US897pbJa5vTkO1A8oHW4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a declared CSV table schema contract for evaluation run data, checking headers, data types, and constraints across up to 1000 rows.","exampleAgentPrompt":"Can you check whether my evaluation run CSV has the right headers and data? It uses a comma delimiter, has columns evaluation_id, evaluated_on, dataset_id, correct_count, and example_count, and the allowed category values are group-a and group-b.","exampleUseCases":[{"title":"Pre-import schema check for ML pipeline","prompt":"Before I push this evaluation run CSV into our ML pipeline, can you validate the headers and data contract? It's comma-delimited with columns evaluation_id, evaluated_on, dataset_id, correct_count, example_count — allowed dataset categories are group-a and group-b, and I want to catch any header mismatches or bad values."},{"title":"CI validation for evaluation data files","prompt":"In our CI workflow, can you run a header contract check on this evaluation CSV to make sure it matches our declared schema? Delimiter is comma, max cell length is 500, and valid categories are group-a, group-b, and group-c."},{"title":"Spot-check uploaded evaluation results","prompt":"I just got a CSV of evaluation results from a vendor — can you validate that the headers and data follow our contract before I accept it? The expected columns are evaluation_id, evaluated_on, dataset_id, correct_count, example_count and the only allowed categories are group-a and group-b."}],"resultDescription":"Returns a header contract check report detailing whether the CSV's declared headers conform to the expected schema, including any violations such as missing columns, unexpected headers, out-of-range numeric values, oversized cells, or disallowed category values across up to 1000 rows.","failureModes":["CSV exceeds 100,000 character limit — request rejected","CSV contains fewer than 1 row — minLength violation","Delimiter mismatch causes all data to appear in a single column","More than 100 allowed_categories supplied — exceeds maxItems","Cell values exceed max_cell_length threshold — flagged as violation","Malformed CSV (unclosed quotes, encoding issues) — parse error","Numeric values outside declared minimum/maximum bounds — flagged"],"whenToPreferThis":"Use this endpoint when you need to validate that a CSV file destined for evaluation run imports conforms to a declared header contract before ingestion. It is purpose-built for evaluation run schemas (evaluation_id, evaluated_on, dataset_id, correct_count, example_count) and supports configurable delimiters, numeric bounds, cell length limits, and category allowlists. Prefer this over generic CSV validators when you need domain-specific evaluation run contract checking at low cost ($0.01 per check) with support for quoted cells.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:05:41.023Z","isFirstParty":false,"canonicalSlug":"csv-header-contract-validator-for-evaluation-run-imports-77ebc588"}