{"uid":"cap_x0fQKlu8OvmGlhR_wmxAj","slug":"company-headcount-observations-trailing-mean-series-keyed-dataset-a521fb3b","name":"Company Headcount Observations — Trailing Mean Series + Keyed Dataset Comparison","description":"Company headcount observations — Trailing mean series + Keyed dataset comparison: Trailing mean series + Keyed dataset comparison 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-153?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"},"other":{"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":21,"open_roles":2,"company_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","headcount":17,"open_roles":3,"company_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","headcount":33,"open_roles":4,"company_group":"group-b"}],"maxItems":200,"minItems":0},"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_WsL1EYmMNVttzH8q_x00a","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 a keyed dataset comparison for up to 200 rows of company headcount or open-roles data, returning two analytical reports per call.","exampleAgentPrompt":"I have two sets of daily headcount snapshots for our company groups — can you run a trailing mean series and a keyed comparison between them on the headcount field? Here's the primary dataset with rows like {row_id, company_group, date, headcount, open_roles} and the reference dataset to compare against.","exampleUseCases":[{"title":"Workforce growth smoothing for HR reporting","prompt":"I have 90 days of daily headcount data for three company groups — can you compute a trailing mean series on the headcount field so I can see smoothed growth trends without all the daily noise? Here are up to 200 rows with row_id, company_group, date, headcount, and open_roles."},{"title":"Headcount dataset drift detection","prompt":"We have two snapshots of our company headcount — one from last quarter and one from this quarter — both keyed by company_group and date. Can you do a keyed dataset comparison on the headcount field to highlight which rows changed between them?"},{"title":"Open roles pipeline trend analysis","prompt":"I want to track how our open roles count has been trending across company groups. Can you run a trailing mean series plus a keyed comparison against our benchmark dataset on the open_roles field, using these 150 rows of observations?"}],"resultDescription":"Returns two analytical reports: (1) a trailing mean series showing the rolling average of the selected field (headcount or open_roles) over time per company group, and (2) a keyed dataset comparison identifying differences between the primary and reference datasets matched by row key (row_id, company_group, date). No external data is fetched; all computation is performed locally on the supplied rows.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — request rejected","Missing required fields (row_id, company_group, date, headcount, open_roles) in any row — validation error","Date fields not matching YYYY-MM-DD pattern — validation error","Field value not in allowed enum ['headcount','open_roles'] — validation error","Mismatched keys between primary and reference datasets may result in empty or partial comparison output"],"whenToPreferThis":"Choose this endpoint when you need both a trailing mean time series and a keyed dataset comparison in a single call on company headcount or open-roles data. It is ideal for HR analytics, workforce trend smoothing, or comparing two headcount snapshots by key, particularly when you already have the data locally and want two bundled statistical reports for a flat $0.01 fee without any external lookups or live data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:53.841Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-trailing-mean-series-keyed-dataset-a521fb3b"}