{"uid":"cap_Uz-V1R7bqIqO3Tg19epzj","slug":"record-routing-analytics-equal-width-histogram-secondary-measure-c6dca5a4","name":"Record Routing Analytics: Equal-Width Histogram + Secondary-Measure Weighted Mean","description":"Record routing — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied record routing records (accepted_records, rejected_records). 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-analytics-19-172?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","accepted_records","rejected_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"accepted_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"rejected_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","accepted_records":10,"rejected_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","accepted_records":20,"rejected_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","accepted_records":15,"rejected_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","accepted_records":30,"rejected_records":4}],"maxItems":200,"minItems":1},"field":{"enum":["accepted_records","rejected_records"],"type":"string","default":"accepted_records"}}},"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_z6mQM3s_b0sYdGmoVbMcC","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 an equal-width histogram and a secondary-measure weighted mean for record routing data (accepted_records, rejected_records) on up to 200 supplied rows, returning two analytical reports.","exampleAgentPrompt":"Can you run a histogram and weighted mean analysis on my record routing data — I have 4 rows with accepted_records and rejected_records values, using 5 bins, and I want the histogram on accepted_records?","exampleUseCases":[{"title":"Pipeline acceptance rate distribution","prompt":"I have a week of daily record routing logs with accepted_records and rejected_records for two dataset groups. Can you generate an equal-width histogram with 10 bins for accepted_records and also compute the weighted mean of rejected_records?"},{"title":"Data quality monitoring summary","prompt":"Analyze my routing data for the past month — I have up to 150 rows with row IDs, dates, and group labels, each with accepted and rejected record counts. Give me a histogram with 8 bins on rejected_records and a secondary weighted mean."},{"title":"Group-level routing performance report","prompt":"Run a histogram and weighted mean report on my record routing dataset — 50 rows across groups 'prod' and 'staging', with accepted_records and rejected_records columns, using the default 5 bins on accepted_records."}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram showing bin edges, bin counts, and distribution of the selected field (accepted_records or rejected_records), and (2) a secondary-measure weighted mean computed from the supplied routing records — all based purely on the input data with no external lookups.","failureModes":["More than 200 rows submitted — request rejected, exceeds row limit","Invalid date format (not YYYY-MM-DD) — schema validation error","bins value outside 1–30 range — rejected with validation error","Missing required fields (row_id, accepted_records, rejected_records) — schema error","Null values in both primary and secondary measure fields may affect weighted mean computation","Payment of 0.01 USDC not completed — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you have tabular record routing data (accepted/rejected record counts) and need both a distribution histogram and a weighted mean computed locally without any external data lookups or live API calls. Ideal for data pipeline quality monitoring, ETL validation summaries, or routing performance reports on batches of up to 200 rows. Prefer this over general-purpose analytics tools when you want a lightweight, affordable ($0.01 USDC), deterministic statistical summary delivered instantly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:52:28.474Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-equal-width-histogram-secondary-measure-c6dca5a4"}