{"uid":"cap_lZ-qrLC-ku0DUjO9uoRbn","slug":"detection-rules-record-quality-audit-secondary-measure-weighted-mean-44dce0e0","name":"Detection Rules — Record Quality Audit + Secondary-Measure Weighted Mean","description":"Detection rules — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean for supplied detection rules records (rule_count, alert_count). 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-security-17-016?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","control_group","date","rule_count","alert_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"rule_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"alert_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"control_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","rule_count":10,"alert_count":1,"control_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","rule_count":20,"alert_count":2,"control_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","rule_count":15,"alert_count":3,"control_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","rule_count":30,"alert_count":4,"control_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["rule_count","alert_count"],"type":"string","default":"rule_count"}}},"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_0HAo8gThnz22rZfDEkw9o","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":"Runs a record quality audit and a secondary-measure weighted mean analysis on up to 200 detection rules records (rule_count, alert_count) and returns two independent analytical reports.","exampleAgentPrompt":"Can you run a record quality audit and a weighted mean analysis on my detection rules data for rule_count? I have 4 rows: row-1 on 2026-10-01 with rule_count=10, alert_count=1 in group-a; row-2 on 2026-10-02 with rule_count=20, alert_count=2 in group-b; row-3 on 2026-10-03 with rule_count=15, alert_count=3 in group-a; row-4 on 2026-10-04 with rule_count=30, alert_count=4 in group-b.","exampleUseCases":[{"title":"Security team data quality check","prompt":"I have a batch of 50 detection rules records with rule_count and alert_count values by date and control group — can you audit them for data quality issues and also compute the weighted mean for rule_count across those rows?"},{"title":"Alert count weighted mean for SOC reporting","prompt":"Run a weighted mean analysis on alert_count for my detection rules dataset — I'll give you 120 rows with row IDs, dates, and control group labels, and I also want a record quality audit on the same data."},{"title":"Pre-report data validation for detection rules","prompt":"Before I submit my monthly security report, can you check my detection rules data for quality issues and give me the weighted mean for rule_count? The dataset has about 80 rows organized by control group and date."}],"resultDescription":"Returns two independent analytical reports: (1) a record quality audit identifying missing values, format violations, or anomalies across the supplied detection rules rows; and (2) a weighted mean calculation for the selected secondary measure (rule_count or alert_count), computed locally without any external lookups or predictions.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, control_group, date, rule_count, alert_count) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values in the selected measure field may affect weighted mean accuracy","Invalid enum value for 'field' parameter (must be 'rule_count' or 'alert_count')"],"whenToPreferThis":"Choose this endpoint when you have up to 200 detection rules records and need both a data quality audit and a weighted mean statistic in a single paid call. It is ideal for security analytics workflows where you want to validate data integrity and compute a summary metric simultaneously without relying on external data sources or live lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:35:35.058Z","isFirstParty":false,"canonicalSlug":"detection-rules-record-quality-audit-secondary-measure-weighted-mean-44dce0e0"}