List match sets
Lists the match sets of your tenant: which parties' messages agreed for an event, one page at a time.
- GET/api/v1/matches
Request
| Method | GET |
| Path | /api/v1/matches |
| Base URL | https://api.ventrahq.tech |
| Group | Matches |
| 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_matches |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | No | Page size. Default 50, at most 200. |
cursor | query | string | No | The nextCursor of the previous page. Opaque: pass it back unchanged. |
outcome | query | string | No | Only match sets with this outcome: MATCHED, MISMATCHED, UNMATCHED or SELF_ATTESTED. |
No request body.
Response
200 with application/json.
| Field | Type | Description |
|---|---|---|
data | array | Match sets of your tenant. |
data[].set_id | string | Identifier of the match set. |
data[].transaction_ref | string | Transaction reference. |
data[].event_ref | string | Event reference. |
data[].outcome | string | MATCHED, MISMATCHED, UNMATCHED or SELF_ATTESTED. |
data[].differing_fields | array of string | Names of the fields that differ. Names only, never values. |
data[].member_hashes | array of string | Hashes of the messages in the set. |
data[].recorded_at | string (date-time) | Time the outcome was recorded. |
nextCursor | string or null | Cursor of the next page; null on the last page. |
Example (placeholder values):
{
"data": [
{
"set_id": "<set-id>",
"transaction_ref": "<transaction-ref>",
"event_ref": "<event-ref>",
"outcome": "MISMATCHED",
"differing_fields": [
"quantity"
],
"member_hashes": [
"<sha-256-hex>",
"<sha-256-hex>"
],
"recorded_at": "2026-12-01T09:30:00.000Z"
}
],
"nextCursor": null
}
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. |
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/matches?limit=50" \
-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