Create a dataset
Create a new dataset from existing logs, create an empty dataset, or duplicate an existing dataset.
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY.
Request
This endpoint expects an object.
name
Dataset name. Required unless source_dataset_id is provided.
description
Dataset description.
sampling
Percent of matching logs to add (1-100).
start_time
Start of the time range to sample logs from.
end_time
End of the time range to sample logs from.
is_empty
Create an empty dataset without importing logs.
initial_log_filters
Platform-standard filters keyed by field name.
source_dataset_id
Existing dataset ID to duplicate. Copies logs asynchronously.
Response
Dataset created.
id
name
description
type
status
Allowed values:
initial_log_filters
Platform-standard filters keyed by field name.
created_at
updated_at
Errors
401
Unauthorized Error
404
Not Found Error