{"uid":"cap_z9hJHPfK4KpucTKYNUXGg","slug":"product-imports-csv-header-contract-check-2e6c3657","name":"Product Imports CSV Header Contract Check","description":"Product imports — Header contract check: Header contract check for Product 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-products-schema?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"sku,introduced_on,category_id,list_price,unit_weight_kg\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_S-xM7lRvEktDcfjz_jIyi","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 CSV file's header contract for product import data, checking up to 1000 rows against declared schema constraints including categories, price ranges, and cell lengths.","exampleAgentPrompt":"Can you check my product import CSV to make sure the headers and data are valid? The CSV uses comma delimiters, allowed categories are 'electronics' and 'apparel', prices should be between 0 and 9999, and here's the data: sku,introduced_on,category_id,list_price,unit_weight_kg\\nitem-1,2026-03-01,electronics,49.99,0.5","exampleUseCases":[{"title":"Pre-upload product catalog validation","prompt":"Before I upload this product catalog to our store, can you validate the CSV contract? It's comma-delimited, allowed categories are 'furniture' and 'lighting', and list prices should be between 1 and 5000. Here's the CSV content."},{"title":"Catch bad category values in import file","prompt":"I have a product import file and I want to make sure all category_id values are only 'group-a' or 'group-b', prices are between 0 and 10000, and no cell exceeds 500 characters — can you run a header contract check on it using comma as the delimiter?"},{"title":"Automated CI check for product data files","prompt":"As part of our data pipeline, check this product CSV for header contract compliance — delimiter is semicolon, allowed categories are 'raw-materials' and 'components', min price is 0.01 and max is 999999, and flag any rows that violate the schema."}],"resultDescription":"A structured CSV header contract check report indicating whether the submitted CSV conforms to the declared schema, including any header mismatches, invalid category values, out-of-range numeric fields, oversized cells, or row-level violations found within the first 1000 rows.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 validated","Invalid delimiter specified — must be comma, semicolon, or tab","Empty CSV string submitted — validation cannot proceed","Category values not in allowed_categories list — flagged as violations","Cell length exceeds max_cell_length — reported as error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.01 USDC) automated check that a product import CSV conforms to a declared header contract before ingesting it into a catalog system. It is ideal for CI/CD data pipelines, pre-upload validation gates, or any workflow where catching schema violations early (wrong categories, out-of-range prices, malformed headers) saves downstream processing costs. It supports quoted cells and multiple delimiters, making it suitable for CSV files exported from various tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:47:12.103Z","isFirstParty":false,"canonicalSlug":"product-imports-csv-header-contract-check-2e6c3657"}