Skip to main content
Get available filter values
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/cases/cases/v1:get-filter-values \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filters": {
    "assignees": [
      {
        "unassigned": {}
      }
    ],
    "categories": [
      "CASE_CATEGORY_SECURITY",
      "CASE_CATEGORY_AVAILABILITY"
    ],
    "dateRange": {
      "from": "2025-09-22T10:30:00.000Z",
      "to": "2025-09-22T10:30:00.000Z"
    },
    "groupings": [
      {
        "key": "service",
        "values": [
          "payments"
        ]
      }
    ],
    "labels": [
      {
        "key": "service",
        "values": [
          "payments"
        ]
      }
    ],
    "priorities": [
      "CASE_PRIORITY_P1",
      "CASE_PRIORITY_P2"
    ],
    "states": [
      "CASE_STATE_ACTIVE",
      "CASE_STATE_RESOLVED"
    ],
    "statuses": [
      "ACKNOWLEDGED"
    ],
    "textSearch": "Vulnerability"
  }
}
'
{
  "assigneeAggregations": {
    "assignedCounts": [
      {
        "assignee": "<string>",
        "count": 123
      }
    ],
    "unassignedCount": 123
  },
  "categoryAggregations": [
    {
      "category": "CASE_CATEGORY_UNSPECIFIED",
      "count": 13
    }
  ],
  "groupingAggregations": [
    {
      "key": "service",
      "valueCounts": [
        {
          "count": 8,
          "value": "service:payments"
        }
      ]
    }
  ],
  "labelAggregations": [
    {
      "key": "service",
      "valueCounts": [
        {
          "count": 8,
          "value": "service:payments"
        }
      ]
    }
  ],
  "priorityAggregations": [
    {
      "count": 17,
      "priority": "CASE_PRIORITY_UNSPECIFIED"
    }
  ],
  "stateAggregations": [
    {
      "count": 42,
      "state": "CASE_STATE_UNSPECIFIED"
    }
  ],
  "statusAggregations": [
    {
      "count": 123,
      "status": "CASE_STATUS_UNSPECIFIED"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
filters
Case filters · object

Filters applied when querying cases, including states, priorities, categories, groupings, and labels.

Response

Aggregated counts for building filters in the UI

assigneeAggregations
object
categoryAggregations
Category aggregation · object[]
groupingAggregations
Filter group aggregation · object[]
labelAggregations
Filter group aggregation · object[]
priorityAggregations
Priority aggregation · object[]
stateAggregations
State aggregation · object[]
statusAggregations
object[]