Skip to main content
POST
Create dataset
Creates a new dataset, either populated with existing logs or empty for manual population. You can specify filters and sampling rate to select which logs to include, or create an empty dataset to add logs manually later.

Authentication

All endpoints require API key authentication:

Parameters

string
required
The name of the dataset.
string
A description of the dataset.
integer
default:"100"
Percentage of logs to include (0-100).
string
ISO 8601 timestamp for log filtering. Required when is_empty is false or not provided. Ignored when is_empty is true.
string
ISO 8601 timestamp for log filtering. Required when is_empty is false or not provided. Ignored when is_empty is true.
boolean
default:"false"
Create empty dataset. When true, start_time and end_time are ignored.
object
Filters to apply to select logs for the dataset.

Request Examples

Response