{"uid":"cap_B5aHYWSD-ucYSQJXHCjyG","slug":"record-routing-analytics-two-measure-correlation-secondary-measure-cfbf9fe7","name":"Record Routing Analytics — Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Record routing — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + 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-181?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"}}},"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_U9z2r3dwOcMbsEPDztZdK","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 two statistical reports (Pearson correlation between accepted and rejected records, plus a weighted mean of a selected measure) over up to 200 rows of record routing data.","exampleAgentPrompt":"I have 4 rows of record routing data — row-1 on 2026-10-01 in group-a with 10 accepted and 1 rejected, row-2 on 2026-10-02 in group-b with 20 accepted and 2 rejected, row-3 on 2026-10-03 in group-a with 15 accepted and 3 rejected, row-4 on 2026-10-04 in group-b with 30 accepted and 4 rejected — can you run the two-measure correlation between accepted and rejected records plus the weighted mean for accepted_records across all rows?","exampleUseCases":[{"title":"Daily routing quality trend analysis","prompt":"Here are 30 days of our ETL pipeline's record routing logs with accepted and rejected counts per day — can you compute the correlation between accepted and rejected records and the weighted mean of accepted_records so I can see how consistent our routing quality has been?"},{"title":"Multi-group routing comparison","prompt":"I have routing data for two dataset groups over the past week, each row has a date, group label, accepted record count, and rejected record count — run the two-measure correlation plus a weighted mean on rejected_records so I can compare how the groups differ in their rejection patterns."},{"title":"Data ingestion anomaly detection prep","prompt":"Before I flag anomalies, I want to understand the statistical baseline: take my 50 rows of record routing data with accepted and rejected counts and give me the correlation between those two measures and the weighted mean of accepted_records."}],"resultDescription":"Returns two analytical reports computed locally on the supplied data: (1) a Pearson-style correlation between the accepted_records and rejected_records columns across all rows, and (2) a weighted mean of the chosen field (accepted_records or rejected_records). No external lookups or predictions are made; all computation is on the provided dataset of up to 200 rows.","failureModes":["Rows array empty or missing — validation error","More than 200 rows submitted — rejected with max-items error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Null values in both measures for a row — may affect correlation calculation","Field enum value not one of accepted_records or rejected_records — schema rejection","All values identical (zero variance) — correlation undefined or NaN result"],"whenToPreferThis":"Choose this endpoint when you need fast, offline statistical analysis of record routing data specifically — particularly when you want both a correlation between two measures and a weighted mean in a single API call for up to 200 rows. It is ideal for data quality teams tracking acceptance/rejection patterns without needing external data enrichment, live predictions, or professional assessments. Prefer alternatives if you need more than two reports, more than 200 rows, live lookups, or domain types other than record routing (e.g. building occupancy has its own sibling endpoint).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:42:24.381Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-two-measure-correlation-secondary-measure-cfbf9fe7"}