---
title: "Detections by ID"
method: GET
path: "/detections/{DetectionID}"
tags: ["Detections"]
---

# Detections by ID

`GET /detections/{DetectionID}`

Gets a specific detection.

## Path parameters

- `DetectionID` integer, required

## Query parameters

- `fields[]` string[]

## Response `200`

- Detection[]
  - `ID` integer
  - `TimelineID` 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
  - `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
  - `System` SystemsTrimmed
    - `ID` integer
    - `UniqueCompositeKey` string
    - `Name` string — The system Name cannot be changed once created
    - `Description` string
    - `Tags` string, nullable
    - `UserDefined` boolean
    - `Status` integer
    - `Visible` boolean
    - `LastVerifyTime` string
    - `CreatedOn` string
    - `CreatedBy` string
    - `UpdatedOn` string, nullable
  - `SystemDetail` SystemDetailTrimmed
    - `ID` integer
    - `VersionID` integer
    - `Status` integer
    - `Visible` boolean
    - `StartDate` string
    - `EndDate` string, nullable
    - `CreatedOn` string
    - `UpdatedOn` string, nullable
  - `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
  - `Name` string
  - `Description` string
  - `Keywords` string, nullable
  - `Category` Category
    - `ID` integer, nullable
    - `Entity` string, nullable
    - `Table` string, nullable
    - `Name` string, nullable
    - `Description` string, nullable
    - `Visible` boolean, nullable
    - `Reserved` boolean, nullable
    - `CreatedOn` string, nullable
    - `UpdatedOn` string, nullable
  - `Patch` object[]
    - `count` integer, required
    - `value` string, required
    - `removed` boolean — Indicates that the value(s) have been removed
    - `added` boolean — Indicates that the value(s) have been added
  - `Detection` string, nullable
  - `CreatedOn` string

---

[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)
