{"uid":"cap_LTmqzJ_6_aKMLbMgmMeOc","slug":"company-headcount-observations-trailing-mean-series-explicit-missing-b3f0a349","name":"Company Headcount Observations — Trailing Mean Series + Explicit Missing-Value Fill","description":"Company headcount observations — Trailing mean series + Explicit missing-value fill: Trailing mean series + Explicit missing-value fill 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-154?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"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"},"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_Zi_y-UZXIyXqt8CFhwch3","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 trailing mean time series and fills missing values in company headcount observation data (headcount, open_roles) for up to 200 rows.","exampleAgentPrompt":"I have headcount and open_roles observations for two company groups across several dates — can you compute a trailing mean series with a window of 4 and fill any missing headcount values using the median method?","exampleUseCases":[{"title":"Smoothing noisy headcount trends","prompt":"I've got monthly headcount data for three company groups over the past year and it's pretty noisy — can you apply a trailing mean with a window of 6 to smooth the headcount field and fill any nulls using the mean?"},{"title":"Preparing open roles data for forecasting","prompt":"Before I run my forecast, I need to clean up this time series of open_roles for our two business units — can you run a trailing mean with window 3 and fill missing values using zero?"},{"title":"HR dashboard data quality smoothing","prompt":"Our HR dashboard is showing gaps and spikes in headcount data across regions — can you apply a 5-period trailing mean and fill missing headcount observations using median so the chart looks cleaner?"}],"resultDescription":"Returns two analytical reports for the supplied rows: (1) a trailing mean series where each row's field value is replaced by the rolling mean over the specified window, and (2) the same dataset with explicit missing-value fill applied using the chosen method (zero, mean, or median). Results cover up to 200 rows of company headcount observations.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Invalid date format (not YYYY-MM-DD) causes row rejection","Missing required fields (row_id, company_group, date) trigger validation errors","Window size larger than number of rows may produce NaN/null results for early rows","Non-numeric values in headcount or open_roles fields cause processing errors","Empty rows array returns an error"],"whenToPreferThis":"Choose this endpoint when you have company-level headcount or open_roles time series data that needs rolling-window smoothing and/or missing-value imputation in a single pass. It is particularly suited for pre-processing HR or workforce data before visualization or forecasting, and handles up to 200 rows per call at low cost ($0.01 USDC). Prefer this over general analytics tools when you need both trailing mean computation and explicit null-fill in one bundled operation without requiring external data sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:56.632Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-trailing-mean-series-explicit-missing-b3f0a349"}