Liongard
App · 28 actions
Work with your Liongard instance: manage environments, read agents, launchpoints and systems, run inspections, evaluate and create metrics, read change detections, alerts and the inspection timeline, and manage alert webhooks.
Actions
| Action | What it does |
|---|---|
| Create environment | Add an environment (a customer) to Liongard. |
| Create metric | Create a custom metric: a JMESPath query over one inspector's data. |
| Create webhook | Have Liongard post every new alert to an https address. |
| Delete environment | Delete an environment. |
| Delete metric | Delete a custom metric. |
| Delete webhook | Delete a webhook so Liongard stops sending alerts to it. |
| Get a system's metric values | Get the value of every displayed metric for one system, from its latest inspection. |
| Get agent | Get one agent with its host, platform, version and last check-in. |
| Get alert | Get one alert with its priority, status, rule and the inspection that raised it. |
| Get change detection | Get one change detection with what was added or removed and where. |
| Get environment | Get one environment with its tier, status and agent count. |
| Get environment's related records | List what is tied to an environment: its launchpoints, agents, integration mappings and child environments. |
| Get launchpoint | Get one inspector launchpoint with its schedule, last runs and status. |
| Get metric values | Get each system's value for one or more metrics, from its latest inspection, optionally for one environment. |
| Get system data | Get a system and the raw data (its dataprint) from its latest inspection. |
| Get webhook | Get one webhook with its address, state and health. |
| List agents | List the Liongard agents, with their host, platform, version and last check-in, for every environment or one. |
| List alerts | List the alerts Liongard raised, newest first, with their priority, status and rule, for every environment or one. |
| List change detections | List the changes Liongard detected between inspections, newest first, optionally for one environment or system and a time range. |
| List environments | List the environments (your customers) in Liongard, one page at a time. |
| List inspection runs | List inspection runs from the timeline, with their status, exit message and how many changes and alerts each found, one page at a time. |
| List launchpoints | List the inspector launchpoints (each configured inspection) with their schedule and status, for every environment or one, and every inspector or one. |
| List metrics | List Liongard's metrics and your own, with their IDs and UUIDs, one page at a time. |
| List systems | List the systems Liongard has discovered (domains, firewalls, tenants and so on), for every environment or one, narrowed by inspector or launchpoint. |
| List webhooks | List the webhooks Liongard sends new alerts to, with their address, state and health. |
| Run inspection now | Queue an inspection on a launchpoint now, outside its schedule. |
| Update environment | Change an environment's name, description, short name or tier. |
| Update webhook | Change a webhook's address or description, or turn it on or off. |
Create environment
Add an environment (a customer) to Liongard.
Inputs
- Name
nametextRequired - The environment's name, usually the customer's.
- Description
descriptiontext - A description of the environment.
- Short name
short_nametext - A short name or code for the environment, such as CN.
- Tier
tiertext - The environment's Liongard tier, which decides which inspectors it can use.One of:
Core,Essentials.
Outputs
environmentobject- The new environment
Example output
{
"environment": {
"AgentsCount": 1,
"CreatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"CreatedOn": "2026-09-10T19:21:03.195Z",
"EndpointInspectorCount": 0,
"ID": 18701,
"Name": "Contoso",
"ServiceProviderID": 1,
"Status": 1,
"Tier": {
"AssociatedInspectors": 14,
"CanDownGrade": true,
"Type": "Core"
},
"UpdatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"UpdatedOn": "2026-09-10T19:21:03.195Z",
"Visible": true
}
}Create metric
Create a custom metric: a JMESPath query over one inspector's data. It runs against the inspector's latest version.
Inputs
- Name
nametextRequired - The metric's name.
- Inspector
inspector_idtextRequired - The inspector whose data the query reads.
- Query
querytextRequired - A JMESPath query over the inspector's data.
- Display
show_in_dashboardstrue/false - Show the metric in Liongard's views and evaluations.
- Track changes
track_changestrue/false - Record a change detection when the value changes.
Outputs
inspector_version_idnumber- The inspector version the query was saved for
metricobject- The new metric
Example output
{
"inspector_version_id": 65,
"metric": {
"ChangesEnabled": true,
"CreatedOn": "2026-11-30T19:21:03.195Z",
"Description": "",
"ID": 1618,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"MetricDisplay": true,
"MetricVersions": [
{
"ID": 123,
"InspectorVersionID": 65,
"Query": "length(Users)"
}
],
"Name": "Active Directory: Count of users",
"UCK": "Active Directory: Count of users",
"UUIDS": "0b1e6f4c-3c2d-4a8b-9a51-3f5f8b1c2d3e"
}
}Create webhook
Have Liongard post every new alert to an https address. Liongard sends the address a test message first, and the address must accept it.
Inputs
- Address
urltextRequired - The https:// address to post new alerts to.
- Description
descriptiontext - What the webhook is for.
Outputs
webhookobject- The new webhook
Example output
{
"webhook": {
"Active": true,
"CreatedOn": "2026-11-30T05:00:00.000Z",
"Description": "Alerts to our ticketing",
"Events": [
"alert.created"
],
"Health": "200 OK",
"ID": "2371b0fa-10cd-49ea-a97b-c1d1e2680777",
"Url": "https://example.com/liongard-alerts"
}
}Delete environment
Delete an environment. Turn on 'Delete related' to delete its agents, launchpoints and integration mappings with it.
Inputs
- Environment
environment_idtextRequired - The environment (customer). Pick one, or give its ID from an earlier step.
- Delete related
delete_relatedtrue/false - Also delete the agents, launchpoints and other records tied to the environment.
Outputs
deletedtrue/false- Always true once deleted
environment_idnumber- The environment's ID deleted
Example output
{
"deleted": true,
"environment_id": 18701
}Delete metric
Delete a custom metric. Liongard's own metrics can't be deleted.
Inputs
- Metric
metric_idtextRequired - The custom metric. Pick one, or give its ID.
Outputs
deletedtrue/false- Always true once deleted
metric_idnumber- The metric's ID deleted
Example output
{
"deleted": true,
"metric_id": 1618
}Delete webhook
Delete a webhook so Liongard stops sending alerts to it.
Inputs
- Webhook
webhook_idtextRequired - The webhook. Pick one, or give its ID from an earlier step.
Outputs
deletedtrue/false- Always true once deleted
webhook_idtext- The webhook's ID deleted
Example output
{
"deleted": true,
"webhook_id": "2371b0fa-10cd-49ea-a97b-c1d1e2680777"
}Get a system's metric values
Get the value of every displayed metric for one system, from its latest inspection.
Inputs
- System ID
system_idtextRequired - The system's ID, from 'List systems' or an earlier step.
- Page
pagenumber - Which page to get, starting at 1. Defaults to the first.At least 1.
- Page size
page_sizenumber - How many to get per page, 1 to 2000. Defaults to 50.From 1 to 2000.
Outputs
countnumber- How many on this page
has_moretrue/false- True when there is another page; run again with the next page number
pagenumber- The page number returned
valueslist- One value per metric
Example output
{
"count": 1,
"has_more": false,
"page": 1,
"values": [
{
"EnvironmentID": 18701,
"EnvironmentName": "Contoso",
"FriendlyName": "Active Directory - Contoso",
"InspectorName": "active-directory-inspector",
"MetricID": 1,
"MetricName": "Active Directory: Count of Joined Computers",
"MetricUUID": "aa4eef4d-3dc5-4b3d-9d8a-00c1d9b68065",
"SystemID": 3454,
"TimelineDate": "2026-11-30T14:52:57.022Z",
"TimelineID": 1294715,
"Value": 42
}
]
}Get agent
Get one agent with its host, platform, version and last check-in.
Inputs
- Agent
agent_idtextRequired - The agent. Pick one, or give its ID from an earlier step.
Outputs
agentobject- The agent
Example output
{
"agent": {
"CreatedOn": "2026-09-10T19:21:03.195Z",
"Data": {
"AgentVersion": "2.0.2",
"JobsRunning": 0,
"MaxJobsAllowed": 5
},
"Description": "Main agent",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"Hostname": "CN-DC01",
"ID": 1511,
"IP": "203.0.113.10",
"LastHeartbeat": "2026-11-30T09:00:00.000Z",
"Managed": false,
"Name": "Contoso Agent",
"Platform": "windows",
"SAAS": false,
"Status": 1,
"Suspended": false,
"Type": "customer-on-prem",
"UpdatedOn": "2026-11-30T09:00:00.000Z"
}
}Get alert
Get one alert with its priority, status, rule and the inspection that raised it.
Inputs
- Alert ID
alert_idtextRequired - The alert's ID, from 'List alerts' or a trigger.
Outputs
alertobject- The alert
Example output
{
"alert": {
"Category": "",
"CommonID": "T20261130.00001",
"CreatedOn": "2026-11-30T19:21:03.195Z",
"Description": "A new domain admin was added.",
"DueDate": "",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"ID": 7586,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"Launchpoint": {
"Alias": "Active Directory - Contoso",
"ID": 18671,
"Status": "Active"
},
"Name": "Admin account added",
"Owner": "",
"Priority": {
"ID": 67,
"Name": "Critical"
},
"Rule": {
"ID": 1219,
"Name": "New domain admin",
"Title": "Admin account added"
},
"Source": "Roar",
"StartDate": "",
"Status": {
"ID": 14,
"Name": "New"
},
"Timeline": {
"Alerts": 1,
"ChangeDetections": 3,
"CreatedOn": "2026/11/30 19:21:03",
"ID": 1294715,
"Status": "Completed"
},
"UpdatedOn": "2026-11-30T19:21:03.195Z",
"Visible": true
}
}Get change detection
Get one change detection with what was added or removed and where.
Inputs
- Detection ID
detection_idtextRequired - The change detection's ID, from 'List change detections'.
Outputs
detectionobject- The change detection
Example output
{
"detection": {
"Category": {
"ID": 1,
"Name": "Users"
},
"CreatedOn": "2026/11/30 19:21:03",
"Description": "",
"Detection": "",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"ID": 68998,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"Keywords": "",
"Name": "Domain Admins membership changed",
"Patch": [
{
"added": true,
"count": 1,
"removed": false,
"value": "jdoe"
}
],
"System": {
"Description": "",
"ID": 3454,
"Name": "contoso.local"
},
"Timeline": {
"Alerts": 1,
"ChangeDetections": 3,
"CreatedOn": "2026/11/30 19:21:03",
"ID": 1294715,
"Status": "Completed"
},
"TimelineID": 1294715
}
}Get environment
Get one environment with its tier, status and agent count.
Inputs
- Environment
environment_idtextRequired - The environment (customer). Pick one, or give its ID from an earlier step.
Outputs
environmentobject- The environment
Example output
{
"environment": {
"AgentsCount": 1,
"CreatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"CreatedOn": "2026-09-10T19:21:03.195Z",
"EndpointInspectorCount": 0,
"ID": 18701,
"Name": "Contoso",
"ServiceProviderID": 1,
"Status": 1,
"Tier": {
"AssociatedInspectors": 14,
"CanDownGrade": true,
"Type": "Core"
},
"UpdatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"UpdatedOn": "2026-09-10T19:21:03.195Z",
"Visible": true
}
}Get environment's related records
List what is tied to an environment: its launchpoints, agents, integration mappings and child environments.
Inputs
- Environment
environment_idtextRequired - The environment (customer). Pick one, or give its ID from an earlier step.
Outputs
agentslist- Its agents
child_environmentslist- Environments under it
environment_idnumber- The environment's ID
integration_mappingslist- Its mappings to other tools (PSA, documentation)
launchpointslist- Its inspector launchpoints
Example output
{
"agents": [
{
"Description": "Main agent",
"Hostname": "CN-DC01",
"ID": 1511,
"Managed": false,
"Name": "Contoso Agent",
"Platform": "windows"
}
],
"child_environments": [
{
"ID": 8669,
"Name": "Contoso - Remote",
"Status": 1,
"Visible": true
}
],
"environment_id": 18701,
"integration_mappings": [
{
"ID": 5502,
"Integration": "ConnectWise"
}
],
"launchpoints": [
{
"Alias": "Active Directory - Contoso",
"Enabled": true,
"ID": 18671,
"InspectorID": 13,
"InspectorName": "Active Directory",
"Status": "Active",
"SystemID": 3454
}
]
}Get launchpoint
Get one inspector launchpoint with its schedule, last runs and status.
Inputs
- Launchpoint
launchpoint_idtextRequired - The inspector launchpoint (one configured inspection). Pick one, or give its ID from an earlier step.
Outputs
launchpointobject- The launchpoint
Example output
{
"launchpoint": {
"Agent": {
"ID": 1511,
"Name": "Contoso Agent"
},
"Alias": "Active Directory - Contoso",
"CreatedOn": "2026-09-10T19:21:03.195Z",
"Enabled": true,
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"EnvironmentID": 18701,
"FreqInterval": 1,
"FreqType": "days",
"ID": 18671,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"LastAdHocRun": "2026-11-20T19:21:03.195Z",
"LastScheduledRun": "2026-11-30T19:21:03.195Z",
"NextScheduledFor": "2026-12-01T19:21:03.195Z",
"Status": "Active",
"System": {
"Description": "",
"ID": 3454,
"Name": "contoso.local"
},
"TotalAdHocRuns": 7,
"TotalScheduledRuns": 249,
"UpdatedOn": "2026-09-10T19:21:03.195Z",
"Visible": true
}
}Get metric values
Get each system's value for one or more metrics, from its latest inspection, optionally for one environment.
Inputs
- Metrics
metric_idslistRequired - The metrics' IDs or UUIDs, from 'List metrics'.
- Environment
environment_idtext - Only this environment's. Leave empty for every environment.
- Include hidden metrics
include_hiddentrue/false - Also evaluate metrics whose display is turned off.
- Page
pagenumber - Which page to get, starting at 1. Defaults to the first.At least 1.
- Page size
page_sizenumber - How many to get per page, 1 to 2000. Defaults to 50.From 1 to 2000.
Outputs
countnumber- How many on this page
has_moretrue/false- True when there is another page; run again with the next page number
pagenumber- The page number returned
valueslist- One value per system and metric
Example output
{
"count": 1,
"has_more": false,
"page": 1,
"values": [
{
"EnvironmentID": 18701,
"EnvironmentName": "Contoso",
"FriendlyName": "Active Directory - Contoso",
"InspectorName": "active-directory-inspector",
"MetricID": 1,
"MetricName": "Active Directory: Count of Joined Computers",
"MetricUUID": "aa4eef4d-3dc5-4b3d-9d8a-00c1d9b68065",
"SystemID": 3454,
"TimelineDate": "2026-11-30T14:52:57.022Z",
"TimelineID": 1294715,
"Value": 42
}
]
}Get system data
Get a system and the raw data (its dataprint) from its latest inspection.
Inputs
- System ID
system_idtextRequired - The system's ID, from 'List systems' or an earlier step.
Outputs
rawobject- Everything the latest inspection found, as Liongard keeps it
systemobject- The system
Example output
{
"raw": {
"Computers": [
{
"Name": "CN-DC01"
}
]
},
"system": {
"CreatedOn": "2026/09/10 19:21:03",
"Description": "Contoso's domain",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"ID": 3454,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"LastVerifyTime": "2026/11/30 19:21:03",
"Launchpoint": {
"Alias": "Active Directory - Contoso",
"ID": 18671,
"Status": "Active"
},
"Name": "contoso.local",
"Status": 1,
"Tags": "",
"UpdatedOn": "2026/11/30 19:21:03",
"Visible": true
}
}Get webhook
Get one webhook with its address, state and health.
Inputs
- Webhook
webhook_idtextRequired - The webhook. Pick one, or give its ID from an earlier step.
Outputs
webhookobject- The webhook
Example output
{
"webhook": {
"Active": true,
"CreatedOn": "2026-11-30T05:00:00.000Z",
"Description": "Alerts to our ticketing",
"Events": [
"alert.created"
],
"Health": "200 OK",
"ID": "2371b0fa-10cd-49ea-a97b-c1d1e2680777",
"Url": "https://example.com/liongard-alerts"
}
}List agents
List the Liongard agents, with their host, platform, version and last check-in, for every environment or one.
Inputs
- Environment
environment_idtext - Only this environment's. Leave empty for every environment.
Outputs
agentslist- The agents
countnumber- How many
Example output
{
"agents": [
{
"CreatedOn": "2026-09-10T19:21:03.195Z",
"Data": {
"AgentVersion": "2.0.2",
"JobsRunning": 0,
"MaxJobsAllowed": 5
},
"Description": "Main agent",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"Hostname": "CN-DC01",
"ID": 1511,
"IP": "203.0.113.10",
"LastHeartbeat": "2026-11-30T09:00:00.000Z",
"Managed": false,
"Name": "Contoso Agent",
"Platform": "windows",
"SAAS": false,
"Status": 1,
"Suspended": false,
"Type": "customer-on-prem",
"UpdatedOn": "2026-11-30T09:00:00.000Z"
}
],
"count": 1
}List alerts
List the alerts Liongard raised, newest first, with their priority, status and rule, for every environment or one.
Inputs
- Environment
environment_idtext - Only this environment's. Leave empty for every environment.
- Most to return
limitnumber - Return at most this many, newest first. Leave empty for all.From 1 to 2000.
Outputs
alertslist- The alerts
countnumber- How many
Example output
{
"alerts": [
{
"Category": "",
"CommonID": "T20261130.00001",
"CreatedOn": "2026-11-30T19:21:03.195Z",
"Description": "A new domain admin was added.",
"DueDate": "",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"ID": 7586,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"Launchpoint": {
"Alias": "Active Directory - Contoso",
"ID": 18671,
"Status": "Active"
},
"Name": "Admin account added",
"Owner": "",
"Priority": {
"ID": 67,
"Name": "Critical"
},
"Rule": {
"ID": 1219,
"Name": "New domain admin",
"Title": "Admin account added"
},
"Source": "Roar",
"StartDate": "",
"Status": {
"ID": 14,
"Name": "New"
},
"Timeline": {
"Alerts": 1,
"ChangeDetections": 3,
"CreatedOn": "2026/11/30 19:21:03",
"ID": 1294715,
"Status": "Completed"
},
"UpdatedOn": "2026-11-30T19:21:03.195Z",
"Visible": true
}
],
"count": 1
}List change detections
List the changes Liongard detected between inspections, newest first, optionally for one environment or system and a time range.
Inputs
- Environment
environment_idtext - Only this environment's. Leave empty for every environment.
- System ID
system_idtext - Only changes to this system.
- Detected on or after
sincedate and time - Only changes detected at or after this time.
- Detected on or before
untildate and time - Only changes detected at or before this time.
- Most to return
limitnumber - Return at most this many, newest first. Leave empty for all.From 1 to 2000.
Outputs
countnumber- How many
detectionslist- The change detections
Example output
{
"count": 1,
"detections": [
{
"Category": {
"ID": 1,
"Name": "Users"
},
"CreatedOn": "2026/11/30 19:21:03",
"Description": "",
"Detection": "",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"ID": 68998,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"Keywords": "",
"Name": "Domain Admins membership changed",
"Patch": [
{
"added": true,
"count": 1,
"removed": false,
"value": "jdoe"
}
],
"System": {
"Description": "",
"ID": 3454,
"Name": "contoso.local"
},
"Timeline": {
"Alerts": 1,
"ChangeDetections": 3,
"CreatedOn": "2026/11/30 19:21:03",
"ID": 1294715,
"Status": "Completed"
},
"TimelineID": 1294715
}
]
}List environments
List the environments (your customers) in Liongard, one page at a time.
Inputs
- Page
pagenumber - Which page to get, starting at 1. Defaults to the first.At least 1.
- Page size
page_sizenumber - How many to get per page, 1 to 2000. Defaults to 50.From 1 to 2000.
Outputs
countnumber- How many on this page
environmentslist- The environments
has_moretrue/false- True when there is another page; run again with the next page number
pagenumber- The page number returned
Example output
{
"count": 1,
"environments": [
{
"AgentsCount": 1,
"CreatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"CreatedOn": "2026-09-10T19:21:03.195Z",
"EndpointInspectorCount": 0,
"ID": 18701,
"Name": "Contoso",
"ServiceProviderID": 1,
"Status": 1,
"Tier": {
"AssociatedInspectors": 14,
"CanDownGrade": true,
"Type": "Core"
},
"UpdatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"UpdatedOn": "2026-09-10T19:21:03.195Z",
"Visible": true
}
],
"has_more": false,
"page": 1
}List inspection runs
List inspection runs from the timeline, with their status, exit message and how many changes and alerts each found, one page at a time.
Inputs
- System ID
system_idtext - Only runs that inspected this system.
- Launchpoint
launchpoint_idtext - Only runs of this launchpoint.
- Latest run only
latest_onlytrue/false - Only each launchpoint's latest run.
- Sort by
sort_bytext - What to sort by. Defaults to run ID.One of:
ID(Run ID),CreatedOn(Created),SystemID(System ID),LaunchpointID(Inspector launchpoint ID). - Order
directiontext - Defaults to newest or highest first.One of:
DESC(Newest or highest first),ASC(Oldest or lowest first). - Page
pagenumber - Which page to get, starting at 1. Defaults to the first.At least 1.
- Page size
page_sizenumber - How many to get per page, 1 to 2000. Defaults to 50.From 1 to 2000.
Outputs
countnumber- How many on this page
entrieslist- The inspection runs
has_moretrue/false- True when there is another page; run again with the next page number
pagenumber- The page number returned
Example output
{
"count": 1,
"entries": [
{
"AdHoc": false,
"Alerts": 0,
"ChangeDetections": 1,
"CreatedOn": "2026-11-30T21:46:31.185+00:00",
"EnvironmentID": 18701,
"ExitCode": 0,
"ExitMessage": "",
"FinishedAt": "2026-11-30T21:45:44.286+00:00",
"ID": 3054681,
"Latest": true,
"LaunchpointID": 18671,
"PayloadSizeBytes": 232541,
"RunningAt": "2026-11-30T21:45:42.832+00:00",
"ScheduledAt": "2026-11-30T21:46:31.185+00:00",
"ServiceProviderID": 78,
"Status": "Completed",
"SystemDetailID": 613300,
"SystemID": 3454,
"UpdatedOn": "2026-11-30T21:46:48.989+00:00"
}
],
"has_more": false,
"page": 1
}List launchpoints
List the inspector launchpoints (each configured inspection) with their schedule and status, for every environment or one, and every inspector or one.
Inputs
- Environment
environment_idtext - Only this environment's. Leave empty for every environment.
- Inspector
inspector_idtext - Only this inspector type's, such as Active Directory.
Outputs
countnumber- How many
launchpointslist- The launchpoints
Example output
{
"count": 1,
"launchpoints": [
{
"Agent": {
"ID": 1511,
"Name": "Contoso Agent"
},
"Alias": "Active Directory - Contoso",
"CreatedOn": "2026-09-10T19:21:03.195Z",
"Enabled": true,
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"EnvironmentID": 18701,
"FreqInterval": 1,
"FreqType": "days",
"ID": 18671,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"LastAdHocRun": "2026-11-20T19:21:03.195Z",
"LastScheduledRun": "2026-11-30T19:21:03.195Z",
"NextScheduledFor": "2026-12-01T19:21:03.195Z",
"Status": "Active",
"System": {
"Description": "",
"ID": 3454,
"Name": "contoso.local"
},
"TotalAdHocRuns": 7,
"TotalScheduledRuns": 249,
"UpdatedOn": "2026-09-10T19:21:03.195Z",
"Visible": true
}
]
}List metrics
List Liongard's metrics and your own, with their IDs and UUIDs, one page at a time.
Inputs
- Page
pagenumber - Which page to get, starting at 1. Defaults to the first.At least 1.
- Page size
page_sizenumber - How many to get per page, 1 to 2000. Defaults to 50.From 1 to 2000.
Outputs
countnumber- How many on this page
has_moretrue/false- True when there is another page; run again with the next page number
metricslist- The metrics
pagenumber- The page number returned
Example output
{
"count": 1,
"has_more": false,
"metrics": [
{
"ChangesEnabled": true,
"CreatedOn": "2026-02-01T18:31:22.896Z",
"Description": "Number of computers joined to this Active Directory domain.",
"Enabled": true,
"EnvironmentID": 0,
"ID": 1,
"InspectorID": 13,
"MetricDisplay": true,
"Name": "Active Directory: Count of Joined Computers",
"UCK": "Active Directory: Count of Joined Computers",
"UUID": "aa4eef4d-3dc5-4b3d-9d8a-00c1d9b68065",
"UpdatedOn": "2026-08-23T16:10:44.000Z",
"Visible": true
}
],
"page": 1
}List systems
List the systems Liongard has discovered (domains, firewalls, tenants and so on), for every environment or one, narrowed by inspector or launchpoint.
Inputs
- Environment
environment_idtext - Only this environment's. Leave empty for every environment.
- Inspector
inspector_idtext - Only this inspector type's, such as Active Directory.
- Launchpoint
launchpoint_idtext - Only the systems this launchpoint inspects.
Outputs
countnumber- How many
systemslist- The systems
Example output
{
"count": 1,
"systems": [
{
"CreatedOn": "2026/09/10 19:21:03",
"Description": "Contoso's domain",
"Environment": {
"ID": 18701,
"Name": "Contoso",
"ShortName": "CN"
},
"ID": 3454,
"Inspector": {
"Alias": "Active Directory",
"ID": 13,
"InspectorCategory": "appservices",
"Name": "active-directory-inspector"
},
"LastVerifyTime": "2026/11/30 19:21:03",
"Launchpoint": {
"Alias": "Active Directory - Contoso",
"ID": 18671,
"Status": "Active"
},
"Name": "contoso.local",
"Status": 1,
"Tags": "",
"UpdatedOn": "2026/11/30 19:21:03",
"Visible": true
}
]
}List webhooks
List the webhooks Liongard sends new alerts to, with their address, state and health.
Inputs
None.
Outputs
countnumber- How many
webhookslist- The webhooks
Example output
{
"count": 1,
"webhooks": [
{
"Active": true,
"CreatedOn": "2026-11-30T05:00:00.000Z",
"Description": "Alerts to our ticketing",
"Events": [
"alert.created"
],
"Health": "200 OK",
"ID": "2371b0fa-10cd-49ea-a97b-c1d1e2680777",
"Url": "https://example.com/liongard-alerts"
}
]
}Run inspection now
Queue an inspection on a launchpoint now, outside its schedule. Its result shows on the timeline once the agent has run it.
Inputs
- Launchpoint
launchpoint_idtextRequired - The inspector launchpoint (one configured inspection). Pick one, or give its ID from an earlier step.
Outputs
launchpoint_idnumber- The launchpoint run
liongard_replytext- The number Liongard answered with
queuedtrue/false- Always true once queued
Example output
{
"launchpoint_id": 18671,
"liongard_reply": "14822",
"queued": true
}Update environment
Change an environment's name, description, short name or tier. Fields left empty are not sent.
Inputs
- Environment
environment_idtextRequired - The environment (customer). Pick one, or give its ID from an earlier step.
- Name
nametext - The environment's name, usually the customer's. Leave empty to keep it.
- Description
descriptiontext - A description of the environment. Leave empty to keep it.
- Short name
short_nametext - A short name or code for the environment, such as CN. Leave empty to keep it.
- Tier
tiertext - The environment's Liongard tier, which decides which inspectors it can use. Leave empty to keep it.One of:
Core,Essentials.
Outputs
environmentobject- The environment
Example output
{
"environment": {
"AgentsCount": 1,
"CreatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"CreatedOn": "2026-09-10T19:21:03.195Z",
"EndpointInspectorCount": 0,
"ID": 18701,
"Name": "Contoso",
"ServiceProviderID": 1,
"Status": 1,
"Tier": {
"AssociatedInspectors": 14,
"CanDownGrade": true,
"Type": "Core"
},
"UpdatedBy": {
"FirstName": "Alex",
"FullName": "Alex Weber",
"ID": 1234,
"LastName": "Weber"
},
"UpdatedOn": "2026-09-10T19:21:03.195Z",
"Visible": true
}
}Update webhook
Change a webhook's address or description, or turn it on or off. Fields left empty are not changed.
Inputs
- Webhook
webhook_idtextRequired - The webhook. Pick one, or give its ID from an earlier step.
- Address
urltext - A new https:// address. Leave empty to keep it.
- Description
descriptiontext - A new description. Leave empty to keep it.
- On
activetrue/false - On sends alerts to the webhook; off stops it.
Outputs
webhookobject- The webhook
Example output
{
"webhook": {
"Active": false,
"CreatedOn": "2026-11-30T05:00:00.000Z",
"Description": "Alerts to our ticketing",
"Events": [
"alert.created"
],
"Health": "200 OK",
"ID": "2371b0fa-10cd-49ea-a97b-c1d1e2680777",
"Url": "https://example.com/liongard-alerts"
}
}