{"node":"audit","title":"Audit Trail Node - external anchoring","what":"Anchor a sha-256 hash (or a small JSON record) to IPFS and get back a publicly verifiable CID. Tamper-evident: a changed document no longer matches its CID.","rules":["Anchor hashes, not raw personal data: nobody can guarantee that something is deleted from IPFS.","Optional `record` payload is capped at 8KB; you are responsible for its contents.","Optional `agent` attests who produced the evidence: sign \"nirium-audit-v1:<content_sha256>\" with an ed25519 key (Stellar G address). Invalid signatures are rejected, never anchored.","Optional `pq` (only with `agent`) adds a post-quantum signature: ML-DSA-65 (NIST FIPS 204) over the same statement, { alg: \"ml-dsa-65\", key, signature } in base64. It does not say whose key it is: the payer registers sha-256 of the key on their own account (manage_data nirium-pq-v1) and verifiers check that it was registered before the receipt. Invalid signatures are rejected, never anchored.","The network is set by the box that anchors (stellar:pubnet on mainnet, stellar:testnet otherwise). A `network` field in the request body is no longer accepted and is ignored."],"pricing":"free during beta (rate-limited)","endpoints":{"log":"POST /api/audit/log","info":"GET /api/audit/info","binding":"POST /api/audit/binding (payment-binding and decision receipts from solana:* and eip155:* networks, payer-signed)"},"example":{"hash":"sha-256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","tag":"invoice-2026-07"},"attestedExample":{"hash":"sha-256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","agent":{"id":"my-agent","key":"G...","signature":"<base64 ed25519 over nirium-audit-v1:e3b0c442...b855>"}},"network":"mainnet","storage":"Pinned on Pinata, with a second copy on Filebase (Filebase accepted the last copy request at 2026-12-04T23:44:30.856Z). The POST response includes the document: keep it, and you can re-add it to IPFS with the same CID.","mirror":{"provider":"filebase","configured":true,"active":true,"lastAcceptedAt":"2026-12-04T23:44:30.856Z"}}