# Company Headcount Observations — Record Quality Audit + Explicit Missing-Value Fill

> Company Headcount Observations — Record Quality Audit + Explicit Missing-Value Fill is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Audits data quality and fills missing headcount or open_roles values (using zero, mean, or median) for up to 200 company headcount observation records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-12-019?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/company-headcount-observations-record-quality-audit-explicit-missing-aa4180c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4i2T8MWWDYiGOvk4KlIEN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability company-headcount-observations-record-quality-audit-explicit-missing-aa4180c4 -d '<json body>'
```

Example prompt: Can you audit the data quality and fill any missing headcount values using median imputation for these 5 company headcount records: [{row_id: 'r1', company_group: 'engineering', date: '2024-03-01', headcount: 120, open_roles: null}, {row_id: 'r2', company_group: 'sales', date: '2024-03-01', headcount: null, open_roles: 8}]?

## When to prefer this

Choose this endpoint when you need both a data quality audit AND missing-value imputation for company headcount or open_roles data in a single low-cost call. It is ideal for pre-processing workforce datasets before loading into analytics or BI tools, when you want zero, mean, or median imputation and do not need live workforce data lookups, predictions, or external enrichment.

## Known failure modes

- Fewer than 1 row supplied — rejected by minItems constraint
- More than 200 rows supplied — rejected by maxItems constraint
- Invalid date format (not YYYY-MM-DD) — validation error
- row_id missing or empty — required field error
- Unknown imputation method or field enum value — schema validation error
- All values in target field are null — mean/median imputation may be undefined

## How this service works

Company headcount observations — Record quality audit + Explicit missing-value fill: Record quality audit + 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.

## Output

Returns two independent reports: (1) a record quality audit identifying issues such as nulls, out-of-range values, or formatting problems across the supplied rows; and (2) an explicit missing-value fill report showing which rows had null headcount or open_roles values and what replacement values were applied using the chosen method (zero, mean, or median). No external data sources are consulted — analysis is performed on the supplied data only.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/company-headcount-observations-record-quality-audit-explicit-missing-aa4180c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
