{"uid":"cap_A5yuXbKFxGIG4zzl7w-EW","slug":"company-headcount-observations-category-frequencies-secondary-measure-812dc0f2","name":"Company Headcount Observations — Category Frequencies & Secondary-Measure Weighted Mean","description":"Company headcount observations — Category frequencies + Secondary-measure weighted mean: Category frequencies + 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-109?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_XEMlu7b5YuolFjlmNHp18","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 category frequencies and a secondary-measure weighted mean for up to 200 company headcount observation records (headcount, open_roles).","exampleAgentPrompt":"I have headcount and open roles data for group-a and group-b across a few dates — can you compute the category frequencies by company group and the weighted mean of headcount for these rows: row-1 (group-a, 2026-10-01, headcount 10, open_roles 1), row-2 (group-b, 2026-10-02, headcount 20, open_roles 2), row-3 (group-a, 2026-10-03, headcount 15, open_roles 3)?","exampleUseCases":[{"title":"HR Headcount Distribution by Division","prompt":"I have quarterly headcount snapshots for our three divisions — Alpha, Beta, and Gamma — across 12 months. Can you compute category frequencies by division and the headcount-weighted mean of open roles for all 36 rows?"},{"title":"Recruiting Pipeline Analysis by Team","prompt":"We track open roles weekly for engineering, sales, and product teams. Can you analyze category frequencies by team and compute the weighted mean of open_roles using headcount as the weight, across these 80 observation rows?"},{"title":"M&A Workforce Consolidation Summary","prompt":"After our merger we now have headcount observations for 5 company groups across 40 dates. Can you run a frequency analysis by company group and compute the headcount-weighted mean of open_roles so I can see where hiring pressure is concentrated?"}],"resultDescription":"Returns two analytical reports: (1) category frequencies showing how often each company_group appears in the supplied rows, and (2) a secondary-measure weighted mean for the chosen field (headcount or open_roles) weighted across categories. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, company_group, date, headcount, open_roles) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values for headcount or open_roles may affect weighted mean calculation","Payment of 0.01 USDC not provided — request blocked by x402 paywall"],"whenToPreferThis":"Choose this endpoint when you have up to 200 company headcount observation records and need both a category frequency distribution by company group AND a weighted mean of a numeric measure (headcount or open_roles) in a single paid call. It is ideal for lightweight, self-contained workforce analytics where you supply all data and need no live lookups or external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:46:13.130Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-category-frequencies-secondary-measure-812dc0f2"}