Data Plane Tokens

Create JWT tokens to start and fetch a preview using the data plane API.

Requires permission matching: preview:write:default.<name>, where name is that of each stream referenced as input in the given sql.

post/preview/tokens

Request

Request body

sqlstring required

The sql to execute as a preview.

start_positionsobject

Response

A request and token issued by the control plane API for use with the data plane API.

post_tokenstring required

A JWT token issued by the control plane API permitting a specific request to the data plane.

get_tokenstring required

A JWT token issued by the control plane API permitting a specific request to the data plane.

data_plane_requeststring required

A stringified json request body for the data plane API which is permitted and signed by the associated JWT token. It must be sent verbatim (including whitespace) in order to match the token signature.

Changes

No recorded changes to this operation across all 1 revision of this API.