{"uid":"cap_vZnSf2S0V1pZwsLouOQIF","slug":"record-routing-numeric-interval-filter-secondary-measure-weighted-mean-eb30dd6c","name":"Record Routing — Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Record routing — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + 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-132?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_5gLF7LxqSFuhR6eropX1R","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":"Filters record routing rows by a numeric interval on a chosen field and computes a secondary-measure weighted mean, returning two analytical reports for up to 200 supplied rows.","exampleAgentPrompt":"Filter my record routing data where accepted_records is between 5 and 50, then compute the weighted mean of rejected_records — I have 4 rows: row-1 group-a 2026-10-01 accepted=10 rejected=1, row-2 group-b 2026-10-02 accepted=20 rejected=2, row-3 group-a 2026-10-03 accepted=15 rejected=3, row-4 group-b 2026-10-04 accepted=30 rejected=4.","exampleUseCases":[{"title":"ETL pipeline rejection rate analysis","prompt":"I have 50 rows of daily record routing data with accepted_records and rejected_records columns — filter to rows where accepted_records is between 0 and 25 and tell me the weighted mean of rejected_records for that subset."},{"title":"Data quality audit for high-volume groups","prompt":"Run an interval filter on my record routing dataset keeping only rows where rejected_records is between 1 and 10, then compute the weighted mean of accepted_records across those filtered rows — here are the rows: row-1 group-a 2026-10-01 accepted=10 rejected=2, row-2 group-b 2026-10-02 accepted=40 rejected=8, row-3 group-a 2026-10-03 accepted=5 rejected=1."},{"title":"Routing performance band comparison","prompt":"For my routing records, filter to accepted_records between 15 and 30 and give me the weighted mean of rejected_records — rows are: row-1 group-a 2026-11-01 accepted=15 rejected=3, row-2 group-b 2026-11-02 accepted=22 rejected=5, row-3 group-a 2026-11-03 accepted=30 rejected=2, row-4 group-b 2026-11-04 accepted=10 rejected=1."}],"resultDescription":"Returns two analytical reports: one showing rows from the supplied dataset that fall within the specified numeric interval on the chosen field, and one showing the secondary-measure weighted mean computed across those filtered rows. Up to 200 input rows are processed locally with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, accepted_records, rejected_records) — validation error","date field does not match YYYY-MM-DD pattern — schema validation failure","minimum greater than maximum — may return empty filtered set with no error","Null values in the primary filter field — those rows may be excluded from interval filter","Payment of 0.01 USDC not processed — 402 response, no report generated"],"whenToPreferThis":"Choose this endpoint when you have a batch of record routing rows (up to 200) and need both an interval-based filter on either accepted_records or rejected_records AND a weighted mean of the complementary measure — delivered as two bundled reports for a flat $0.01 USDC. Prefer it over general-purpose analytics when your data is already structured in the accepted/rejected record routing schema and you need quick offline computation without external data enrichment or prediction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:50:56.965Z","isFirstParty":false,"canonicalSlug":"record-routing-numeric-interval-filter-secondary-measure-weighted-mean-eb30dd6c"}