Skip to main content
Get available filter values
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/incidents/filter-values/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filter": {
    "applicationName": [
      "<string>"
    ],
    "assignee": [
      "<string>"
    ],
    "contextualLabels": {},
    "displayLabels": {},
    "endTime": "2023-11-07T05:31:56Z",
    "isMuted": true,
    "metaLabels": [
      {
        "key": "key",
        "value": "value"
      }
    ],
    "metaLabelsOp": "FILTER_OPERATOR_OR_OR_UNSPECIFIED",
    "searchQuery": {
      "contextualLabel": "<string>",
      "query": "error"
    },
    "severity": [
      "INCIDENT_SEVERITY_UNSPECIFIED"
    ],
    "startTime": "2023-11-07T05:31:56Z",
    "state": [
      "INCIDENT_STATE_UNSPECIFIED"
    ],
    "status": [
      "INCIDENT_STATUS_UNSPECIFIED"
    ],
    "subsystemName": [
      "<string>"
    ]
  }
}
'
{
  "filtersValues": {
    "assigneeWithCount": [
      {
        "assignee": "assignee",
        "count": 10
      }
    ],
    "contextualLabels": {},
    "displayLabels": {},
    "metaLabelsOp": "FILTER_OPERATOR_OR_OR_UNSPECIFIED",
    "metaLabelsWithCount": [
      {
        "count": 10,
        "metaLabel": {
          "key": "key",
          "value": "value"
        }
      }
    ],
    "severityWithCount": [
      {
        "count": 10,
        "severity": "INCIDENT_SEVERITY_UNSPECIFIED"
      }
    ],
    "stateWithCount": [
      {
        "count": 10,
        "state": "INCIDENT_STATE_UNSPECIFIED"
      }
    ],
    "statusWithCount": [
      {
        "count": 10,
        "status": "INCIDENT_STATUS_UNSPECIFIED"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request to get available filter values for incidents

filter
Incident query filter · object

Filter configuration for incidents

Response

Response containing available filter values for incidents

filtersValues
Incident query filter values · object
required