{"uid":"cap_-EALCzwb9BDSVxxkEUua7","slug":"customer-segment-observations-string-normalisation-secondary-measure-a1e4611b","name":"Customer Segment Observations — String Normalisation + Secondary-Measure Weighted Mean","description":"Customer segment observations — String normalisation + Secondary-measure weighted mean: String normalisation + 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-034?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_1EdCsbinvlB3z3VuEK-vz","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 string normalisation and secondary-measure weighted mean analytics on up to 200 customer segment observation rows (account_count, revenue_amount) and returns 2 independent reports.","exampleAgentPrompt":"Can you run string normalisation and a revenue_amount weighted mean on my customer segment data? Here are my rows: row-1 for group-a on 2026-10-01 with account_count 10 and revenue_amount 1, row-2 for group-b on 2026-10-02 with account_count 20 and revenue_amount 2 — use account_count as the field.","exampleUseCases":[{"title":"Segment label standardisation and weighted revenue summary","prompt":"I have 50 rows of customer segment observations with messy company_group names and I want two things: normalised group strings and a weighted mean of revenue_amount — can you run both reports on my data at once?"},{"title":"Account count weighted mean across date range","prompt":"Run string normalisation and a weighted mean report on account_count for these customer segment records — I've got about 80 rows spanning Q4 2026 across group-a and group-b, field should be account_count."},{"title":"Quarterly segment data quality and aggregation","prompt":"I've got 150 customer segment observation rows with account_count and revenue_amount — please normalise the company_group strings and give me the secondary-measure weighted mean for revenue_amount so I can use it in my quarterly report."}],"resultDescription":"Returns 2 analytical reports: (1) string-normalised values for the company_group field across supplied rows, and (2) a secondary-measure weighted mean computed over the chosen field (account_count or revenue_amount) using the other numeric field as the weight, for up to 200 input rows.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, company_group, date, account_count, revenue_amount) causes rejection","Invalid date format (not YYYY-MM-DD) fails schema validation","Null values in both numeric fields simultaneously may affect weighted mean computation","Field enum value not in ['account_count','revenue_amount'] causes a validation error","Numeric values outside ±1,000,000,000,000 are rejected"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously clean/normalise string-valued segment labels AND compute a weighted mean over a secondary numeric measure on the same customer segment dataset, all within a single low-cost ($0.01 USDC) call returning two bundled reports. Prefer it over separate normalisation or aggregation services when your dataset fits within 200 rows and you want both outputs in one transaction without external lookups or model inference.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T00:51:58.459Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-string-normalisation-secondary-measure-a1e4611b"}