Skip to main content
List cases with filters
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/cases/cases/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filters": {
    "alertFilters": {
      "alertIds": [
        "f56645c5-9cd4-4b9f-961f-4f852d8835a0",
        "a0a08c31-0ae4-4600-928e-cb6b7da50a99"
      ],
      "alertVersions": [
        "550e8400-e29b-41d4-a716-446655440000",
        "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
      ]
    },
    "assignees": [
      {
        "assignee": "e07db42e-eb1c-4c14-ab68-e4d245ae63a5"
      }
    ],
    "breached": [
      "KPI_FILTER_NOT_BREACHED"
    ],
    "caseLabelsFilter": {
      "flatLabels": [
        {
          "key": "service",
          "value": "payments"
        }
      ]
    },
    "categories": [
      "CASE_CATEGORY_SECURITY",
      "CASE_CATEGORY_AVAILABILITY"
    ],
    "connectorTypeFilters": [
      {}
    ],
    "groupings": [
      {
        "key": "service",
        "values": [
          "payments"
        ]
      }
    ],
    "labels": [
      {
        "key": "service",
        "values": [
          "payments"
        ]
      }
    ],
    "priorities": [
      "CASE_PRIORITY_P1",
      "CASE_PRIORITY_P2"
    ],
    "statuses": [],
    "textSearch": "Vulnerability"
  },
  "orderBy": {},
  "pagination": {
    "pageSize": 10,
    "pageToken": "MjAyNS0wOS0yM1QxMjoxMTo0MC43ODcwODVaLDY5YmIxYmFiLWE1NzAtNGU5Ny04MzE2LWFkYzQxYjk2Y2QyNA==",
    "skip": 20
  }
}
'
{
  "cases": [
    {
      "createTime": "2025-09-22T10:30:00.000Z",
      "groupings": [
        {
          "key": "service",
          "value": "payments"
        }
      ],
      "id": "3f166e9f-3c88-4af2-b52e-138f339dab3e",
      "impactedEntities": [
        {
          "apmDatabase": {
            "name": "orders-db",
            "system": "postgresql"
          }
        }
      ],
      "labels": [
        {
          "key": "service",
          "value": "payments"
        }
      ],
      "title": "Database outage investigation",
      "acknowledgeTime": "2023-11-07T05:31:56Z",
      "aiSummary": "<string>",
      "assignee": {
        "userId": "3af152ee-9eaf-4803-87f1-23c5fb2fbaa0"
      },
      "caseIndicators": {
        "alertIndicators": [
          {
            "alertId": "f56645c5-9cd4-4b9f-961f-4f852d8835a0",
            "alertVersions": [
              "1eae3615-79e7-4b54-88e0-6a77def653bf",
              "2fbf4726-8af8-5c65-99f1-7b88ef764c0g"
            ],
            "latestAlertVersion": "1eae3615-79e7-4b54-88e0-6a77def653bf",
            "permutations": [
              {
                "permutation": {}
              }
            ],
            "triggerTime": "2025-09-22T10:30:00.000Z",
            "resolveTime": "2025-09-22T11:05:00.000Z",
            "suppression": {
              "activeSuppressionRules": {
                "suppressionRuleIds": [
                  "1eae3615-79e7-4b54-88e0-6a77def653bf",
                  "2fbf4726-8af8-5c65-99f1-7b88ef764c0e"
                ]
              },
              "suppressedTime": "2025-09-22T10:30:00.000Z"
            }
          }
        ],
        "prometheusAlertIndicators": [
          {
            "alertGroupId": "5d41402abc4b2a76b9719d911017c592",
            "alerts": [
              {
                "alertGroupId": "5d41402abc4b2a76b9719d911017c592",
                "alertName": "HighRequestLatency",
                "annotations": {},
                "createdAt": "2025-09-22T10:30:00.000Z",
                "fingerprint": "a1b2c3d4e5f6a7b8",
                "generatorUrl": "https://prometheus.example.com/graph?g0.expr=...",
                "labels": {},
                "status": {
                  "resolved": {
                    "resolvedAt": "2025-09-22T11:05:00.000Z",
                    "triggeredAt": "2025-09-22T10:30:00.000Z"
                  }
                },
                "updatedAt": "2025-09-22T11:05:00.000Z",
                "query": {
                  "promql": "histogram_quantile(0.95, rate(http_request_duration_seconds_bucket[5m])) > 1"
                }
              }
            ],
            "externalUrl": "https://alertmanager.example.com",
            "groupLabels": {},
            "receivedAt": "2025-09-22T10:30:00.000Z",
            "receiver": "webhook-coralogix",
            "status": {
              "resolved": {
                "resolvedAt": "2025-09-22T11:05:00.000Z",
                "triggeredAt": "2025-09-22T10:30:00.000Z"
              }
            },
            "updatedAt": "2025-09-22T11:05:00.000Z"
          }
        ]
      },
      "duration": "",
      "kpiBreaches": {
        "breachedKpis": [
          {
            "breachedAt": "2025-09-22T11:00:00.000Z",
            "createdAt": "2025-09-22T11:00:00.000Z",
            "id": "3f166e9f-3c88-4af2-b52e-138f339dab3e"
          }
        ]
      },
      "priorityDetails": {},
      "readableId": "CASE-123",
      "resolutionDetails": {
        "reason": "Case was not applicable.",
        "resolveTime": "2025-09-22T11:15:00.000Z",
        "resolvedBy": {
          "apiKey": {}
        }
      },
      "updateTime": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "nextPageToken": "MjAyNS0wOS0yM1QxMjoxMTo0MC43ODcwODVaLDY5YmIxYmFiLWE1NzAtNGU5Ny04MzE2LWFkYzQxYjk2Y2QyNA=="
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt

Use this file to discover all available pages before exploring further.

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 statuses, 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

Cases matching the provided filters.

Maximum array length: 1000
pagination
Pagination response · object
required

Pagination information for list responses.