{"uid":"cap_AT8gejsRc_RMBQwwCMfbM","slug":"return-imports-csv-numeric-type-check-d789de94","name":"Return Imports CSV Numeric Type Check","description":"Return imports — Numeric type check: Numeric type check 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 numeric type check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-returns-types?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_WD2kIfeZqcQZpaLJ4woRZ","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 all numeric columns in a return-imports CSV table contain valid numeric values, within optional min/max bounds and allowed categorical values.","exampleAgentPrompt":"Check this return imports CSV for numeric type errors — validate that the returned_units and restocking_fee columns are all valid numbers, with values between 0 and 10000, using a comma delimiter: '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'","exampleUseCases":[{"title":"Pre-import returns data quality gate","prompt":"Before we import this batch of return records into our system, check that all the numeric columns — returned_units and restocking_fee — actually contain valid numbers. Here's the CSV with comma delimiters, and flag anything outside the range 0 to 500."},{"title":"Automated returns pipeline validation","prompt":"Run a numeric type check on our returns CSV — I need to confirm none of the number fields have accidental text or blank values. The allowed reason codes are group-a, group-b, and group-c, and the restocking fees should never exceed 1000."},{"title":"Data contract compliance check for finance team","prompt":"Our finance team declared that returned_units and restocking_fee must be numeric in the returns import file. Can you validate this CSV against that contract and give me a report of any rows that violate the numeric type requirement?"}],"resultDescription":"A numeric type check report indicating which cells or rows in the CSV contain non-numeric values in expected numeric columns, whether values fall within the specified min/max bounds, and an overall pass/fail status for the declared CSV data contract. Covers up to 1000 rows with quoted cell support.","failureModes":["CSV exceeds 100,000 character limit — request rejected","CSV has fewer than 1 character — empty input error","Delimiter not one of comma, semicolon, or tab — validation error","Minimum value exceeds maximum value — configuration error","Cell length exceeds max_cell_length setting — cell truncation or rejection","More than 100 allowed_categories specified — parameter limit error","Malformed CSV that cannot be parsed — parse error in report"],"whenToPreferThis":"Use this endpoint when you need to validate that numeric columns in a return-imports CSV dataset contain properly typed numeric values and fall within expected bounds, as part of a data pipeline or before ingesting return records into a system. It is purpose-built for return import data contracts and supports quoted cells, configurable delimiters, and categorical allowlists — making it more targeted than a generic CSV validator when the domain is product returns data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:53:23.370Z","isFirstParty":false,"canonicalSlug":"return-imports-csv-numeric-type-check-d789de94"}