# BRAINIAC Manufacturing Quality Defect Classifier

> BRAINIAC Manufacturing Quality Defect Classifier 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-12).

Classifies manufacturing inspection records into defect categories (dimensional, surface, assembly, etc.) using supplied standards, tolerances, and evidence — without inventing specifications or certifying compliance.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/manufacturing-quality/defect-classify?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-manufacturing-quality-defect-classifier-6486a67f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gtiPel_-mBiXoKIzVBz0Z

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-manufacturing-quality-defect-classifier-6486a67f -d '<json body>'
```

Example prompt: Classify these manufacturing inspection records for Batch B-42 — I have 3 inspections with defect descriptions like 'diameter out of spec', 'surface scratch on housing', and 'missing fastener in assembly'. My dimensional standard for diameter is 10mm ± 0.05mm. Tell me what defect kind each one is, give me defect codes where possible, and summarize counts by category.

## When to prefer this

Use this endpoint when you need structured, auditable defect classification from manufacturing inspection records against explicitly supplied standards — especially when you need defect codes, kind categorization, and nonconformance summaries without hallucinated tolerances or invented regulatory claims. Prefer this over general-purpose LLM analysis when auditability matters: the response explicitly flags whether any standard was invented. Best suited for agents embedded in manufacturing QC workflows, MES integrations, or supplier audit pipelines that need pay-per-call pricing with no account setup.

## Known failure modes

- Insufficient inspection data — no inspections or evidence supplied results in empty classification
- Tolerances not provided — dimensional defect detection unavailable without explicit standard bounds
- Minimum sample not met — SPC limits not computed if disclosed observation count is below minSample
- Oversized payload — CSV/JSON/text inputs exceeding 200,000 characters or file base64 exceeding 12MB are rejected
- Missing required file fields — file upload missing mediaType or fileBase64 returns validation error
- Too many batches or inspections — exceeding 80 batches or 200 evidence items causes schema rejection

## 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 list of classified inspection items, each with defect kind (e.g. dimensional, surface, assembly), matched characteristic, defect code, defect description text, and a confidence token. Also returns aggregate counts by defect kind, an overall status, any nonconformance findings, a checkedAt timestamp, and explicit limitation flags confirming no standards were invented, no tolerances fabricated, and no regulatory compliance was claimed.

## 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
  },
  "batches": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "ended": {
      "type": "string",
      "maxLength": 40
     },
     "product": {
      "type": "string",
      "maxLength": 160
     },
     "started": {
      "type": "string",
      "maxLength": 40
     },
     "produced": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "evidence": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "maxLength": 40
     },
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "kind": {
      "type": "string",
      "maxLength": 80
     },
     "text": {
      "type": "string",
      "maxLength": 1000
     },
     "batchId": {
      "type": "string",
      "maxLength": 80
     },
     "inspectionId": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "minSample": {
   "type": "integer",
   "maximum": 100000,
   "minimum": 1
  },
  "standards": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "characteristic"
    ],
    "properties": {
     "unit": {
      "type": "string",
      "maxLength": 40
     },
     "lower": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": -1000000000
     },
     "upper": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": -1000000000
     },
     "target": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": -1000000000
     },
     "characteristic": {
      "type": "string",
      "maxLength": 1
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "I-1",
    "kind": "dimensional",
    "partId": "",
    "batchId": "B-1",
    "matched": "diameter",
    "confidence": "token",
    "defectCode": "DIM-01",
    "defectText": "diameter out of spec",
    "productCertified": false,
    "regulatoryComplianceClaimed": false
   },
   {
    "id": "I-2",
    "kind": "surface",
    "partId": "",
    "batchId": "B-1",
    "matched": "scratch",
    "confidence": "token",
    "defectCode": "",
    "defectText": "surface scratch on housing",
    "productCertified": false,
    "regulatoryComplianceClaimed": false
   },
   {
    "id": "I-3",
    "kind": "assembly",
    "partId": "",
    "batchId": "B-1",
    "matched": "missing",
    "confidence": "token",
    "defectCode": "",
    "defectText": "missing fastener in assembly",
    "productCertified": false,
    "regulatoryComplianceClaimed": false
   }
  ],
  "counts": [
   {
    "kind": "dimensional",
    "count": 1
   },
   {
    "kind": "surface",
    "count": 1
   },
   {
    "kind": "assembly",
    "count": 1
   }
  ],
  "status": "classified",
  "findings": [],
  "checkedAt": "2026-11-04T20:00:00.000Z",
  "limitations": [
   "Inspections, measurements, batches, standards, and evidence are copied only from labeled fields supplied by the caller.",
   "Tolerances and defect-rate thresholds are used only when explicitly supplied. Manufacturing standards are never invented.",
   "Statistical process control limits are computed only when the disclosed minimum observation count is met.",
   "A nonconformance report organizes supplied evidence. It does not certify a product or assert regulatory compliance.",
   "Defect classes use transparent token rules on supplied defect text and codes."
  ],
  "productCertified": false,
  "standardInvented": false,
  "toleranceInvented": false,
  "regulatoryComplianceClaimed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-manufacturing-quality-defect-classifier-6486a67f/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)
