{"uid":"cap_cXSVk8qowQIkgLk3U7ei7","slug":"company-headcount-observations-grouped-summary-row-ordering-81e809cf","name":"Company Headcount Observations — Grouped Summary & Row Ordering","description":"Company headcount observations — Grouped numeric summary + Numeric row ordering: Grouped numeric summary + Numeric row ordering 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-087?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_QkFzkXXoOr86YLxCMLu-p","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 two local analytical reports on supplied company headcount data: a grouped numeric summary (by company group) and a numeric row ordering, for up to 200 rows covering headcount and open_roles fields.","exampleAgentPrompt":"I have a set of company headcount observations — rows with a company group, date, headcount, and open roles count — can you run a grouped numeric summary and row ordering on the headcount field for up to 200 of those rows?","exampleUseCases":[{"title":"Workforce snapshot by business unit","prompt":"I have headcount and open roles data for our three business units across the past quarter — about 80 rows total. Can you group these by company_group and give me a numeric summary of the headcount field, plus rank the rows by headcount value?"},{"title":"Recruiting pipeline ranking across subsidiaries","prompt":"Here are 150 observations from our subsidiaries tracking open roles over the last six months. Can you produce a grouped summary of open_roles by company group and also order the rows numerically by open_roles so I can see who has the most vacancies?"},{"title":"Monthly headcount audit across departments","prompt":"I've collected monthly headcount readings for four departments — about 48 rows. Please run both a grouped numeric summary and a numeric row ordering on the headcount field so I can see the distribution and rankings by department."}],"resultDescription":"Returns two analytical reports for the supplied rows: (1) a grouped numeric summary showing aggregate statistics (e.g. min, max, mean, count) for the chosen numeric field (headcount or open_roles) broken down by company_group, and (2) a numeric row ordering that ranks all supplied rows by the chosen field value. No external data is fetched; all computation is performed on the user-supplied rows.","failureModes":["Rows array is empty or missing — returns validation error","More than 200 rows supplied — request rejected or truncated","Invalid date format (not YYYY-MM-DD) — schema validation failure","Null values in headcount or open_roles may affect summary statistics","Unknown field value (not 'headcount' or 'open_roles') — enum validation error","Missing required row fields (row_id, company_group, date) — validation error","Payment not included or insufficient — 402 payment required response"],"whenToPreferThis":"Choose this endpoint when you already have company headcount or open roles data in hand and need quick grouped aggregate statistics and ranked ordering without any external data lookup, prediction, or enrichment. It is ideal for batch analytical summaries on up to 200 rows of workforce data at very low cost ($0.01 USDC for both reports). Prefer alternatives if you need live workforce data, forecasting, or analysis of fields beyond headcount and open_roles.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:40.281Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-grouped-summary-row-ordering-81e809cf"}