{"uid":"cap_bU4dnu7EDlHvyCNj8ZsHK","slug":"company-headcount-observations-category-frequencies-iqr-outlier-flags-6493bb5a","name":"Company Headcount Observations — Category Frequencies + IQR Outlier Flags","description":"Company headcount observations — Category frequencies + IQR outlier flags: Category frequencies + 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-107?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"}}},"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_9R9IgTbbqGjDh9JdWfICv","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 category frequency distributions and IQR-based outlier flags for supplied company headcount and open-roles observation records (up to 200 rows, 2 reports).","exampleAgentPrompt":"Analyze these 50 company headcount observations across our groups — for the headcount field, give me the category frequencies by company_group and flag any IQR outliers so I can spot which records are anomalous.","exampleUseCases":[{"title":"HR team outlier review","prompt":"I have headcount records for four company groups over the last quarter — can you run the category frequency and IQR outlier analysis on the headcount field so I know which data points look statistically unusual?"},{"title":"Open roles distribution check","prompt":"Here are 120 rows of open_roles observations across multiple company groups — give me the frequency breakdown by category and flag any IQR outliers in the open_roles numbers."},{"title":"Workforce data quality audit","prompt":"Before we import this headcount dataset into our BI tool, can you run the category frequencies and IQR outlier flags on these 80 rows so we can clean out any anomalous records first?"}],"resultDescription":"Returns two analytical reports: (1) category frequency counts/distributions broken down by company_group for the selected field (headcount or open_roles), and (2) IQR-based outlier flags identifying which rows fall outside the interquartile range, all computed locally against the supplied data with no external lookups.","failureModes":["Input array is empty or exceeds 200 rows — validation error returned","Required fields (row_id, company_group, date, headcount, open_roles) missing from one or more rows — schema rejection","Date field does not match YYYY-MM-DD pattern — validation error","Field enum value is not 'headcount' or 'open_roles' — rejected","All values are null for the selected field — IQR computation cannot proceed","Payment of 0.01 USDC not included or fails — 402 response, no analysis returned"],"whenToPreferThis":"Use this endpoint when you have raw company headcount or open-roles tabular data (up to 200 rows) and need both a categorical frequency distribution and IQR-based outlier detection in a single low-cost call. Ideal for HR analytics, data quality audits, or pre-processing steps before importing workforce data into a BI system. Prefer this over general-purpose statistics APIs when you specifically need the company_group breakdown paired with outlier flags in one response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:47.862Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-category-frequencies-iqr-outlier-flags-6493bb5a"}