CatalogService.RetrySnapshot
Create or recover the SnapshotBuild for one retry request on a pinned snapshot. Reuse the same request ID when retrying the same API call.
CatalogService · Installed Web API. Use the HTTPS origin of your Prokrust installation and credentials authorized for this operation.
POST /prokrust.api.v1alpha1.CatalogService/RetrySnapshot
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. |
kind | string | Select TableSnapshot or GraphSnapshot to identify the snapshot whose build should be retried. |
name | string | Kubernetes metadata.name of the selected resource in this namespace. |
uid | string | Kubernetes metadata.uid identifying this particular object. Read it from the resource before targeting an existing instance. |
requestId | string | Stable identifier for one retry intent. Repeat it to recover the same build after an uncertain response. |
resources | JSON object | Optional resource requirements for the new SnapshotBuild attempt. Set requests or limits when retrying with different compute resources. |
placementTemplateRef | PlacementTemplateReference | Optional workspace placement template for the new build attempt. Choose one supplied by the administrator. |
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/RetrySnapshot" \
--data-binary @- <<'JSON'
{
"namespace": "analytics",
"name": "events-snapshot",
"uid": "db607470-6181-53ce-91b8-615446c4e0fa",
"kind": "TableSnapshot",
"requestId": "retry-001"
}
JSON
Response fields
| JSON field | Type | Meaning |
|---|---|---|
namespace | string | Kubernetes workspace namespace for the operation. Use the namespace in which the selected resource lives. |
name | string | Kubernetes metadata.name. Combine it with namespace and UID when acting on an existing object. |
uid | string | Kubernetes metadata.uid identifying this particular object. Read it from the resource before targeting an existing instance. |
resourceVersion | string | Opaque Kubernetes resource version. Copy the value from a current read. Preserve it as a string. |
generation | int64 | Kubernetes spec generation. Compare it with status.observedGeneration to check whether the controller processed this spec. |
spec | JSON object | Complete Kubernetes spec object for this resource kind. Use the corresponding CRD field reference. |
status | JSON object | Controller observations from the CRD status, when published. Compare observedGeneration with generation before interpreting conditions. |
labels | map from string to string | Kubernetes labels included in the resource projection. Use them to identify release or application ownership. |
annotations | map from string to string | Kubernetes annotation values included in the projection. Check the owning tool’s annotations before changing a managed object. |
creationTimestamp | string | Kubernetes creation time in RFC 3339 format. |
deletionTimestamp | string | Accepted deletion remains pending until the resource disappears. |
Example response
{
"namespace": "analytics",
"name": "build-f20bbc0116a5d8d78564559e",
"uid": "7ed5f1f4-990e-51f4-a2d4-2397f01135e6",
"resourceVersion": "42",
"generation": "1",
"creationTimestamp": "2026-05-12T10:00:00Z",
"spec": {
"request": {
"requestId": "retry-001",
"ordinal": 1,
"snapshotRef": {
"kind": "TableSnapshot",
"name": "events-snapshot",
"uid": "f5d66dad-e2ca-5db3-8ea8-7569d0eaa226"
},
"dataRequestDigest": "sha256:fda8e2881d694c1a37a2bd187acc3c9b1e0b31fd202c091901ba7ce1c8a5e93b"
}
}
}
For the fields inside a resource definition or status, select the kind in the Kubernetes reference.