Manage Datasets
Update a specific dataset
Updates a dataset. Unless the caller is the Dash0 UI, a dataset that does not exist is created instead.
metadata.labels["dash0.com/version"] is optional for API tokens, which take the stored version. Omitting spec.preferred or spec.telemetryFilters leaves the stored value unchanged. Changing the slug is rejected with 400.
put/api/datasets/{originOrId}
Request
- Base URL: https://api.eu-west-1.aws.dash0.com
- URL: https://api.eu-west-1.aws.dash0.com/api/datasets/{originOrId}
- Auth: none declared
Path parameters
originOrIdstring required
Dataset origin or slug.
Request body
Example request
{
"spec": {
"telemetryFilters": [
{
"filter": [
{
"key": "service.name",
"operator": "is",
"value": "foo"
}
]
}
]
}
}Response
The dataset was updated.
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.