Manage Datasets
Create a dataset
Creates a dataset. The slug supplied as metadata.labels["dash0.com/id"] is the dataset's permanent identifier and cannot be changed afterwards. A slug or origin that is already in use, as a slug or as an origin, in your organization is rejected with 400.
spec.permissions is ignored on create, which grants dataset:read to the organization's members. Set permissions with a subsequent update.
post/api/datasets
Request
- Base URL: https://api.eu-west-1.aws.dash0.com
- URL: https://api.eu-west-1.aws.dash0.com/api/datasets
- Auth: none declared
Request body
Example request
{
"spec": {
"telemetryFilters": [
{
"filter": [
{
"key": "service.name",
"operator": "is",
"value": "foo"
}
]
}
]
}
}Response
The dataset was created.
Example response
{
"spec": {
"telemetryFilters": [
{
"filter": [
{
"key": "service.name",
"operator": "is",
"value": "foo"
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.