Skip to main content
GET
Sample a dataset

Authorizations

Authorization
string
header
required

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

Path Parameters

dataset_id
integer
required

Unique identifier for a dataset.

Query Parameters

size
integer

The number of rows to sample from the dataset.

Required range: x <= 1000
redacted
boolean
default:true

Defaults to true: returns a redacted sample, masking every column specified by the dataset's redaction. Set to false to get the unredacted sample. A dataset with no stored redaction returns the unredacted sample either way.

Response

OK

records
object[]

A list of rows from the dataset encoded as JSON objects.