---
title: "Inspector Templates"
method: GET
path: "/inspector/{InspectorId}/templates"
tags: ["Inspector"]
---

# Inspector Templates

`GET /inspector/{InspectorId}/templates`

Get Inspector Config and SecureConfig Fields. Each Inspector has a set of variables used for configuring the launchpoint of an inspector. The Name key under variables is what is needed for completing the launchpoint configuration, the Secure and Required keys are used to determine if the configuration fields are SecureConfig or Config and if they are required.

## Path parameters

- `InspectorId` integer, required

## Query parameters

- `fields[]` string[]

## Response `200`

- InspectorTemplate[]
  - `ID` integer
  - `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
  - `Variables` object
    - `Variables` object[] — Contains possible variable fields from various inspectors
      - `Help` string
      - `Hint` string
      - `Name` string, required
      - `Type` string, required — the object type for the field
      - `Label` string, required
      - `Secure` boolean — If the field is a secure field
      - `Required` boolean — If the field is required
      - `ReadOnly` boolean — If the field is Read Only
      - `Parent` boolean — If the field is associated with a parent Launchpoint
      - `Placeholder` string
      - `ValidationRegexBlacklist` object[] — If the field has Validation regex
        - `Regex` string
        - `ErrorMessage` string
    - `ChildHelpText` string
    - `ParentHelpText` string
  - `CreatedOn` string
  - `UpdatedOn` 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)
