Get a proof bundle
Returns the proof bundle of one recorded event, so you can check it against the anchored batch yourself.
- GET/api/v1/proofs/{eventId}
Request
| Method | GET |
| Path | /api/v1/proofs/{eventId} |
| Base URL | https://api.ventrahq.tech |
| Group | Proofs |
| Authentication | Bearer access token: Authorization: Bearer <access-token>. The tenant comes from the credential, never from the request. |
| Roles | Any authenticated role. Auditor and supervisor credentials get outcomes and hashes without message bodies or field values. |
| Operation id | get_proofs__eventId_ |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
eventId | path | string | Yes | The identifier of the recorded event (event_id in a transaction timeline). |
No request body.
Response
200 with application/json.
| Field | Type | Description |
|---|---|---|
eventId | string | The event. |
tenantId | string | Your tenant. |
eventType | string | Type of the recorded event. |
eventHash | string | Hash of the event. |
prevHash | string | Hash of the previous event of your tenant (the chain link). |
tenantSequence | integer | Position of the event in your tenant's chain. |
merklePath | array of string | Sibling hashes from the event to the batch root. |
batchRoot | string | Root of the batch the event belongs to. |
treeHashAlgorithm | string | Hash algorithm of the batch tree. |
anchors | array | Where the batch root was anchored: chain, txHash, blockNumber. |
signature | string | Signature over the batch. |
canonicalPayload | object | The event as hashed. |
Example (placeholder values):
{
"eventId": "<event-id>",
"tenantId": "<your-tenant>",
"eventType": "<event-type>",
"eventHash": "<sha-256-hex>",
"prevHash": "<sha-256-hex>",
"tenantSequence": 42,
"merklePath": [
"<sha-256-hex>"
],
"batchRoot": "<sha-256-hex>",
"treeHashAlgorithm": "sha256",
"anchors": [
{
"chain": "<chain>",
"txHash": "<tx-hash>",
"blockNumber": 0
}
],
"signature": "<signature>"
}
Errors
Errors of this operation are problem details (application/problem+json).
| Status | When |
|---|---|
400 | The request is malformed, for example a parameter of the wrong type. |
401 | No valid credential, or the credential carries no tenant. |
403 | The credential is valid but its role may not use this operation. |
404 | Your tenant has no recorded event with this identifier. |
409 | The event is recorded but not yet in a batch. Try again later. |
Authentication failures and rate limits are answered before the operation, in another body shape. See Status, errors and retries.
Example
curl -sS "https://api.ventrahq.tech/api/v1/proofs/<event-id>" \
-H "Authorization: Bearer <access-token>" \
-H "Accept: application/json"
Related
- API reference · Every documented operation of the Ventra Platform API v1, grouped by resource, generated from the specification.
- Status, errors and retries · The status codes of the API, its two error shapes, rate limits, which calls to retry and how to page through a list.
- Environments and keys · Where the API runs, how a call is authenticated, and how to keep a credential out of places it does not belong.
Last reviewed 2026-12-01