---
title: "Get single Alert"
method: GET
path: "/tasks/{TaskID}"
tags: ["Alerts"]
---

# Get single Alert

`GET /tasks/{TaskID}`

Returns a single alert that has been raised.

## Path parameters

- `TaskID` integer, required

## Query parameters

- `fields[]` string[]

## Response `200`

- Alerts[]
  - `ID` integer
  - `Environment` EnvironmentsTrimmed
    - `ID` integer
    - `ServiceProviderID` integer
    - `Name` string
    - `ShortName` string, nullable
    - `Description` string
    - `Status` integer
    - `Visible` boolean
    - `ExpiresOn` string
    - `KeyRotation` integer
    - `LastKeyRotation` string
    - `Website` string, nullable
    - `Static` boolean
    - `CreatedOn` string
    - `UpdatedOn` string, nullable
    - `Tier` string
  - `CommonID` string
  - `Category` string, nullable
  - `Name` string
  - `Description` string
  - `Priority` AlertPriority
    - `ID` integer
    - `Entity` string
    - `Table` string
    - `Name` string
    - `Description` string, nullable
    - `Visible` boolean
    - `Reserved` string
    - `CreatedOn` string
    - `UpdatedOn` string, nullable
  - `Source` string
  - `Rule` AlertRule
    - `ID` integer
    - `Name` string
    - `Title` string
    - `Tags` string, nullable
    - `Body` string
    - `DynamicContent` string
    - `UCK` string, nullable
    - `Visible` boolean
    - `CreatedOn` string
    - `UpdatedOn` string, nullable
  - `Owner` string, nullable
  - `PercentComplete` integer
  - `AutoClose` integer
  - `Status` AlertStatus
    - `ID` integer
    - `Entity` string
    - `Table` string
    - `Name` string
    - `Description` string
    - `Visible` boolean
    - `Reserved` string
    - `CreatedOn` string
    - `UpdatedOn` string, nullable
  - `RoarStatus` integer
  - `Keywords` string, nullable
  - `StartDate` string, nullable
  - `DueDate` string, nullable
  - `ExternalID` integer, nullable
  - `Inspector` Inspector
    - `ID` integer
    - `Name` string
    - `Alias` string
    - `Published` boolean
    - `Author` string
    - `ContactEmail` string
    - `Logo` string
    - `Icon` string
    - `Description` string
    - `HelpLink` string
    - `PublishedStatus` string
    - `InspectorCategory` string
    - `EnhancedBilling` boolean
    - `DefaultFrequency` object
      - `Type` string
      - `Interval` integer
    - `Constraints` object
      - `Tiers` string[]
      - `Platform` string[]
      - `Frequency` object
        - `MaxIntervalType` string
        - `MaxIntervalFrequency` integer
      - `AgentConstraint` string[]
      - `RecomendedAgent` string
    - `CreatedOn` string
    - `UpdatedOn` string
    - `DiagnosticsEnabled` boolean
  - `Version` Version
    - `ID` integer
    - `Name` string
    - `Discovers` object
      - `inspectors` string[]
    - `CreatedOn` string
    - `Checksum` string
    - `PolicyManifest` string
    - `PolicyInegrity` string
  - `Timeline` TimelineTrimmed
    - `ID` integer
    - `Status` string
    - `AdHoc` boolean — Indicator if the timeline entry was run manually or scheduled
    - `ChangeDetections` integer
    - `Alerts` integer
    - `Latest` boolean — Latest timeline entry indicator
    - `ExitCode` integer
    - `ExitMessage` string
    - `CreatedOn` string
    - `UpdatedOn` string, nullable
    - `ScheduledAt` string
    - `ProcessingAt` string
    - `RunningAt` string
    - `FinishedAt` string
    - `PayloadSizeBytes` integer — Maximum size is 25,000,000 for inspection to land
    - `Expired` boolean
  - `Launchpoint` LaunchpointsTrimmed
    - `ID` integer
    - `VersionID` string, nullable
    - `Alias` string
    - `Config` string
    - `TotalScheduledRuns` integer
    - `TotalAdHocRuns` integer
    - `NextScheduledFor` string
    - `LastScheduledRun` string
    - `LastAdHocRun` string
    - `FreqType` string
    - `FreqInterval` integer
    - `FreqSubdayType` string, nullable
    - `FreqSubdayInterval` integer, nullable
    - `FreqRelativeInterval` integer, nullable
    - `FreqRecurrenceFactor` string, nullable
    - `ActiveStart` string
    - `ActiveEnd` string, nullable
    - `Enabled` boolean
    - `Visible` boolean
    - `Status` string
    - `CreatedOn` string
    - `UpdatedOn` string, nullable
    - `ParentID` integer, nullable
    - `EnvironmentID` integer
  - `Visible` boolean
  - `CreatedOn` string
  - `CreatedBy` string, nullable
  - `UpdatedOn` string, nullable
  - `UpdatedBy` string, nullable

---

[API](https://skmtc.net/liongard/apis/liongard-v2-endpoints.md) · [All operations](https://skmtc.net/liongard/apis/liongard-v2-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/liongard/liongard-v2-endpoints/versions/4ba1aeff82d7/schema)
