# BRAINIAC Workforce Document Expiry Check

> BRAINIAC Workforce Document Expiry Check is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-16).

Checks employee identity and work-authorization documents against an as-of date and optional policies, returning expired and soon-to-expire documents with masked identifiers

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/hr-operations/workforce-document-expiry-check?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-workforce-document-expiry-check-2412a5b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VVKPL_3sngYzxAaUv8buu

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 brainiac-workforce-document-expiry-check-2412a5b9 -d '<json body>'
```

Example prompt: Check all our employee documents and flag anything that's expired or expiring within the next 30 days as of today — here's the list of employees and their passport and visa details in JSON format.

## When to prefer this

Use this endpoint when you need a lightweight, no-account, pay-per-call document expiry audit across a workforce roster without integrating a full HRMS. It is ideal for agents running periodic compliance sweeps, pre-audit checks, or onboarding readiness validations where you already have employee and document data structured or in CSV/JSON form. Prefer it over building custom date-comparison logic when you also want policy-aware flagging and masked-identifier output suitable for sharing.

## Known failure modes

- Missing required asOf date — returns validation error
- No documents or employees provided — returns empty document list with checked status
- Document dates in unrecognized format — parsing failure or incorrect status
- Exceeding maxItems limits (400 documents, 200 employees) — request rejected
- File base64 too large (>12MB) or wrong mediaType — schema validation error
- Malformed CSV or JSON input string — parse error returned

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object listing each document with its status (expired, due, or valid), expiry date, masked identifier, and employee ID, plus a top-level status field, the as-of date used, the withinDays window, any policy-driven issues, and a limitations array clarifying that no employment decision, access change, or legal compliance determination is made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "asOf": {
   "type": "string",
   "maxLength": 10,
   "minLength": 1
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/csv",
      "application/json",
      "text/plain"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "text": {
   "type": "string",
   "maxLength": 20000,
   "minLength": 1
  },
  "policies": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "kind": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "name": {
      "type": "string",
      "maxLength": 160,
      "minLength": 1
     },
     "match": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "stage": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "effectiveOn": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100
  },
  "roleText": {
   "type": "string",
   "maxLength": 20000,
   "minLength": 1
  },
  "documents": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "issuedOn": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
     },
     "expiresOn": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
     },
     "employeeId": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "identifier": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 400
  },
  "employees": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "name": {
      "type": "string",
      "maxLeng
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-11-03",
  "issues": [],
  "status": "checked",
  "checkedAt": "2026-11-03T13:00:00.000Z",
  "documents": [
   {
    "type": "passport",
    "detail": "The expiry date is before 2026-11-03.",
    "status": "expired",
    "expiresOn": "2020-06-01",
    "employeeId": "E-100",
    "identifierMasked": "••••4567"
   },
   {
    "type": "visa",
    "detail": "The expiry date falls within the supplied 30-day window.",
    "status": "due",
    "expiresOn": "2026-11-20",
    "employeeId": "E-100",
    "identifierMasked": "••••4321"
   }
  ],
  "withinDays": 30,
  "limitations": [
   "No employment decision is made and no access is changed.",
   "Employment law requirements are not invented. Checklist items come only from supplied policies.",
   "This result is not a legal compliance determination.",
   "Document numbers are masked, and email addresses are not copied into the response.",
   "A missing item means it was not in the request."
  ],
  "accessChanged": false,
  "legalCompliance": false,
  "employmentDecision": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-workforce-document-expiry-check-2412a5b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
