v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
transformationRuleManagement

Get a list of transformation rules.

Get a list of transformation rules in the organization. The response is paginated with a default limit of 100 rules per page.

get/v1/transformationRules

Query parameters

limitinteger

Limit the number of transformation rules returned in the response.

tokenstring

Continuation token to get the next page of results. A page object with the next continuation token is returned in the response body. Subsequent GET requests should specify the continuation token to get the next page of results. token is set to null when no more pages are left.

Response

List of transformation rules.

nextstring

Next continuation token.

Example response

{
  "data": [
    {
      "ruleDefinition": {
        "name": "Transformation Rule 1",
        "selector": "_sourceCategory=metricsstore",
        "dimensionTransformations": [
          {
            "transformationType": "AggregateOnTransformation",
            "aggregateOn": [
              "metric"
            ]
          },
          {
            "transformationType": "AddOrReplaceTransformation",
            "dimensionToReplace": "metric",
            "value": "{{metric}}_aggregated"
          }
        ],
        "transformedMetricsRetention": 8,
        "retention": 8
      },
      "enabled": true,
      "createdAt": "2018-10-16T09:10:00Z",
      "createdBy": "0000000006743FDD",
      "modifiedAt": "2018-10-16T09:10:00Z",
      "modifiedBy": "0000000006743FE8"
    }
  ],
  "next": "aGNzTmZBN1ZZWFk9"
}