{"uid":"cap_ylann0katV3NI_wQHReti","slug":"brainiac-evidence-intelligence-chain-of-custody-builder-7cf76088","name":"BRAINIAC Evidence Intelligence — Chain of Custody Builder","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/chain-of-custody-build?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":[{"events":[{"at":"2026-10-01T13:00:00.000Z","id":"CUS-1","note":"","actor":"Officer A","action":"collected","source":"","hashAfter":"c414cd0e204de974f73753c7e28d7638e7b3691bb8b1a2bab6b25bb7fed7ce77"},{"at":"2026-10-02T09:00:00.000Z","id":"CUS-2","note":"","actor":"Lab B","action":"received","source":"","hashAfter":"c414cd0e204de974f73753c7e28d7638e7b3691bb8b1a2bab6b25bb7fed7ce77"}],"filename":"scene.png","eventCount":2,"evidenceId":"EV-1","currentSha256":"c414cd0e204de974f73753c7e28d7638e7b3691bb8b1a2bab6b25bb7fed7ce77","externalAiUsed":false,"hashBreakCount":0,"factualAuthenticityClaimed":false,"externalForensicServiceUsed":false,"cryptographicIntegrityVerified":true}],"status":"built","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."],"evidenceCount":1,"apiKeyRequired":false,"externalAiUsed":false,"paidProviderUsed":false,"filesSentExternally":false,"factualAuthenticityClaimed":false,"externalForensicServiceUsed":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_8JdZLIMCV39hdiUZuB3Gi","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":"Builds a cryptographic chain-of-custody record for digital evidence files, verifying hash integrity across custody events without sending files to external services.","exampleAgentPrompt":"Build a chain-of-custody record for this crime scene photo — I collected it on 2026-10-01 as Officer A, then Lab B received it on 2026-10-02. Attach the file and verify that its SHA-256 hash c414cd0e204de974f73753c7e28d7638e7b3691bb8b1a2bab6b25bb7fed7ce77 hasn't changed at any step.","exampleUseCases":[{"title":"Forensic evidence audit trail for prosecution","prompt":"I have a chain of three custody events for a PNG screenshot — collected by our investigator on Oct 1, transferred to the forensic lab on Oct 3, and received by counsel on Oct 5. Can you build the full custody record and verify that the SHA-256 hash stayed the same throughout? I'll provide the file and each handler's name."},{"title":"Tamper detection for uploaded incident documents","prompt":"We received three PDF incident reports from a third party and need to confirm none were altered after they were originally signed. Build a chain-of-custody log using the expected SHA-256 digests we have on file and flag any hash breaks."},{"title":"Legal hold integrity verification for HR case","prompt":"Our HR team needs a custody log for a video clip involved in a workplace misconduct case — it was collected from the CCTV system by IT on Nov 1, reviewed by HR on Nov 4, and sent to outside counsel on Nov 6. Can you build the custody chain and confirm the file's integrity was maintained at each handoff?"}],"resultDescription":"Returns a structured JSON object with per-evidence items containing: ordered custody event logs (actor, action, timestamp, hash after each step), current SHA-256 hash, count of hash breaks (tampering indicators), cryptographic integrity verified flag, C2PA provenance hints, factual authenticity claim status, evidence count, overall status ('built'), findings array, and a limitations disclaimer clarifying that files are not sent externally and hash matches verify byte integrity only.","failureModes":["Hash mismatch detected — hashBreakCount > 0 indicates file was modified between custody events","Missing required fileBase64 field in files array — returns validation error","expectedSha256 mismatch on upload — file bytes do not match declared hash","custodyEvents array exceeds 400-item limit — truncated or rejected","File base64 payload exceeds 12MB per file limit","Invalid mediaType enum value — rejected with schema error","Malformed timestamp in 'at' or 'capturedAt' fields — event ordering may be incorrect","No files or custody events provided — returns empty items array with no meaningful findings"],"whenToPreferThis":"Choose this endpoint when you need a self-contained, privacy-preserving chain-of-custody record where files must NOT be sent to external AI or forensic cloud services. Ideal for legal, HR, law enforcement, or compliance workflows requiring cryptographic hash continuity verification across multiple handlers. Prefer over general-purpose document storage or cloud forensics APIs when auditability, tamper detection, and data locality are requirements. Best when you have structured custody event metadata (actors, timestamps, actions) to attach to file hashes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:09.891Z","isFirstParty":false,"canonicalSlug":"brainiac-evidence-intelligence-chain-of-custody-builder-7cf76088"}