{"uid":"cap_iDVqW4uIOmhrDytR1ZdrJ","slug":"company-headcount-observations-trailing-mean-series-equal-width-196074f0","name":"Company Headcount Observations — Trailing Mean Series + Equal-Width Histogram","description":"Company headcount observations — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram 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-148?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_pnK_G1UPHPvKJqgJFG4mh","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 an equal-width histogram for supplied company headcount or open-roles data, returning two analytical reports in one call.","exampleAgentPrompt":"I have 150 headcount observation records for several company groups — each row has a date, headcount, and open_roles. Can you run a trailing mean series with a window of 4 and an equal-width histogram with 10 bins on the headcount field?","exampleUseCases":[{"title":"HR workforce trend analysis","prompt":"I've got monthly headcount snapshots for 3 company divisions going back a year — around 80 rows total. Can you compute a trailing mean with a window of 3 and a 5-bin histogram on the headcount field so I can see staffing trends?"},{"title":"Open roles distribution reporting","prompt":"Here are 120 rows of daily open_roles observations across our subsidiaries. Run a trailing mean series with window size 6 and a 10-bin equal-width histogram on the open_roles field — I want to understand the distribution and trend."},{"title":"Quarterly headcount summary for board deck","prompt":"I need two reports on our Q3 headcount data — 60 rows across two company groups. Please generate a trailing mean with window 4 and an equal-width histogram with 8 bins for the headcount field."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series showing the rolling average of the selected field (headcount or open_roles) over the specified window, and (2) an equal-width histogram partitioning the field's values into the specified number of bins with frequency counts. Both reports are computed locally from the supplied rows without any external lookup or prediction.","failureModes":["More than 200 rows supplied — request exceeds the row limit and will be rejected","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Window size larger than the number of supplied rows produces insufficient data for trailing mean","Bins parameter set to 0 or above 30 causes validation error","Missing required fields (row_id, company_group, date, headcount, open_roles) triggers schema error","All values null for the selected field results in empty or degenerate histogram"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of company headcount or open-roles observation records and need both a rolling/trailing mean time series AND a distribution histogram in a single paid call. It is ideal for offline, supplied-data analytics where no live lookup or external enrichment is needed, and where cost efficiency (two reports for $0.01 USDC) matters. Prefer alternatives if you need real-time workforce data, predictions, or analyses beyond trailing mean and equal-width histogram.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:42.186Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-trailing-mean-series-equal-width-196074f0"}