{"uid":"cap_uVteHhBkL8E5VYoCd1_Ey","slug":"return-imports-csv-invalid-row-export-73943943","name":"Return Imports CSV Invalid Row Export","description":"Return imports — Invalid row export: Invalid row export for Return 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 invalid row export report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-returns-invalid-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"return_id,received_on,reason_code,returned_units,restocking_fee\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_AOlV9wNVCLRehOOhLVl9z","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 of return import records and exports a report identifying all invalid rows that violate declared constraints.","exampleAgentPrompt":"Can you check my returns CSV for invalid rows? The file uses commas as delimiters, allowed reason codes are group-a and group-b, and I want to flag any numeric values outside -1000000 to 1000000 — here's the CSV: return_id,received_on,reason_code,returned_units,restocking_fee\\nrecord-a,2026-01-01,group-a,10,2\\nrecord-b,2026-01-02,group-z,20,3","exampleUseCases":[{"title":"Pre-upload returns data audit","prompt":"Before I push this batch of return records into our system, can you run it through validation and show me exactly which rows are invalid? The CSV uses commas, allowed reason codes are group-a, group-b, and group-c, and restocking fees should be between 0 and 500."},{"title":"Flagging bad reason codes in returns","prompt":"I have a CSV of customer return imports and I suspect some rows have reason codes we don't allow — only group-a and group-b are valid. Can you scan through it and give me a report of every row that fails?"},{"title":"Quality check before returns reconciliation","prompt":"We're about to reconcile last month's returns and I need to catch any malformed rows in this CSV first — delimited by semicolons, max cell length 200, and numeric columns should stay between -50000 and 50000. Here's the data, can you export the invalid rows?"}],"resultDescription":"A structured report identifying all rows in the submitted CSV that violate the declared constraints — including rows with disallowed category values, out-of-range numeric fields, cells exceeding maximum length, or other format violations. Up to 1000 rows are validated per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only up to 1000 processed","Unsupported delimiter used — must be comma, semicolon, or tab","Cell length exceeds max_cell_length — flagged as invalid","Payment not included or invalid — x402 payment required","Malformed CSV (unclosed quotes, wrong column counts) — parsing error returned"],"whenToPreferThis":"Use this endpoint when you need to validate a CSV of return import records against a declared schema contract — including numeric range bounds, allowed categorical values, and cell length limits — and receive a focused report of only the invalid rows. Prefer this over generic CSV validators when your use case is specifically returns data with structured constraints, and over manual review when dealing with up to 1000 rows at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:33.482Z","isFirstParty":false,"canonicalSlug":"return-imports-csv-invalid-row-export-73943943"}