{"uid":"cap_dJEOPuJ_r96HQmUfGX1lP","slug":"purchase-order-imports-csv-column-statistics-4924f2e1","name":"Purchase Order Imports — CSV Column Statistics","description":"Purchase order imports — Column statistics: Column statistics for Purchase order 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 column statistics report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-purchases-column-stats?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"purchase_id,placed_on,vendor_id,ordered_units,order_amount\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_cZmI8PCL3XCxOmM81BFsw","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":"Computes per-column statistics for a purchase order CSV table, validating structure and content against a declared schema contract (up to 1000 rows).","exampleAgentPrompt":"Can you run column statistics on this purchase order CSV I have — it uses comma delimiters, vendor IDs should only be 'group-a' or 'group-b', and order amounts should be between 0 and 10000? Here's the CSV: purchase_id,placed_on,vendor_id,ordered_units,order_amount\\nPO-001,2026-01-15,group-a,5,1500\\nPO-002,2026-01-16,group-b,12,3400","exampleUseCases":[{"title":"Pre-import PO data quality check","prompt":"Before I import this purchase order file into our ERP, can you analyze the columns and tell me if vendor IDs are only 'group-a' or 'group-b', and whether order amounts stay between 0 and 500000? Here's the CSV with comma separators."},{"title":"Validating finance team's CSV export","prompt":"My finance team exported purchase orders as a tab-separated CSV — can you compute column statistics on it and flag any cells that are over 500 characters or have numeric values outside the range -1000 to 1000000?"},{"title":"Auditing vendor category distribution","prompt":"I need to audit this purchase CSV to see how many rows fall under each vendor category — allowed values are 'group-a', 'group-b', and 'group-c' — and get summary stats for the ordered_units and order_amount columns. The file uses semicolons as delimiters."}],"resultDescription":"Returns a structured column statistics report covering each column in the CSV: data types detected, value counts, min/max/mean for numeric columns, category frequency distributions, and any validation violations such as out-of-range values, disallowed categories, or oversized cells.","failureModes":["CSV exceeds 1000 rows — only up to 1000 rows are supported","CSV string exceeds 100,000 character limit — payload too large","Invalid delimiter specified — must be comma, semicolon, or tab","Cell content exceeds max_cell_length — validation error flagged","Malformed CSV (unmatched quotes, inconsistent columns) — parse error","Numeric values outside declared minimum/maximum bounds — flagged as violations","Allowed categories list is empty or contains values not found in data — mismatch warnings"],"whenToPreferThis":"Choose this endpoint when you need fast, structured column-level profiling and contract validation specifically for purchase order CSV data. It is ideal for pre-import quality gates, auditing vendor category compliance, and verifying numeric ranges on order fields without any external data enrichment. Prefer it over generic CSV tools when you need purchase-domain-aware profiling at a low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:32.662Z","isFirstParty":false,"canonicalSlug":"purchase-order-imports-csv-column-statistics-4924f2e1"}