{"uid":"cap_njR_BTF3k-25VRMa922-_","slug":"company-headcount-observations-numeric-row-ordering-secondary-measure-52622409","name":"Company Headcount Observations — Numeric Row Ordering + Secondary-Measure Weighted Mean","description":"Company headcount observations — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + 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-121?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_t87Fu-zfApuR1INj5tJA-","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 numeric row ordering and a secondary-measure weighted mean for up to 200 company headcount observation records (headcount, open_roles) in two bundled analytical reports.","exampleAgentPrompt":"I have a dataset of company headcount observations with dates, company groups, headcount, and open_roles — can you rank these rows numerically and compute a weighted mean using headcount as the primary field? Here are the records: row-1 (group-a, 2024-01-01, headcount=50, open_roles=3), row-2 (group-b, 2024-01-01, headcount=120, open_roles=10), row-3 (group-a, 2024-01-02, headcount=55, open_roles=4).","exampleUseCases":[{"title":"Workforce snapshot ranking across divisions","prompt":"I have headcount snapshots for three company divisions over Q1 — can you rank the rows by headcount and give me the weighted mean of open_roles weighted by headcount? The groups are 'engineering', 'sales', and 'ops' with their respective dates and counts."},{"title":"Open roles weighted average for hiring analysis","prompt":"Can you compute a weighted mean for the open_roles field across our 80 headcount observation records, with headcount as the weighting measure, and also give me the numeric row ordering?"},{"title":"Multi-group headcount order and aggregation","prompt":"I need to analyze headcount data for two company groups — 'group-alpha' and 'group-beta' — across 40 weekly snapshots. Please rank all the rows numerically and compute the secondary-measure weighted mean using the headcount field."}],"resultDescription":"Returns two analytical reports for the supplied dataset: (1) numeric row ordering — each row ranked or ordered by its numeric value; and (2) a secondary-measure weighted mean — a weighted average of either headcount or open_roles, where the secondary measure provides the weights. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — API rejects input exceeding maxItems limit","Missing required fields (row_id, company_group, date, headcount, or open_roles) cause validation errors","Invalid date format (not YYYY-MM-DD) results in schema validation failure","Null values in headcount or open_roles may produce undefined weighted mean if all weights are null","Invalid field enum value (not 'headcount' or 'open_roles') causes rejection"],"whenToPreferThis":"Choose this endpoint when you have up to 200 company headcount observation records and need both a numeric row ordering and a secondary-measure weighted mean in a single low-cost call ($0.01 USDC for two reports). It is best suited for offline/batch analytical tasks on supplied data — not for live HR system queries, forecasting, or real-time lookups. Ideal for workforce analysts who want bundled statistical summaries without building custom aggregation logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:43:09.582Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-numeric-row-ordering-secondary-measure-52622409"}