Manage Time Series Aggregations

Update or create a time series aggregation by origin or ID

Updates an existing time series aggregation or creates a new one if it doesn't exist. Useful for Infrastructure-as-Code workflows.

put/api/time-series-aggregations/{originOrId}

Request

  • Base URL: https://api.eu-west-1.aws.dash0.com
  • URL: https://api.eu-west-1.aws.dash0.com/api/time-series-aggregations/{originOrId}
  • Auth: none declared

Path parameters

originOrIdstring required

Time series aggregation origin or UUID

Query parameters

datasetstring

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Request body

kind'Dash0TimeSeriesAggregation' required

Example request

{
  "spec": {
    "match": {
      "otherFilters": [
        {
          "key": "service.name",
          "operator": "is",
          "value": "foo"
        }
      ]
    }
  }
}

Response

The updated or created time series aggregation

kind'Dash0TimeSeriesAggregation' required

Example response

{
  "spec": {
    "match": {
      "otherFilters": [
        {
          "key": "service.name",
          "operator": "is",
          "value": "foo"
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.