# BRAINIAC Personal Data Inventory Extract

> BRAINIAC Personal Data Inventory Extract 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-11).

Extracts and structures a personal data inventory from supplied privacy documents, data schemas, or records — identifying data categories, legal bases, purposes, and retention periods

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/privacy-operations/personal-data-inventory-extract?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-personal-data-inventory-extract-c7a250f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__7QkobEJdoY2nM8vXhwIa

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-personal-data-inventory-extract-c7a250f8 -d '<json body>'
```

Example prompt: Can you extract a structured personal data inventory from this privacy policy text — I need a list of data categories with their legal basis, purpose, and retention period, and flag anything that's missing?

## When to prefer this

Use this endpoint when you need to programmatically extract and structure a personal data inventory from unstructured or semi-structured privacy documents (policies, notices, cookie lists, consent logs, CSV schemas). It is ideal for agents automating GDPR Article 30 record preparation, privacy gap analysis, or consent audits. It does not make legal determinations — prefer it over manual document review when you need structured, machine-readable output about data categories and their attributes. Not suitable for real-time customer data deletion or access requests.

## Known failure modes

- Input documents are empty or contain no recognizable data category fields — returns empty categories array
- Text exceeds maxLength limits — request rejected with validation error
- Ambiguous or unstructured text with no labeled fields — categories may be incomplete or empty
- Legal basis cannot be inferred — finding flagged with code 'basis_missing'
- Retention period not stated — finding flagged with code 'retention_missing'
- Malformed file base64 or unsupported mediaType — request rejected
- Payment not completed via x402 — 402 response returned before processing

## 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 with: a list of extracted data categories (each with name, legal basis, purpose, retention period, and whether the basis was stated or inferred), a list of findings flagging missing or incomplete fields (e.g. missing legal basis, missing retention period), a checkedAt timestamp, gdprCompliance/legalConclusion/recordsDeleted/recordsAccessed boolean flags (all false — this is not a legal determination), and a limitations disclaimer clarifying that results are based solely on supplied documents.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "notice": {
   "type": "string",
   "maxLength": 200000
  },
  "policy": {
   "type": "string",
   "maxLength": 200000
  },
  "cookies": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "consent": {
      "type": "string",
      "maxLength": 40
     },
     "purpose": {
      "type": "string",
      "maxLength": 160
     },
     "duration": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "consents": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "state"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "state": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "evidence": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "requestId"
    ],
    "properties": {
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "action": {
      "type": "string",
      "maxLength": 40
     },
     "requestId": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "requests": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "type": {
      "type": "string",
      "maxLength": 80
     },
     "received": {
      "type": "string",
      "maxLength": 40
     }
   
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "extracted",
  "findings": [
   {
    "code": "basis_missing",
    "kind": "missing",
    "detail": "No legal basis was stated for this category. None was inferred.",
    "subject": "support notes"
   },
   {
    "code": "retention_missing",
    "kind": "missing",
    "detail": "No retention period was stated for this category.",
    "subject": "support notes"
   }
  ],
  "checkedAt": "2026-11-03T17:00:00.000Z",
  "categories": [
   {
    "name": "account email",
    "basis": "contract",
    "purpose": "sign in",
    "document": "",
    "retention": "30 days",
    "basisStated": true,
    "interpretation": "stated"
   },
   {
    "name": "support notes",
    "basis": "",
    "purpose": "support",
    "document": "",
    "retention": "",
    "basisStated": false,
    "interpretation": "stated"
   }
  ],
  "limitations": [
   "This is not a GDPR compliance determination or a legal conclusion.",
   "Categories, purposes, retention periods, and stated legal bases are copied only from labeled fields supplied by the caller.",
   "Email addresses and other direct identifiers are not copied into the response.",
   "No external customer record is accessed or deleted.",
   "A missing item means it was not in the supplied documents."
  ],
  "gdprCompliance": false,
  "recordsDeleted": false,
  "legalConclusion": false,
  "recordsAccessed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-personal-data-inventory-extract-c7a250f8/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)
