{"uid":"cap_o9RY63lsZCgLN5b9AKoFA","slug":"packaging-usage-analytics-numeric-distribution-row-ordering-14f71969","name":"Packaging Usage Analytics — Numeric Distribution & Row Ordering","description":"Packaging usage — Numeric distribution + Numeric row ordering: Numeric distribution + Numeric row ordering for supplied packaging usage records (packages_sent, material_grams). 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-17-073?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","packages_sent","material_grams"],"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},"packages_sent":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"material_grams":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","packages_sent":10,"material_grams":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","packages_sent":20,"material_grams":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","packages_sent":15,"material_grams":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","packages_sent":30,"material_grams":4}],"maxItems":200,"minItems":1},"field":{"enum":["packages_sent","material_grams"],"type":"string","default":"packages_sent"}}},"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_siWscOo9XRfyHmTqAEZez","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 numeric row ordering for packaging usage records (packages_sent, material_grams) across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"I have packaging usage records for our store groups and need two reports: a numeric distribution and a row ordering for packages_sent. Here are my rows: [{\"row_id\":\"r1\",\"store_group\":\"east\",\"date\":\"2024-01-15\",\"packages_sent\":120,\"material_grams\":450},{\"row_id\":\"r2\",\"store_group\":\"west\",\"date\":\"2024-01-15\",\"packages_sent\":85,\"material_grams\":310}] — can you run both reports on the packages_sent field?","exampleUseCases":[{"title":"Monthly packaging volume distribution","prompt":"I've got 50 rows of packaging usage data from our retail stores for last month and I need to understand the distribution of packages_sent — things like percentiles and spread. Can you run a numeric distribution and row ordering report on the packages_sent field for me?"},{"title":"Material weight ranking by store group","prompt":"Here are 80 packaging records with material_grams values across different store groups and dates. Can you compute both a numeric distribution and a numeric row ordering so I can see which records use the most material and how the weights are spread out? Use material_grams as the field."},{"title":"Quarterly packaging audit analytics","prompt":"I need to audit our Q3 packaging usage — I have 150 rows with packages_sent and material_grams. Please generate the numeric distribution and row ordering reports for packages_sent so I can identify outliers and see the ranked order of shipments."}],"resultDescription":"Returns two analytical reports based on the supplied rows and chosen field: (1) a numeric distribution report showing statistical spread (e.g. min, max, percentiles, frequency buckets) for the selected field, and (2) a numeric row ordering report ranking the input rows by that field's value. Up to 200 input rows are processed locally with no external data lookup.","failureModes":["More than 200 rows supplied — request will be rejected or truncated","Missing required row fields (row_id, date, packages_sent, material_grams) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Field selector not one of 'packages_sent' or 'material_grams' — enum validation error","All values for the selected field are null — distribution computation may fail or return empty","Payment of 0.01 USDC not fulfilled — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 packaging usage records and need both a numeric distribution analysis and a ranked row ordering for either packages_sent or material_grams in a single low-cost call. Prefer it over general-purpose analytics when you specifically work with retail packaging shipment data and want two structured statistical reports for a flat $0.01 fee with no external data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:43:47.835Z","isFirstParty":false,"canonicalSlug":"packaging-usage-analytics-numeric-distribution-row-ordering-14f71969"}