POST
/
api
/
utm-visualizations
{
  "id": 123,
  "name": "<string>",
  "description": "<string>",
  "eventType": "<string>",
  "createdDate": "2023-11-07T05:31:56Z",
  "modifiedDate": "2023-11-07T05:31:56Z",
  "userCreated": "<string>",
  "userModified": "<string>",
  "chartConfig": "<string>",
  "chartAction": "<string>",
  "systemOwner": true,
  "idPattern": 123,
  "chartType": "METRIC_CHART",
  "filterType": [
    {
      "operator": "IS",
      "field": "<string>",
      "value": {}
    }
  ],
  "aggregationType": {
    "metrics": [
      {
        "id": "<string>",
        "aggregation": "COUNT",
        "field": "<string>",
        "customLabel": "<string>"
      }
    ],
    "bucket": {
      "id": "<string>",
      "aggregation": "TERMS",
      "type": "AXIS",
      "field": "<string>",
      "customLabel": "<string>",
      "subBucket": {},
      "terms": {
        "sortBy": "<string>",
        "asc": true,
        "size": 123
      },
      "dateHistogram": {
        "interval": "<string>"
      },
      "ranges": [
        {
          "from": 123,
          "to": 123
        }
      ]
    }
  },
  "pattern": {
    "id": 123,
    "pattern": "<string>",
    "patternModule": "<string>",
    "patternSystem": true,
    "active": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Utm-Internal-Key
string
header
required

Body

application/json

Response

200 - */*

OK

The response is of type object.