CatalogService.ListSnapshotHistory
Count or page through snapshots for one parent, or request orphaned snapshots of one kind. A zero page size returns counts.
CatalogService · Installed Web API. Use the HTTPS origin of your Prokrust installation and credentials authorized for this operation.
POST /prokrust.api.v1alpha1.CatalogService/ListSnapshotHistory
Request headers
| Header | Value and purpose |
|---|---|
Authorization | Use Bearer $PROKRUST_TOKEN for a Kubernetes caller authorized for this operation. Browser calls use the signed-in session. |
Content-Type | application/json selects ProtoJSON for this unary request. |
Connect-Protocol-Version | 1 selects version 1 of the Connect protocol. |
Request fields
| JSON field | Type | Meaning |
|---|---|---|
namespace | string | Kubernetes workspace namespace for the operation. Use the namespace in which the selected resource lives. |
snapshotKind | string | TableSnapshot or GraphSnapshot. |
parentName | string | Name of the Table or Graph whose history to read. Omit when orphanedOnly is true. |
orphanedOnly | bool | True selects snapshots without a current parent. Omit parentName for this selection. |
pageSize | int32 | Zero returns counts only; explicit page sizes 1..100. |
pageToken | string | Opaque continuation from the preceding response. Omit it for the first page and keep other selection fields unchanged. |
Example request
Set PROKRUST_URL to the installation’s HTTPS origin and PROKRUST_TOKEN to your caller token. Replace the sample values with values from your installation.
curl --fail-with-body --silent --show-error \
-H "Authorization: Bearer $PROKRUST_TOKEN" \
-H 'Content-Type: application/json' \
-H 'Connect-Protocol-Version: 1' \
"$PROKRUST_URL/prokrust.api.v1alpha1.CatalogService/ListSnapshotHistory" \
--data-binary @- <<'JSON'
{
"namespace": "analytics",
"snapshotKind": "TableSnapshot",
"parentName": "events",
"pageSize": 10
}
JSON
Response fields
| JSON field | Type | Meaning |
|---|---|---|
resources | list of Resource | Resource projections returned on this page. An empty page contains no matching resources. |
nextPageToken | string | Opaque continuation for the next page. Stop when it is empty. |
totalCount | uint32 | Number of snapshots matching the request before pagination. |
runningCount | uint32 | Matching snapshots whose activity is counted as running across the complete filtered result. |
failedCount | uint32 | Number of matching snapshots currently counted as failed. |
Example response
{
"resources": [
{
"namespace": "analytics",
"name": "events-snapshot",
"uid": "db607470-6181-53ce-91b8-615446c4e0fa",
"resourceVersion": "42",
"generation": "1",
"creationTimestamp": "2026-05-12T10:00:00Z",
"spec": {
"data": {
"tableRef": {
"name": "events",
"uid": "17bfeac6-baf4-5465-ae61-1fcd073ab5f2",
"generation": 1,
"semanticDigest": "sha256:4c4ed1afbfdaa1e4c3bf7bbb82d730cecb7e384da91eea4f3cc093fd545524d6"
},
"expectedTableDigest": "sha256:4c4ed1afbfdaa1e4c3bf7bbb82d730cecb7e384da91eea4f3cc093fd545524d6",
"coverage": {
"completeThrough": "2026-05-12T10:00:00Z"
},
"source": {
"mode": "ResolveCurrent"
}
}
}
}
],
"totalCount": 1
}