{"uid":"cap_71i-wijqexjx7Bc07Yev3","slug":"brainiac-evidence-intelligence-duplicate-cluster-1637db29","name":"BRAINIAC Evidence Intelligence — Duplicate Cluster","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/evidence-intelligence/duplicate-cluster?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"id":{"type":"string","maxLength":80},"role":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"filename":{"type":"string","maxLength":180,"minLength":1},"parentId":{"type":"string","maxLength":80},"mediaType":{"enum":["image/png","image/jpeg","image/webp","image/gif","video/mp4","video/quicktime","application/pdf","application/octet-stream","text/plain","application/json"],"type":"string"},"capturedAt":{"type":"string","maxLength":40},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1},"expectedSha256":{"type":"string","maxLength":128}},"additionalProperties":false},"maxItems":40},"custodyEvents":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"note":{"type":"string","maxLength":500},"actor":{"type":"string","maxLength":200},"action":{"type":"string","maxLength":120},"source":{"type":"string","maxLength":200},"hashAfter":{"type":"string","maxLength":128},"evidenceId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":400},"expectedHashes":{"type":"array","items":{"type":"object","properties":{"digest":{"type":"string","maxLength":128},"filename":{"type":"string","maxLength":180},"algorithm":{"enum":["md5","sha1","sha256","sha512"],"type":"string"},"evidenceId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":200}}},"responseSchema":{"type":"json","example":{"items":[{"count":2,"sha256":"c414cd0e204de974f73753c7e28d7638e7b3691bb8b1a2bab6b25bb7fed7ce77","fileIds":["EV-1","EV-2"],"filenames":["scene.png","scene-copy.png"],"externalAiUsed":false,"cryptographicDuplicate":true,"factualAuthenticityClaimed":false,"externalForensicServiceUsed":false}],"status":"clustered","findings":[],"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Evidence bytes are processed only in this local request path. Files are not sent to external AI or forensic services.","Cryptographic hash matches verify byte integrity only. They do not prove factual authenticity of depicted events or authorship.","C2PA checks look for local provenance markers and structure hints in the uploaded bytes. Marker presence is not a factual authenticity determination.","Video keyframes are taken only from caller-supplied frame files or container metadata. Frames are not decoded by an external service and are not invented.","Location clues come from embedded metadata or labeled caller fields. Missing GPS is not invented."],"clusterCount":1,"apiKeyRequired":false,"externalAiUsed":false,"paidProviderUsed":false,"filesSentExternally":false,"factualAuthenticityClaimed":false,"externalForensicServiceUsed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_74KmoJBCKimL5XkEzy5c_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Clusters uploaded evidence files by cryptographic hash to identify byte-identical duplicates without sending files to external AI or forensic services.","exampleAgentPrompt":"I have three image files from a legal case — scene.png, scene-copy.png, and photo2.jpg — can you cluster them to find which ones are exact byte-for-byte duplicates using cryptographic hashing, without sending them to any external AI service?","exampleUseCases":[{"title":"Legal evidence deduplication review","prompt":"I'm preparing a document production for litigation and I have 20 uploaded evidence files. Can you cluster them by cryptographic hash to find any exact duplicates — I need to know which files are byte-identical before we produce them?"},{"title":"Forensic image integrity check","prompt":"I've got a set of crime scene photos submitted as evidence — can you run a duplicate cluster check on these images to identify any that are identical copies of each other, without using any external forensic service?"},{"title":"Compliance audit file deduplication","prompt":"We received a batch of PDF and image files in a regulatory submission and I need to know if any are exact duplicates of each other. Can you cluster them by SHA-256 hash and tell me which file IDs match?"}],"resultDescription":"Returns a clustered result with an array of duplicate groups, each containing the SHA-256 hash, count of matching files, file IDs, and filenames. Also includes status, cluster count, findings, checkedAt timestamp, and a limitations array explicitly stating that files were not sent externally, cryptographic matches are byte-only (not factual authenticity), and no external AI or forensic services were used.","failureModes":["Files too large — base64 content exceeds 12MB per file limit","Too many files — more than 40 files submitted at once","Invalid base64 encoding — file content malformed","Unsupported media type — file MIME type not in allowed enum","No duplicates found — returns empty items array with clusterCount 0","Malformed JSON body — missing required fields or schema violations"],"whenToPreferThis":"Choose this endpoint when you need to identify byte-identical duplicate files within an evidence set entirely on-device without any external AI, forensic, or cloud processing — especially in legal, compliance, or investigative contexts where data privacy and chain-of-custody matter. Prefer it over general deduplication tools when you need cryptographic (SHA-256) proof of identity, custody event tracking, and explicit assurance that files are not sent to third parties.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:36:55.371Z","isFirstParty":false,"canonicalSlug":"brainiac-evidence-intelligence-duplicate-cluster-1637db29"}