{"uid":"cap_184tblZOJlTt84A4KjOPS","slug":"sicher-log-chain-verifier-5b7a5b90","name":"Sicher Log Chain Verifier","description":"Recomputes every record hash from a canonical JSON representation of id, sequence, timestamp, previous_hash and payload, then checks that each record points to the hash of the record before it. If a root_hash is supplied, the same computed record hashes are folded into a deterministic binary Merkle tree with the last leaf duplicated on odd levels.","url":"https://sicher.halowerk.com/v1/log-chain-verify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","required":["id","sequence","timestamp","previous_hash","payload","hash"],"properties":{"id":{"type":"string","maxLength":160,"minLength":1,"description":"Stable event id."},"hash":{"type":"string","maxLength":71,"minLength":64,"description":"Claimed SHA-256 hash of this record."},"payload":{"description":"Event payload to include in the record hash."},"sequence":{"type":"integer","maximum":1000000000,"minimum":0,"description":"Monotonic event position."},"timestamp":{"type":"string","maxLength":80,"minLength":1,"description":"Event time as supplied by the log producer."},"previous_hash":{"anyOf":[{"type":"string","maxLength":71,"minLength":64},{"type":"null"}],"description":"Hash of the previous record, or null for the first record."}},"additionalProperties":false},"maxItems":500,"minItems":1,"description":"Audit records in chain order."},"root_hash":{"type":"string","maxLength":71,"minLength":64,"description":"Optional claimed Merkle root over the computed record hashes."},"require_monotonic_sequence":{"type":"boolean","default":true,"description":"Require sequence numbers to increase by one."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BSgBscM4EKjRlSD9_Sp00","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies the cryptographic integrity of an ordered audit log chain by recomputing SHA-256 record hashes and validating hash linkage, with optional Merkle root verification.","exampleAgentPrompt":"Can you verify the integrity of this audit log chain — I have 120 records each with an id, sequence number, timestamp, payload, previous_hash, and claimed SHA-256 hash, and I also have a root_hash I want checked against a Merkle tree?","exampleUseCases":[{"title":"Compliance audit trail verification","prompt":"We're preparing for a compliance audit and need to prove our event log hasn't been tampered with. Can you verify the integrity of this 300-record audit chain including the Merkle root hash our system computed?"},{"title":"Post-incident log tamper detection","prompt":"After a security incident we need to check whether our application logs were altered. Can you run the hash chain verification on these 85 log records to find any broken links or mismatched hashes?"},{"title":"Append-only log integrity check before archiving","prompt":"Before we archive this batch of 50 audit records, verify that all the SHA-256 hashes are correctly computed and that every record properly points to the hash of the one before it, with strict monotonic sequence checking."}],"resultDescription":"Returns a structured verification result indicating whether the full chain is valid, which specific records have hash mismatches or broken previous-hash links, whether sequence numbers are monotonically increasing, and if a root_hash was provided, whether the deterministic Merkle tree computed from the record hashes matches the claimed root.","failureModes":["Hash mismatch on one or more records — payload, id, sequence, timestamp, or previous_hash differs from what was used to compute the stored hash","Broken chain link — a record's previous_hash does not match the computed hash of the preceding record","Sequence gap or non-monotonic sequence numbers when require_monotonic_sequence is true","Merkle root mismatch — computed Merkle tree root differs from supplied root_hash","First record has a non-null previous_hash","Empty records array or records exceeding 500-item limit — validation error","Malformed hash strings (wrong length or non-hex characters)"],"whenToPreferThis":"Use this endpoint when you need to cryptographically verify a tamper-evident audit log chain that stores SHA-256 hashes linking sequential records, especially when you also need Merkle root verification. Prefer this over generic hash-checking tools when your records follow the canonical {id, sequence, timestamp, previous_hash, payload} schema and you need chain-linkage validation in addition to individual hash recomputation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:34:30.940Z","isFirstParty":false,"canonicalSlug":"sicher-log-chain-verifier-5b7a5b90"}