{"uid":"cap_iLlhD1xyghntA4-zfQ1xF","slug":"company-headcount-observations-grouped-summary-weighted-mean-47798873","name":"Company Headcount Observations — Grouped Summary & Weighted Mean","description":"Company headcount observations — Grouped numeric summary + Secondary-measure weighted mean: Grouped numeric summary + Secondary-measure weighted mean for supplied company headcount observations records (headcount, open_roles). 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-12-096?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","headcount","open_roles"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"headcount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"open_roles":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","headcount":10,"open_roles":1,"company_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","headcount":20,"open_roles":2,"company_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","headcount":15,"open_roles":3,"company_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","headcount":30,"open_roles":4,"company_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["headcount","open_roles"],"type":"string","default":"headcount"}}},"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_mpI6BJ6Lg5O6sJTWoZ3Vn","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 a grouped numeric summary and a secondary-measure weighted mean for up to 200 company headcount observation records (headcount, open_roles) using local analytical engines.","exampleAgentPrompt":"Can you run a grouped numeric summary and a weighted mean of open_roles (weighted by headcount) on these company headcount records — I have 4 rows for group-a and group-b across October 2026?","exampleUseCases":[{"title":"HR team headcount rollup by division","prompt":"I have monthly headcount and open roles data for three company divisions — can you group it and give me a numeric summary plus a weighted mean of open_roles using headcount as the weight? Here are the rows: group-a on 2026-01-01 had headcount 120 and open_roles 8, group-b on 2026-01-01 had headcount 200 and open_roles 15, group-c on 2026-01-01 had headcount 80 and open_roles 4."},{"title":"Quarterly workforce snapshot for investor report","prompt":"Summarize these 10 company headcount observations grouped by company for a quarterly investor snapshot — I want both a grouped numeric summary and a weighted mean of headcount. I'll paste the rows including company_group, date, headcount, and open_roles values."},{"title":"Benchmarking open roles ratio across subsidiaries","prompt":"Run a grouped summary and weighted mean of open_roles across these 15 records from our subsidiaries — headcount should be the weight — so we can benchmark which groups are hiring most aggressively relative to their size."}],"resultDescription":"Returns two analytical reports: (1) a grouped numeric summary (e.g. count, mean, min, max, std) of the target field broken out by company_group, and (2) a weighted mean of the secondary measure (open_roles or headcount) weighted by the primary field — all computed locally with no external data lookup, for up to 200 supplied rows.","failureModes":["Missing required row fields (row_id, company_group, date, headcount, open_roles) causes validation error","More than 200 rows submitted — exceeds max item limit","Invalid date format (must be YYYY-MM-DD) causes schema rejection","Null values in headcount or open_roles may affect weighted mean computation","Payment not provided or insufficient USDC causes 402 response","field enum value not one of 'headcount' or 'open_roles' causes rejection"],"whenToPreferThis":"Choose this endpoint when you have a dataset of company headcount observations (up to 200 rows) and need both a grouped numeric summary and a weighted mean in a single paid call, without any external data lookups or predictions. Ideal for HR analytics, workforce reporting, and investor summaries where you supply your own data and want two local statistical reports bundled at low cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:53.242Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-grouped-summary-weighted-mean-47798873"}