{"uid":"cap_wFlcC5jYd-0gfMjGy8owT","slug":"company-headcount-observations-trailing-mean-series-iqr-outlier-flags-faf15167","name":"Company Headcount Observations — Trailing Mean Series + IQR Outlier Flags","description":"Company headcount observations — Trailing mean series + IQR outlier flags: Trailing mean series + IQR outlier flags 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-149?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_xJSdR_eWJ6aTRHYtjxJ3i","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 moving-average series and IQR-based outlier flags for company headcount or open-roles time-series data (up to 200 rows, 2 reports per call).","exampleAgentPrompt":"Analyze this set of headcount observations for our company groups — compute a trailing mean series with a window of 4 and flag any IQR outliers in the headcount field: [row-1, group-a, 2024-01-01, headcount=120, open_roles=5], [row-2, group-a, 2024-02-01, headcount=125, open_roles=8], [row-3, group-a, 2024-03-01, headcount=300, open_roles=3], [row-4, group-a, 2024-04-01, headcount=130, open_roles=6].","exampleUseCases":[{"title":"Detect headcount spikes during rapid growth","prompt":"I have monthly headcount records for three company divisions over the past year — can you run a trailing mean with a window of 3 and flag any IQR outliers in the headcount field so I can spot unusual growth events?"},{"title":"Monitor open roles anomalies across groups","prompt":"Here are our open roles observations by company group and date for the last 6 months — please compute the trailing mean series with window 5 and flag outliers using IQR for the open_roles field so I know which periods had unusually high or low job postings."},{"title":"QA workforce data before executive reporting","prompt":"Before I send this headcount dataset to the exec team, can you run a trailing mean (window of 2) and IQR outlier check on the headcount column to catch any data quality issues or anomalous values I should review?"}],"resultDescription":"Returns two analytical reports for up to 200 supplied rows: (1) a trailing mean series for the selected field (headcount or open_roles) computed over the specified rolling window, and (2) IQR-based outlier flags identifying which observations fall outside the interquartile range boundaries — all computed locally from supplied data with no external lookups.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — exceeds limit","Invalid date format (must be YYYY-MM-DD) — validation error","Missing required fields (row_id, company_group, date, headcount, open_roles) — schema error","Window size less than 2 or greater than 200 — rejected","Payment of 0.01 USDC not completed — 402 response"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of company headcount or open-roles time-series observations and need both a smoothed trailing mean series and IQR-based outlier detection in a single cheap call ($0.01 USDC). Ideal for HR analytics pipelines, data quality checks before reporting, or detecting anomalous workforce events — particularly when you need two statistical views simultaneously without building your own analytics stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:30.746Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-trailing-mean-series-iqr-outlier-flags-faf15167"}