{"uid":"cap_3o1MNgOw3g1lI-L6_VawW","slug":"training-example-metadata-csv-header-contract-check-aec74825","name":"Training Example Metadata — CSV Header Contract Check","description":"Training example metadata — Header contract check: Header contract check for Training example metadata. 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-training-data-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"example_id,created_on,label,text_length,sample_weight\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_eg34ki1CV9mxNGq8eQV8-","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 contract (headers, types, categories, numeric ranges, cell lengths) for training example metadata, returning a structured report for up to 1000 rows.","exampleAgentPrompt":"Can you check whether my training data CSV conforms to its header contract? The CSV uses comma delimiters, allows categories 'group-a' and 'group-b', cells up to 1000 characters, and numeric values between -1000000000000 and 1000000000000 — here's the CSV content: 'example_id,created_on,label,text_length,sample_weight\\nrecord-a,2026-01-01,group-a,10,2\\nrecord-b,2026-01-02,group-b,20,3'","exampleUseCases":[{"title":"ML training data schema check","prompt":"I have a CSV of training examples with columns example_id, created_on, label, text_length, and sample_weight. Can you validate it against our declared contract — comma-separated, categories must be 'group-a' or 'group-b', max 1000 characters per cell? Here's the CSV content."},{"title":"Catch invalid category labels before pipeline run","prompt":"Before I push this training CSV into the ML pipeline, can you run a header contract check to make sure all the label values are within the allowed set 'group-a' and 'group-b', using a comma delimiter and max cell length of 500?"},{"title":"Numeric range validation for sample weights","prompt":"Can you validate my training data CSV to confirm all numeric fields fall between 0 and 1000, categories are only 'group-a' or 'group-b', and no cell exceeds 200 characters? Use comma as the delimiter."}],"resultDescription":"A structured CSV header contract check report indicating whether the submitted CSV conforms to the declared contract, including any violations of category constraints, numeric range bounds, cell length limits, delimiter format, or header expectations — covering up to 1000 rows.","failureModes":["CSV exceeds 100,000 character limit — request rejected","CSV contains fewer than 1 character — minLength violation","Delimiter not one of comma, semicolon, or tab — enum validation error","Cell length exceeds specified max_cell_length — flagged in report","Numeric values outside specified minimum/maximum bounds — constraint violation reported","Allowed categories array contains more than 100 items — schema error","Payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to validate a training data CSV against a formally declared header contract — checking column headers, category allowlists, numeric ranges, and cell lengths in a single pass. Prefer it over generic CSV linters when working specifically with ML training example datasets that have structured label and weight columns, and when you need a machine-readable compliance report without external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:55:17.303Z","isFirstParty":false,"canonicalSlug":"training-example-metadata-csv-header-contract-check-aec74825"}