Sample a dataset with its redaction applied
Get a sample of rows from a dataset with the dataset’s stored redaction applied: every column the redaction names is masked with that column’s strategy, and every other column comes back untouched.
A stored masking_strategy or category this API can’t read fails the request with a 500.
GET /datasets/{dataset_id}/redaction answers 500 for the same redaction.
Masking a number or a boolean returns the text it renders as, so a masked numeric column comes back as a JSON string. Redacted rows do not match the dataset’s declared schema for those columns.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier for a dataset.
Query Parameters
The number of rows to sample from the dataset.
x <= 1000Response
OK
A list of masked rows from the dataset encoded as JSON objects.

