Basic Audit Decode
dcl_audit_decodeRetrieve a single audit record from the tamper-evident chain by transaction hash, enabling post-action verification of AI outputs.
Instructions
POST-ACTION Basic Audit ($0.10). Retrieves a record from the tamper-evident chain by tx_hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | Yes | Transaction hash of the audit chain record to retrieve. | |
| payment_id | No | Optional payment identifier returned by a previous call when payment is required |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set if tx_hash was not found; other fields are omitted. | |
| reason | No | Explanation recorded for the verdict. | |
| tx_hash | No | Hash of the audit chain record. | |
| verdict | No | COMMIT or NO_COMMIT. | |
| agent_id | No | Identifier of the agent tied to this record. | |
| prev_hash | No | Hash of the preceding record in the chain. | |
| seal_text | No | Human-readable Leibniz Layer verification seal. | |
| task_type | No | Task type tag recorded with this entry. | |
| timestamp | No | Unix timestamp when the record was created. | |
| confidence | No | Confidence score recorded for the verdict. | |
| verify_url | No | Public URL to independently verify this seal. | |
| chain_index | No | Sequential index of the record in the chain. | |
| chain_integrity | No | True if the full chain verifies as intact. |