List alerts
List alerts.
Path parameters
organizationId
The ID of the Organization to which the alerts belong to.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
alertIds
A list of IDs for specific alerts to list. The API returns details for all alerts which have been specified in this list.
deploymentIds
A list of deployment IDs the alerts belong to. The API returns details for all alerts belonging only to the specified Deployments.
workspaceIds
A list of workspace IDs the alerts belong to. The API returns details for all alerts belonging only to the specified Workspaces.
alertTypes
A list of types for specific alerts to filter by. The API returns details for all alerts belonging only to the specified alert types.
entityType
The type of the entity the alerts belong to.
Allowed values:
offset
The number of results to skip before returning values.
limit
The maximum number of results to return.
sorts
A list of field names to sort by, and whether to show results as ascending or descending. Formatted as <fieldName>:asc
or <fieldName>:desc
.
Response
OK
alerts
The list of alerts.
limit
The limit for pagination.
offset
The offset for pagination.
totalCount
The total count of alerts.