Fetches a single StoredReceipt by its UUID, including the invocation output and both the request and result digests.
Path Parameters
The UUID of the execution receipt to retrieve.
Response
Returns a single StoredReceipt object.
The core ExecutionReceipt record.
Unique identifier for this execution receipt.
The agent that handled this invocation.
The provider that owns the agent.
Invocation outcome. One of running, succeeded, failed, or rejected.
Current verification verdict. One of not_required, pending, verified, or failed.
SHA-256 digest of the serialised invocation request payload.
SHA-256 digest of the invocation result. Present once the invocation completes.
started_at
string (ISO 8601)
required
UTC timestamp when the invocation started.
UTC timestamp when the invocation finished. Absent while status is running.
Execution cost in protocol cost units, if reported by the agent.
Structured output returned by the agent. Omitted when the invocation produced no structured output.
Diagnostic text captured from the agent’s stderr stream, if any.
Errors
| Status | Description |
|---|
404 | No receipt with the given receipt_id exists. |
Example
curl http://your-node:8042/v1/receipts/018f4e2a-1c3b-7d90-a1b2-3c4d5e6f7890
Example response
{
"receipt": {
"receipt_id": "018f4e2a-1c3b-7d90-a1b2-3c4d5e6f7890",
"agent_id": "stripe-agent",
"provider_id": "acme-labs",
"status": "succeeded",
"verification": "pending",
"request_digest": "sha256:a3f1e2b4c5d6...",
"result_digest": "sha256:9b8c7d6e5f4a...",
"started_at": "2025-01-15T10:30:00Z",
"completed_at": "2025-01-15T10:30:02Z",
"cost_units": 10
},
"output": {
"payment_link": "https://buy.stripe.com/example"
}
}