List the counter versions of a document
/documents/{document_id}/counter-versionsLists the counters made on one document, newest first; the same answer as GET /counter-versions?filter[document_id]=. 404 for an unknown document or one the caller cannot read. Investors and advisors see only counters they made. Changes nothing.
Path parameters
The original document's id.
Query parameters
- Default:
Page size (1–100). Defaults to 25; values are clamped to the range.
25 Opaque pagination cursor taken from a prior response's
meta.next_cursor.Comma-separated top-level fields to return.
idis always returned.Comma-separated fields to sort by: created_at. Prefix a field with
-for descending. Defaults to-created_at. The id is always the final tiebreak.Counters of this original document. Takes
[in]and[not_in]with a comma-separated list.Counters made on this contract. Takes
[in]and[not_in]with a comma-separated list.- One of:
Counters in this status: pending, complete, declined or signed. Takes
[in]and[not_in]with a comma-separated list.pending,complete,declined,signed Counters that reply to this counter. Send
filter[parent_id][null]=truefor the first counter of each chain. Takes[in]and[not_in]with a comma-separated list.Created at or after / before a UTC date-time such as 2026-03-01T00:00:00Z. Use
[gt],[gte],[lt]or[lte].
Responses
{
"data": [
{
"id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"document_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"counter_document_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"parent_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"author_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"comment": "string",
"feedback": "string",
"status": "pending",
"locked": true,
"contract_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"created_at": "2026-06-12T10:00:00+00:00",
"updated_at": "2026-06-12T10:00:00+00:00"
}
],
"meta": {
"limit": 1,
"next_cursor": "string",
"prev_cursor": "string"
}
}Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl https://your-org-domain/kong/core/api/v2/documents/{document_id}/counter-versions\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"