{"uid":"cap_cBnqab4HoO_aXCGJP0DOu","slug":"product-imports-category-allowlist-check-a6bfaf74","name":"Product Imports — Category Allowlist Check","description":"Product imports — Category allowlist check: Category allowlist 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 category allowlist check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-products-categories?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_mN17yQqKfoorhp__sXSP-","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 that every product row in a submitted CSV has a category_id that belongs to an approved allowlist, returning a structured compliance report.","exampleAgentPrompt":"Can you check my product import CSV and make sure every row has a category_id that's either 'electronics' or 'accessories'? Here's the CSV with columns sku, introduced_on, category_id, list_price, unit_weight_kg — use comma as the delimiter and flag anything that doesn't match the allowlist.","exampleUseCases":[{"title":"Pre-import category compliance gate","prompt":"Before we push this product CSV to our catalog system, check that every product's category_id is one of 'apparel', 'footwear', or 'accessories' — the file uses commas as delimiters and has about 400 rows. Flag any rows with categories outside that allowlist."},{"title":"Supplier data quality audit","prompt":"We just received a product feed from our supplier as a CSV. Can you validate it against our approved category list — 'home-goods', 'kitchen', 'garden' — and give me a report of which rows have unrecognized categories so I can send them corrections?"},{"title":"Automated nightly import validation","prompt":"Every night we get a new products CSV drop — run the category allowlist check on tonight's file to make sure everything is tagged as either 'group-a' or 'group-b', using tab as the delimiter, and tell me if any rows fail."}],"resultDescription":"A structured report indicating which rows (if any) contain category_id values not present in the allowed_categories list, along with overall pass/fail status for the submitted CSV. Up to 1000 rows are evaluated per call, with quoted-cell support and configurable delimiter.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — rows beyond limit may be ignored or rejected","Invalid delimiter specified — must be comma, semicolon, or tab","allowed_categories list exceeds 100 entries — schema violation","Cell content exceeds max_cell_length — parsing error","Malformed CSV (unclosed quotes, mismatched columns) — parse failure","Empty CSV body — minimum length not met"],"whenToPreferThis":"Use this endpoint when you need a lightweight, low-cost ($0.01 USDC) pre-import validation pass specifically targeting category_id compliance in a product CSV, without requiring external enrichment or complex schema validation. Ideal for automated pipeline gates, supplier data audits, or nightly batch checks where category policy enforcement is the primary concern and files are under 1000 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:50.089Z","isFirstParty":false,"canonicalSlug":"product-imports-category-allowlist-check-a6bfaf74"}