Skip to content
Start here

Datasets

Fetch all datasets
GET/accounts/{account_id}/dlp/datasets
Fetch a specific dataset
GET/accounts/{account_id}/dlp/datasets/{dataset_id}
Create a new dataset
POST/accounts/{account_id}/dlp/datasets
Update details about a dataset
PUT/accounts/{account_id}/dlp/datasets/{dataset_id}
Delete a dataset
DELETE/accounts/{account_id}/dlp/datasets/{dataset_id}
ModelsExpand Collapse
Dataset { id, columns, created_at, 9 more }
id: string
formatuuid
columns: array of { entry_id, header_name, num_cells, upload_status }
entry_id: string
formatuuid
header_name: string
num_cells: number
formatint64
upload_status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"
created_at: string
formatdate-time
encoding_version: number
formatint32
minimum0
name: string
num_cells: number
formatint64
secret: boolean
status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"
updated_at: string

Stores when the dataset was last updated.

This includes name or description changes as well as uploads.

formatdate-time
uploads: array of { num_cells, status, version }
num_cells: number
formatint64
status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"
version: number
formatint64
case_sensitive: optional boolean
description: optional string

The description of the dataset.

DatasetArray = array of Dataset { id, columns, created_at, 9 more }
id: string
formatuuid
columns: array of { entry_id, header_name, num_cells, upload_status }
entry_id: string
formatuuid
header_name: string
num_cells: number
formatint64
upload_status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"
created_at: string
formatdate-time
encoding_version: number
formatint32
minimum0
name: string
num_cells: number
formatint64
secret: boolean
status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"
updated_at: string

Stores when the dataset was last updated.

This includes name or description changes as well as uploads.

formatdate-time
uploads: array of { num_cells, status, version }
num_cells: number
formatint64
status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"
version: number
formatint64
case_sensitive: optional boolean
description: optional string

The description of the dataset.

DatasetCreation { dataset, encoding_version, max_cells, 2 more }
dataset: Dataset { id, columns, created_at, 9 more }
encoding_version: number

Encoding version to use for dataset.

formatint32
minimum0
max_cells: number
formatint64
minimum0
version: number

The version to use when uploading the dataset.

formatint64
secret: optional string

The secret to use for Exact Data Match datasets.

This is not present in Custom Wordlists.

formatpassword

DatasetsUpload

Prepare to upload a new version of a dataset
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload
Upload a new version of a dataset
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload/{version}
ModelsExpand Collapse
NewVersion { encoding_version, max_cells, version, 3 more }
encoding_version: number
formatint32
minimum0
max_cells: number
formatint64
minimum0
version: number
formatint64
case_sensitive: optional boolean
columns: optional array of { entry_id, header_name, num_cells, upload_status }
entry_id: string
formatuuid
header_name: string
num_cells: number
formatint64
upload_status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"
secret: optional string
formatpassword

DatasetsVersions

Sets the column information for a multi-column upload
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}
ModelsExpand Collapse
VersionCreateResponse { entry_id, header_name, num_cells, upload_status }
entry_id: string
formatuuid
header_name: string
num_cells: number
formatint64
upload_status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"

DatasetsVersionsEntries

Upload a new version of a multi-column dataset
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}/entries/{entry_id}
ModelsExpand Collapse
EntryCreateResponse { entry_id, header_name, num_cells, upload_status }
entry_id: string
formatuuid
header_name: string
num_cells: number
formatint64
upload_status: "empty" or "uploading" or "pending" or 3 more
One of the following:
"empty"
"uploading"
"pending"
"processing"
"failed"
"complete"