v1

latestOpenAPI 3.0.22026-07-1313674250.9 KB
incidents

Get Incident Alerts

Get incident alerts by incident incident id

get/incidents/{incident_id}/alerts

Path parameters

incident_idstring uuid required

Query parameters

limitinteger
offsetinteger
include_unlinkedboolean

Response

Successful Response

limitinteger
offsetinteger
countinteger required

Example response

{
  "items": [
    {
      "id": "1234",
      "name": "Pod 'api-service-production' lacks memory",
      "status": "firing",
      "lastReceived": "2021-01-01T00:00:00.000Z",
      "environment": "production",
      "service": "backend",
      "source": [
        "prometheus"
      ],
      "message": "The pod 'api-service-production' lacks memory causing high error rate",
      "description": "Due to the lack of memory, the pod 'api-service-production' is experiencing high error rate",
      "severity": "critical",
      "pushed": true,
      "url": "https://www.keephq.dev?alertId=1234",
      "labels": {
        "pod": "api-service-production",
        "region": "us-east-1",
        "cpu": "88",
        "memory": "100Mi"
      },
      "ticket_url": "https://www.keephq.dev?enrichedTicketId=456",
      "fingerprint": "1234"
    }
  ]
}