{"uid":"cap_9enLUaXGciAxWDPefCVfc","slug":"returns-handling-analytics-numeric-distribution-row-ordering-56c25885","name":"Returns Handling Analytics — Numeric Distribution & Row Ordering","description":"Returns handling — Numeric distribution + Numeric row ordering: Numeric distribution + Numeric row ordering for supplied returns handling records (returned_units, processing_minutes). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-retail-04-073?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","returned_units","processing_minutes"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"store_group":{"type":"string","default":"","maxLength":80},"returned_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"processing_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","returned_units":10,"processing_minutes":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","returned_units":20,"processing_minutes":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","returned_units":15,"processing_minutes":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","returned_units":30,"processing_minutes":4}],"maxItems":200,"minItems":1},"field":{"enum":["returned_units","processing_minutes"],"type":"string","default":"returned_units"}}},"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_YCrtsOiZ3Zai3PP9BJhXX","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 numeric distribution statistics and row ordering for up to 200 returns handling records across returned_units and processing_minutes fields.","exampleAgentPrompt":"I have a dataset of store returns — can you run a numeric distribution and row ordering report on the returned_units field? Here are the rows: [{\"row_id\":\"r1\",\"store_group\":\"north\",\"date\":\"2024-03-01\",\"returned_units\":42,\"processing_minutes\":15},{\"row_id\":\"r2\",\"store_group\":\"south\",\"date\":\"2024-03-01\",\"returned_units\":18,\"processing_minutes\":30}].","exampleUseCases":[{"title":"Retail returns volume distribution audit","prompt":"I've got 50 rows of returns data from our store groups for Q1 — can you run a numeric distribution report on returned_units so I can see how the volumes are spread across the dataset?"},{"title":"Processing time ranking for store groups","prompt":"Can you rank our returns handling records by processing_minutes so I can see which entries took the longest to process? Here are our records from the last month across groups east, west, and central."},{"title":"Operations efficiency review","prompt":"We have returns data for 120 transactions across our retail locations this quarter. Can you generate both a numeric distribution and a row ordering report on the processing_minutes field so I can identify bottlenecks?"}],"resultDescription":"Returns two analytical reports for the submitted dataset: (1) a numeric distribution report showing statistical spread and frequency breakdown of the selected field (returned_units or processing_minutes), and (2) a numeric row ordering report ranking all submitted rows by the selected numeric field. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Input array exceeds 200 rows — request will be rejected","Missing required fields (row_id, date, returned_units, processing_minutes) causes validation error","Invalid date format (must be YYYY-MM-DD) triggers schema error","Null values in numeric fields may affect distribution calculations","Empty rows array returns an error"],"whenToPreferThis":"Choose this endpoint when you have raw returns handling records (up to 200 rows) and need both a statistical distribution and a ranked ordering of those records by a numeric field — specifically returned_units or processing_minutes — without needing any external data enrichment, predictions, or real-time lookups. It is cost-effective at $0.01 for two reports simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:15:54.736Z","isFirstParty":false,"canonicalSlug":"returns-handling-analytics-numeric-distribution-row-ordering-56c25885"}