yax_get_receipt
Retrieve a complete signed receipt for any past run, including policy result, TEE attestation, input/output hashes, and Filecoin plus BTFS proof CIDs.
Instructions
Fetches the full signed receipt for any past run. Returns policy result, TEE attestation, input/output hashes, and Filecoin + BTFS proof CIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run ID to retrieve, returned by yax_execute_action or yax_pay_x402, e.g. run_7f29c91a. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | The run identifier. | |
| policy | No | Full policy result including version, ShadeGuard decision, and approval identity. | |
| tee_attestation | No | TEE attestation identifier. | |
| input_hash | No | SHA-256 hash of the action inputs. | |
| output_hash | No | SHA-256 hash of the action outputs. | |
| proof | No | Filecoin CID and BTFS CID for the anchored receipt. | |
| receipt_signature | No | Cryptographic signature over the full receipt. | |
| anchored_at | No | ISO 8601 timestamp of anchoring. |