List alerts

GET

List alerts.

Path parameters

organizationIdstringRequired

The ID of the Organization to which the alerts belong to.

Query parameters

alertIdslist of stringsOptional

A list of IDs for specific alerts to list. The API returns details for all alerts which have been specified in this list.

deploymentIdslist of stringsOptional

A list of deployment IDs the alerts belong to. The API returns details for all alerts belonging only to the specified Deployments.

workspaceIdslist of stringsOptional

A list of workspace IDs the alerts belong to. The API returns details for all alerts belonging only to the specified Workspaces.

alertTypeslist of enumsOptional

A list of types for specific alerts to filter by. The API returns details for all alerts belonging only to the specified alert types.

entityTypeenumOptional

The type of the entity the alerts belong to.

Allowed values: ORGANIZATIONWORKSPACEDEPLOYMENT
offsetintegerOptional>=0Defaults to 0

The number of results to skip before returning values.

limitintegerOptional>=0<=1000Defaults to 20

The maximum number of results to return.

sortslist of enumsOptional

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

alertslist of objects

The list of alerts.

limitinteger

The limit for pagination.

offsetinteger

The offset for pagination.

totalCountinteger

The total count of alerts.

Errors

Built with