SuperOps icon

SuperOps

Interact with the SuperOps MSP GraphQL API

Asset → Get Alerts

AI-generated

Summary

Retrieves alerts associated with a specific SuperOps asset, supporting pagination and filtering.

Inputs

  • assetId (required) — The ID of the asset to retrieve alerts for.
  • returnAll — Whether to fetch all available alerts (bypassing limit and page controls).
  • limit — Maximum number of alerts to return per page (ignored if returnAll is true).
  • page — Page number for pagination (ignored if returnAll is true).

Output shape

a list of items, each containing alert data (id, message, severity, status, etc.).

When not using returnAll, the response includes a listInfo object with pagination details (page, pageSize, totalCount, hasMore).

Examples

Example 1: List all alerts for a specific asset ID.

Set assetId to the target ID, returnAll to true.

Example 2: Retrieve a paginated batch of alerts (e.g., first 50).

Set assetId, returnAll to false, limit to 50, page to 1.

Links

Discussion