LogicMonitor icon

LogicMonitor

Interact with the LogicMonitor API

Alert → Get

AI-generated

Summary

Retrieve a single alert by ID

Inputs

  • alertId (required) — The ID of the alert
  • options.needMessage — Whether to include the alert message in the response

Output shape

object

The alert resource. Includes the message body if needMessage is true.

Examples

Example 1: Get alert ALERT-123 with message included

alertId: ALERT-123, options.needMessage: true

Example 2: Get alert ALERT-456 without message

alertId: ALERT-456, options.needMessage: false (default)

Links

Discussion