v1

latestOpenAPI 3.0.22026-07-1313674250.9 KB
alerts

Get All Alerts

Get last alerts occurrence

get/alerts

Query parameters

limitinteger

Response

Successful Response

idstring
namestring required
status'firing' | 'resolved' | 'acknowledged' | 'suppressed' | 'pending' required

An enumeration.

severity'critical' | 'high' | 'warning' | 'info' | 'low' required

An enumeration.

lastReceivedstring required
firingStartTimestring
environmentstring
isFullDuplicateboolean
isPartialDuplicateboolean
duplicateReasonstring
servicestring
sourcestring[]
apiKeyRefstring
messagestring
descriptionstring
pushedboolean
event_idstring
urlstring uri
labelsobject
fingerprintstring
deletedboolean
dismissUntilstring
dismissedboolean
assigneestring
providerIdstring
providerTypestring
notestring
startedAtstring
isNoisyboolean
incidentstring

Example response

[
  {
    "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"
  }
]