{"uid":"cap_8JOfsYy5oxspSIQVYS8-e","slug":"company-headcount-observations-numeric-row-ordering-trailing-mean-5910c4bd","name":"Company Headcount Observations — Numeric Row Ordering + Trailing Mean Series","description":"Company headcount observations — Numeric row ordering + Trailing mean series: Numeric row ordering + Trailing mean series 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-115?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_4y2aWc2CqS7dA9q8iJp2w","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 trailing mean series for up to 200 company headcount or open-roles records, returning two analytical reports per call.","exampleAgentPrompt":"I have 4 company headcount observations for groups A and B from October 2026 — can you give me numeric row ordering and a trailing mean series with a window of 2 for the headcount field?","exampleUseCases":[{"title":"Headcount growth trend smoothing","prompt":"I've got monthly headcount data for 3 company divisions over the last year, up to 36 rows. Can you rank those rows numerically and calculate a trailing mean series with a window of 3 on the headcount field so I can see smoothed growth trends?"},{"title":"Open roles pipeline analysis","prompt":"Here are our weekly open roles counts across two business groups for the past quarter — 13 rows total. Can you compute numeric row ordering and a trailing mean with window size 4 for the open_roles field to help us spot hiring pipeline patterns?"},{"title":"Multi-group workforce comparison","prompt":"I have headcount observations from 5 company groups, about 80 rows covering the past two years. Please rank them numerically and generate a trailing mean series with window 6 on headcount so I can compare workforce size trends across groups."}],"resultDescription":"Returns two analytical reports: (1) numeric row ordering assigning a rank to each input observation row, and (2) a trailing mean series computed over the specified window size for the chosen field (headcount or open_roles), across all supplied company group records. Both reports share the same local analytical engine and are delivered together in a single response for up to 200 input rows.","failureModes":["Fewer than 1 row supplied — minimum row count validation error","More than 200 rows supplied — exceeds maximum batch limit","Invalid date format (not YYYY-MM-DD) — pattern validation failure","Missing required fields (row_id, company_group, date, headcount, open_roles) — schema validation error","Window size less than 2 or greater than 200 — parameter out of range error","Null values in the selected metric field — possible incomplete series output","Invalid field enum value (not 'headcount' or 'open_roles') — enum validation error"],"whenToPreferThis":"Choose this endpoint when you have tabular company headcount or open-roles time series data and need both a numeric row ranking and a rolling trailing mean computed locally without any live data lookup, prediction, or external data enrichment. It is ideal for HR analysts and workforce intelligence pipelines that want deterministic, reproducible smoothing and ordering on supplied data at very low cost ($0.01 USDC for two reports). Prefer this over general-purpose analytics tools when you need both ordering and trailing mean delivered together in a single lightweight call on up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:47.639Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-numeric-row-ordering-trailing-mean-5910c4bd"}