{"uid":"cap_9-z8xqaYd0YlM0CB0jKT8","slug":"brainiac-audit-integrity-receipt-650cfee1","name":"BRAINIAC Audit Integrity Receipt","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/audit/integrity-receipt?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"payload":{},"evaluation":{"type":"object","required":["subject","operation","result"],"properties":{"result":{"enum":["pass","fail","review"],"type":"string"},"subject":{"type":"string","maxLength":160,"minLength":3},"operation":{"type":"string","pattern":"^[a-z0-9]+(?:\\.[a-z0-9-]+){1,4}$"},"declared_fields":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,40}$"},"maxItems":40,"minItems":1}},"additionalProperties":false},"evaluated_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"},"payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"responseSchema":{"type":"json","example":{"timestamp":"2026-04-10T15:04:00Z","receipt_hash":"sha256:5bb96d543626161d896bdda99376a8ccf5389f25a1db48f62b110245557bb9be","integrity_score":93}},"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_PxPhAblQgreTL9kne-kEI","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":"Generates a cryptographic integrity receipt with a hash and score for an evaluated audit payload, recording compliance or security check outcomes on a verifiable basis.","exampleAgentPrompt":"Generate an integrity receipt for the audit I just ran: the subject is 'user-kyc-check-7721', the operation is 'compliance.kyc.identity', the result was 'pass', the declared fields are ['name','dob','address'], and the payload SHA-256 is 'a3f1...bc42' — evaluated at 2025-06-15T10:00:00Z.","exampleUseCases":[{"title":"KYC compliance audit certification","prompt":"I just ran a KYC check on subject 'customer-00482', operation 'compliance.kyc.identity', result was 'pass', declared fields are ['name','dob','country'], payload hash is '4d9a1c2e3f0b5a7d8c9e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c', evaluated at 2025-06-20T09:30:00Z — give me an integrity receipt for this."},{"title":"Security scan result anchoring","prompt":"Anchor the result of a security scan: subject is 'api-gateway-prod', operation 'security.scan.endpoint', result is 'review', declared fields are ['port','protocol','vuln_id'], SHA-256 of the scan payload is '1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b', timestamp 2025-06-21T14:00:00Z."},{"title":"Agent operation audit trail","prompt":"My AI agent just completed a data-access operation — subject 'agent-flux-003', operation 'data.access.read', result 'pass', declared fields ['record_id','scope','requester'], payload hash 'b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3', evaluated at 2025-06-22T08:15:00Z — generate an integrity receipt with a score."}],"resultDescription":"Returns a JSON object containing a UTC timestamp of receipt issuance, a SHA-256 receipt hash (prefixed 'sha256:') uniquely identifying the certified audit record, and an integer integrity score (0–100) reflecting the assessed trustworthiness of the submitted evaluation.","failureModes":["Invalid or missing payload_sha256 (not a 64-char hex string) returns a 400 error","operation field not matching pattern '^[a-z0-9]+(?:\\\\.[a-z0-9-]+){1,4}$' causes validation failure","result enum value outside pass/fail/review returns a schema error","evaluated_at not in strict ISO 8601 UTC format causes rejection","Payment not received or insufficient USDC returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need a tamper-evident, cryptographically anchored receipt for the outcome of an AI agent compliance, security, or data-integrity evaluation — especially in regulated or auditable workflows. Prefer it over manual logging when you need an objective integrity score and a referenceable receipt hash you can store or share as proof of an audit result. It is particularly suited for agent-to-agent accountability chains, onchain compliance workflows, and situations where pay-per-call billing via x402 on Base fits your cost model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T18:47:32.849Z","isFirstParty":false,"canonicalSlug":"brainiac-audit-integrity-receipt-650cfee1"}