# BRAINIAC Evidence Intelligence — Duplicate Cluster

> BRAINIAC Evidence Intelligence — Duplicate Cluster is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-12).

Clusters uploaded evidence files by cryptographic hash to identify byte-identical duplicates without sending files to external AI or forensic services.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/evidence-intelligence/duplicate-cluster?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-evidence-intelligence-duplicate-cluster-1637db29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_71i-wijqexjx7Bc07Yev3

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-evidence-intelligence-duplicate-cluster-1637db29 -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## 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 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.

## Request schema (JSON Schema)

```json
{
 "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": {
    
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-evidence-intelligence-duplicate-cluster-1637db29/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)
