{"uid":"cap_hjjVXIYPhJBknHORrgaV8","slug":"data-ingestion-batches-equal-width-histogram-weighted-mean-analytics-0fcf6ec3","name":"Data Ingestion Batches — Equal-Width Histogram + Weighted Mean Analytics","description":"Data ingestion batches — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied data ingestion batches records (received_rows, accepted_rows). 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-01-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","received_rows","accepted_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"accepted_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"received_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","accepted_rows":1,"dataset_group":"group-a","received_rows":10},{"date":"2026-10-02","row_id":"row-2","accepted_rows":2,"dataset_group":"group-b","received_rows":20},{"date":"2026-10-03","row_id":"row-3","accepted_rows":3,"dataset_group":"group-a","received_rows":15},{"date":"2026-10-04","row_id":"row-4","accepted_rows":4,"dataset_group":"group-b","received_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["received_rows","accepted_rows"],"type":"string","default":"received_rows"}}},"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_MOaE8XUENtp3jEWD5ZQvD","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 for a chosen measure and a secondary-measure weighted mean across up to 200 data ingestion batch records (received_rows, accepted_rows).","exampleAgentPrompt":"Analyze my data ingestion batch records — I have about 80 rows with received_rows and accepted_rows per batch — give me an equal-width histogram with 10 bins on received_rows plus the weighted mean of accepted_rows, using these batch records I'll supply.","exampleUseCases":[{"title":"Ingestion batch size distribution audit","prompt":"I have 150 daily ingestion batch records with received_rows and accepted_rows. Can you compute an equal-width histogram with 8 bins on received_rows and also give me the weighted mean of accepted_rows? I want to understand how our batch sizes are distributed."},{"title":"Data quality acceptance rate analysis","prompt":"Here are 60 ingestion batch records across two dataset groups. Run a histogram on accepted_rows with 5 bins and give me the secondary weighted mean as well — I'm trying to see if certain batch sizes tend to have lower acceptance rates."},{"title":"Pipeline throughput summary report","prompt":"I've got 200 rows of ingestion batch data with dates, group labels, and both received and accepted row counts. Please produce the equal-width histogram (10 bins) for received_rows along with the weighted mean for accepted_rows so I can include these two stats in our weekly pipeline report."}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram showing bin boundaries and record frequency counts for the chosen measure field (received_rows or accepted_rows) across the supplied batch records, and (2) a weighted mean of the secondary measure. Both are computed locally from the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, date, received_rows, accepted_rows) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Bins value outside 1–30 range — rejected by schema","All measure values null — computation may return undefined/null results","Invalid field enum value — schema rejection"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous statistical reports — a histogram and a weighted mean — on data ingestion batch records (received_rows, accepted_rows) in a single low-cost call. It is ideal for offline/batch analytics on up to 200 supplied rows where no live data fetch, prediction, or external action is needed. Prefer it over general-purpose analytics tools when you specifically need equal-width histogram binning paired with a secondary weighted mean on ingestion pipeline metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:46:47.123Z","isFirstParty":false,"canonicalSlug":"data-ingestion-batches-equal-width-histogram-weighted-mean-analytics-0fcf6ec3"}