Skip to main content
List cases with filters
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/cases/cases/v1 \
  --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"
  },
  "orderBy": {
    "direction": "CASE_ORDER_BY_DIRECTION_UNSPECIFIED",
    "field": "CASE_ORDER_BY_FIELD_UNSPECIFIED"
  },
  "pagination": {
    "pageSize": 10,
    "pageToken": "MjAyNS0wOS0yM1QxMjoxMTo0MC43ODcwODVaLDY5YmIxYmFiLWE1NzAtNGU5Ny04MzE2LWFkYzQxYjk2Y2QyNA==",
    "skip": 20
  }
}
'
{
  "cases": [
    {
      "category": "CASE_CATEGORY_UNSPECIFIED",
      "createTime": "2025-09-22T10:30:00.000Z",
      "id": "3f166e9f-3c88-4af2-b52e-138f339dab3e",
      "priority": "CASE_PRIORITY_UNSPECIFIED",
      "state": "CASE_STATE_UNSPECIFIED",
      "status": "CASE_STATUS_UNSPECIFIED",
      "title": "Database outage investigation",
      "acknowledgeTime": "2023-11-07T05:31:56Z",
      "alertIndicators": [
        {
          "alertId": "f56645c5-9cd4-4b9f-961f-4f852d8835a0",
          "alertVersionId": "1eae3615-79e7-4b54-88e0-6a77def653bf",
          "groupingType": "GROUPING_TYPE_UNSPECIFIED",
          "groupings": [
            {
              "key": "service",
              "value": "payments"
            }
          ],
          "priority": "ALERT_PRIORITY_UNSPECIFIED",
          "state": "ALERT_INDICATOR_STATE_UNSPECIFIED",
          "triggerTime": "2025-09-22T10:30:00.000Z",
          "resolveTime": "2025-09-22T11:05:00.000Z"
        }
      ],
      "assignee": {
        "userId": "3af152ee-9eaf-4803-87f1-23c5fb2fbaa0"
      },
      "description": "Investigating DB connection errors in prod",
      "groupings": [
        {
          "key": "service",
          "value": "payments"
        }
      ],
      "labels": [
        {
          "key": "service",
          "value": "payments"
        }
      ],
      "priorityDetails": {
        "override": "CASE_PRIORITY_UNSPECIFIED",
        "system": "CASE_PRIORITY_UNSPECIFIED"
      },
      "readableId": "CASE-123",
      "resolutionDetails": {
        "resolveTime": "2025-09-22T11:15:00.000Z",
        "resolvedBy": "CASE_RESOLVER_UNSPECIFIED"
      },
      "updateTime": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "totalSize": 100,
    "nextPageToken": "MjAyNS0wOS0yM1QxMjoxMTo0MC43ODcwODVaLDY5YmIxYmFiLWE1NzAtNGU5Ny04MzE2LWFkYzQxYjk2Y2QyNA=="
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request to list cases with filtering and pagination

filters
Case filters · object

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

orderBy
Case ordering specification · object

Defines how cases should be sorted in the response. By default, cases are sorted by creation time and id in descending order. With this field, one can specify the primary sorting field and direction.

pagination
Pagination request · object

Pagination parameters for list requests.

Response

Response containing a list of cases and pagination information

cases
Case · object[]
required
pagination
Pagination response · object
required

Pagination information for list responses.