Read a bounded row sample of a named relation for the Explorer's preview UI.
Reads up to maxRows rows (clamped server-side to [1, 1000], defaulting to 1000) of one NAMED relation [database.]schema.table — never arbitrary caller SQL — for the Explorer's row-sample UI (DVT-1807/1809). Same typed-parts identifier validation as POST /v1/data/describe.
MUST resolve identity, the caller's-rights token, and the per-dashboard query role role-pin byte-for-byte the same way POST /v1/data/query does — a preview never diverges in privilege from a query on the same source. Same tenant gate and render-session source scoping as the query/describe/objects paths: a cross-tenant sourceId returns 404.
Never served from or written to the POST /v1/data/objects listing cache — every preview is a live warehouse read under the caller's own resolved identity.
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/v1/data/preview
- Auth: one of:
- API key in cookie dvt_session
- HTTP bearer
Request body
Response
A bounded row sample of the relation.
Changes
No recorded changes to this operation across all 1 revision of this API.