Skip to main content

CatalogService.GetTableSnapshotConversionReport

Read one verified conversion report. Use the manifest digest for a published snapshot. Omit it when reading owner-bound reports from a failed build. Parse reportJson to inspect the verified row counts and conversion diagnostics.

CatalogService · Installed Web API. Use the HTTPS origin of your Prokrust installation and credentials authorized for this operation.

POST /prokrust.api.v1alpha1.CatalogService/GetTableSnapshotConversionReport

Request headers​

HeaderValue and purpose
AuthorizationUse Bearer $PROKRUST_TOKEN for a Kubernetes caller authorized for this operation. Browser calls use the signed-in session.
Content-Typeapplication/json selects ProtoJSON for this unary request.
Connect-Protocol-Version1 selects version 1 of the Connect protocol.

Request fields​

GetConversionReportRequest

JSON fieldTypeMeaning
namespacestringKubernetes workspace namespace for the operation. Use the namespace in which the selected resource lives.
namestringKubernetes metadata.name of the selected resource in this namespace.
uidstringKubernetes metadata.uid identifying this particular object. Read it from the resource before targeting an existing instance.
manifestDigeststringRequired for a published snapshot. Empty selects owner-bound failed reports.
reportIndexuint32Zero-based report position to read for this snapshot.

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/GetTableSnapshotConversionReport" \
--data-binary @- <<'JSON'
{
"namespace": "analytics",
"name": "events-snapshot",
"uid": "db607470-6181-53ce-91b8-615446c4e0fa",
"manifestDigest": "sha256:c687d66a4fa16752ac849be49935d560250318839e5e350e3aa129c2d732a103",
"reportIndex": 0
}
JSON

Response fields​

ConversionReportResponse

JSON fieldTypeMeaning
manifestDigeststringSHA-256 identity of the verified manifest. Keep it with file indices so they refer to the same publication.
reportDigeststringDigest of the complete verified report artifact.
reportJsonstringVerified JSON display, at most 1 MiB, preserving exact integer/text values. When truncated, large reference/sample arrays are shortened.
truncatedboolTrue when display arrays are shortened from the verified original artifact.
totalReportsuint32Number of conversion reports available for this snapshot.

Example response​

{
"manifestDigest": "sha256:c687d66a4fa16752ac849be49935d560250318839e5e350e3aa129c2d732a103",
"reportDigest": "sha256:a6b345e5e70e15b2fc0f0ff12ee71a924bb2bf5cb188f7e4ddd777439158fbc3",
"totalReports": 1,
"reportJson": "{\"approximatedValues\":0,\"completedWorkUnits\":1,\"contractVersion\":\"prokrust.normalization-report/v1\",\"executionDigest\":\"sha256:c00852418ca9e497cc9d5476f60cfb1904913e3776b3afe7cd72707ce3f9ec20\",\"maxRowBytes\":32,\"normalizerVersion\":\"v1\",\"nullCounts\":{\"value\":1},\"omittedColumnCount\":0,\"omittedColumns\":[],\"omittedColumnsTruncated\":false,\"plan\":{\"digest\":\"sha256:7e4c5af2ebf1c7a0d9216f38873d6532edde5ca58f19471ecf3cc96c0b3238ae\",\"mediaType\":\"application/vnd.prokrust.conversion-plan.v1+json\",\"sizeBytes\":512,\"uri\":\"s3://analytics-artifacts/conversion/plan.json\"},\"rowCount\":128,\"timezoneDatabaseVersion\":\"2026a\",\"unitReports\":[{\"digest\":\"sha256:376cf378769b0646d2a87aaab7938bc0ae9d559aca19eff610390edb0ffa88bc\",\"mediaType\":\"application/vnd.prokrust.normalization-report.v1+json\",\"sizeBytes\":128,\"uri\":\"s3://analytics-artifacts/conversion/unit-report.json\"}],\"workUnits\":1}"
}