Create a dataset snapshot based on a provided filter
Parameter | Type | Description |
---|---|---|
dataset_id | string | The unique identifier of the dataset to filter |
records_limit | integer | Optional. Maximum number of records to include in the result |
Header | Type | Description |
---|---|---|
Authorization | string | Your API key for authentication |
Content-Type | string | Must be set to multipart/form-data when uploading files |
multipart/form-data
with the following fields:
Field | Type | Description |
---|---|---|
filter | string | A stringified JSON object containing filter criteria. Reference file names in the value field. |
files[] | file | One or more CSV or JSON files containing filter values. Multiple files can be uploaded. |
industries.csv
):
industries.json
):
value
field:
Operator | Field Types | Description |
---|---|---|
in | Any | Tests if field value equals any value in the file |
not_in | Any | Tests if field value doesn’t equal any value in the file |
includes | Array, Text | Tests if field value contains any value in the file |
not_includes | Array, Text | Tests if field value doesn’t contain any value in the file |
array_includes | Array | Tests if any value in the file exists in field value (exact match) |
not_array_includes | Array | Tests if no value in the file exists in field value (exact match) |
industries.csv
)Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Job of creating the snapshot successfully started
The response is of type object
.