{"uid":"cap_CSvbzQ8k4loAvX7vnzTaO","slug":"record-routing-analytics-category-frequencies-equal-width-histogram-21bb2133","name":"Record Routing Analytics — Category Frequencies + Equal-Width Histogram","description":"Record routing — Category frequencies + Equal-width histogram: Category frequencies + Equal-width histogram 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-106?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_rTNw3xETwYKNTxLzMeUdW","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 category frequency counts and an equal-width histogram for accepted_records and rejected_records fields in record routing datasets, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Analyze the distribution of accepted_records in my routing dataset — use 10 histogram bins and give me category frequencies plus the equal-width histogram for these rows: group-a had 10 accepted and 1 rejected on 2024-01-01, group-b had 20 accepted and 5 rejected on 2024-01-02, and group-a had 15 accepted and 3 rejected on 2024-01-03.","exampleUseCases":[{"title":"Pipeline acceptance rate distribution check","prompt":"I have record routing logs for last week across two dataset groups — can you compute the category frequencies and a 5-bin equal-width histogram for the accepted_records field? Rows: group-a got 50 accepted/2 rejected on 2024-03-01, group-b got 80 accepted/10 rejected on 2024-03-02, group-a got 45 accepted/5 rejected on 2024-03-03."},{"title":"Rejection spike investigation by group","prompt":"My ETL pipeline had a rough month — run category frequencies and a 10-bin histogram on the rejected_records column so I can see where rejections cluster. Data: dataset-x had 200 rejected on 2024-02-01, dataset-y had 15 rejected on 2024-02-02, dataset-x had 340 rejected on 2024-02-03, dataset-y had 5 rejected on 2024-02-04."},{"title":"Routing QA report before data hand-off","prompt":"Before we hand off this routing batch, generate a category frequency table and equal-width histogram with 8 bins for the accepted_records field across these 4 rows: row-1 group-alpha 120 accepted 3 rejected 2024-05-10, row-2 group-beta 200 accepted 0 rejected 2024-05-11, row-3 group-alpha 95 accepted 12 rejected 2024-05-12, row-4 group-beta 180 accepted 2 rejected 2024-05-13."}],"resultDescription":"Returns two analytical reports: (1) category frequencies showing how accepted_records or rejected_records values break down by dataset_group categories, and (2) an equal-width histogram dividing the chosen numeric field into the specified number of bins with row counts per bin. Both reports are computed locally from supplied data with no external lookups.","failureModes":["Rows array empty or missing — minimum 1 row required","More than 200 rows submitted — exceeds maximum limit","Invalid date format (must match YYYY-MM-DD pattern)","row_id missing or empty — required field","bins value outside 1–30 range — rejected","field value not one of accepted_records or rejected_records — enum validation error","All values null for the chosen field — histogram cannot be computed","Payment of 0.01 USDC not completed — request rejected"],"whenToPreferThis":"Choose this endpoint when you need two complementary analytical views — category frequencies and an equal-width histogram — on record routing data (accepted vs rejected records) in a single low-cost call. It is ideal for data pipeline QA, ETL monitoring, and batch reporting scenarios where data is already available locally and no external enrichment or prediction is needed. Prefer it over general-purpose analytics tools when cost-per-call matters and your dataset is under 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:52:11.090Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-category-frequencies-equal-width-histogram-21bb2133"}