{"uid":"cap_W8QwqrZaMc5Qby01s39HI","slug":"customer-segment-observations-record-quality-audit-secondary-measure-be620365","name":"Customer Segment Observations — Record Quality Audit + Secondary-Measure Weighted Mean","description":"Customer segment observations — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean for supplied customer segment observations records (account_count, revenue_amount). 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-company-16-016?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","account_count","revenue_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"account_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"revenue_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","account_count":10,"company_group":"group-a","revenue_amount":1},{"date":"2026-10-02","row_id":"row-2","account_count":20,"company_group":"group-b","revenue_amount":2},{"date":"2026-10-03","row_id":"row-3","account_count":15,"company_group":"group-a","revenue_amount":3},{"date":"2026-10-04","row_id":"row-4","account_count":30,"company_group":"group-b","revenue_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["account_count","revenue_amount"],"type":"string","default":"account_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_1M6fSrpYiOb2B_8jVc4OP","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 computes a secondary-measure weighted mean on up to 200 customer segment observation rows (account_count, revenue_amount), returning two independent analytical reports.","exampleAgentPrompt":"Can you run a record quality audit and compute a weighted mean for revenue_amount on my customer segment data? I have rows with company_group, date, account_count, and revenue_amount — up to about 50 rows — and I need both reports back together.","exampleUseCases":[{"title":"Revenue weighted mean for segment review","prompt":"I have quarterly customer segment observations with account_count and revenue_amount for group-a and group-b. Can you audit the record quality and give me the weighted mean for revenue_amount across all 80 rows?"},{"title":"Account count data quality check","prompt":"Please run a record quality audit on my customer segment dataset and compute the weighted mean for account_count. I'll send you about 150 rows with row_id, company_group, date, account_count, and revenue_amount fields."},{"title":"Segment data validation before reporting","prompt":"Before I finalize my segment report, can you check the data quality of my 120 customer observation records and also calculate the secondary-measure weighted mean for revenue_amount so I can spot any anomalies?"}],"resultDescription":"Returns two independent analytical reports: (1) a record quality audit flagging issues such as nulls, invalid values, or format problems across the supplied rows; and (2) a weighted mean calculation for the specified secondary measure (account_count or revenue_amount) across all provided customer segment observation records.","failureModes":["Rows array empty or exceeds 200 items — request rejected","Missing required fields (row_id, company_group, date, account_count, revenue_amount) on any row — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Numeric values outside allowed range (±1,000,000,000,000) — rejected","Invalid field enum value (must be account_count or revenue_amount) — error response","Payment not processed or insufficient USDC balance — payment failure"],"whenToPreferThis":"Choose this endpoint when you need both a data quality audit and a weighted mean computation on customer segment observation data (account_count, revenue_amount) in a single low-cost call. It is ideal for pre-reporting validation workflows where you want to catch record quality issues and compute a weighted average simultaneously without external data lookups or live predictions. Best suited for batch sizes up to 200 rows at $0.01 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T00:51:58.154Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-record-quality-audit-secondary-measure-be620365"}