Skip to main content

Get Public Cached Result

GET 

/v1/public/viz/:account_slug/:viz_slug/cache/:cache_key.msgpack

Serve cached query result directly as msgpack bytes.

Designed for CloudFront edge caching: the client computes the cache key locally (SHA256 of sql|dataset_ids|mode) and fetches this endpoint. CloudFront caches the response for 5 minutes, eliminating Lambda invocations for repeat viewers of viral public dashboards.

Returns 404 if the cache entry doesn't exist (client falls back to the batch POST endpoint for query execution).

Cloud-only: on-premise deployments don't use CloudFront but still benefit from the direct-stream path (avoids presigned URL round-trip).

Request

Responses

Successful Response