Skip to main content
GET
contractTableStatsById

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Tenant
string

Workspace slug. Overrides subdomain-based workspace resolution when provided.

Example:

"acme"

X-Request-ID
string<uuid>

Optional request correlation ID echoed back in the response.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Query Parameters

contractId
string
required

UUID v4 with automatic base62 encoding for client-facing APIs

Response

Successful response

data
object
required

EDR-0031 catalog table-statistics response types. These mirror the structurally identical types defined in platform-schemas/schemas/query-layer/stats/types.graphql. They are duplicated here because psgen's cross-schema dependency mechanism loads every .graphql file in the dependency directory, which would this schema's own Query. The web-api proxy maps the generated Go query-layer SDK structs into these types in its handler.

Latest shape snapshot for a single contract (tap or data). Returned by the catalog table-statistics endpoints. Sourced from the Query Layer's read of the Delta shape_history table; web-api adds no fields, just permission gating and pass-through.

meta
object
required