{"uid":"cap_gtiPel_-mBiXoKIzVBz0Z","slug":"brainiac-manufacturing-quality-defect-classifier-6486a67f","name":"BRAINIAC Manufacturing Quality Defect Classifier","description":"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.","url":"https://www.brainiac.software/api/v1/manufacturing-quality/defect-classify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":120,"minLength":1}},"additionalProperties":false},"maxItems":80},"thresholds":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":80,"minLength":1},"value":{"type":"number","maximum":1,"minimum":0}},"additionalProperties":false},"maxItems":20},"inspections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"partId":{"type":"string","maxLength":80},"result":{"type":"string","maxLength":80},"batchId":{"type":"string","maxLength":80},"inspector":{"type":"string","maxLength":120},"defectCode":{"type":"string","maxLength":80},"defectText":{"type":"string","maxLength":500},"inspectedAt":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":500},"measurements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"unit":{"type":"string","maxLength":40},"value":{"type":"number","maximum":1000000000,"minimum":-1000000000},"batchId":{"type":"string","maxLength":80},"measuredAt":{"type":"string","maxLength":40},"inspectionId":{"type":"string","maxLength":80},"characteristic":{"type":"string","maxLength":120}},"additionalProperties":false},"maxItems":1000},"spcMinSample":{"type":"integer","maximum":100000,"minimum":2},"defectRateThreshold":{"type":"number","maximum":1,"minimum":0}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IBdlPNFEe6T5gfGjug8dq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies manufacturing inspection records into defect categories (dimensional, surface, assembly, etc.) using supplied standards, tolerances, and evidence — without inventing specifications or certifying compliance.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Batch defect classification after production run","prompt":"I just finished a production run for our aluminum housings — here's the inspection data from 50 units in batch B-7. Some entries mention scratches, some have diameter readings outside our ±0.02mm spec, and a few have assembly issues. Can you classify each inspection into the right defect category, assign defect codes, and give me a count breakdown by type?"},{"title":"Incoming quality control on supplier parts","prompt":"We received a shipment from our supplier and ran 120 incoming inspections. I'll give you the inspection notes as a CSV — our upper tolerance for wall thickness is 3.5mm and lower is 3.1mm. Classify any out-of-spec readings as dimensional defects, flag surface anomalies separately, and tell me the overall defect rate by kind."},{"title":"Nonconformance report from field evidence","prompt":"I have 15 pieces of evidence collected from a warranty return — timestamps, photos descriptions, and batch IDs for Batch B-19. The product is a hydraulic valve. Can you organize these into a nonconformance report, classify what types of defects are present, and confirm you're not inventing any specs I haven't provided?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:33.139Z","isFirstParty":false,"canonicalSlug":"brainiac-manufacturing-quality-defect-classifier-6486a67f"}