Lansweeper
App · 25 actions
Work with your Lansweeper IT asset inventory from workflows: search and edit assets, list the software on them, find vulnerabilities, manage custom fields and export reports and assets. Start a workflow when a new device is found, an asset changes or goes quiet, a warranty is ending, a vulnerability or a piece of software appears, a scanning server goes down or a report finishes.
Actions
| Action | What it does |
|---|---|
| Create custom field | Add a custom field to the site's assets, such as an owner or a cost center. |
| Delete assets | Delete one or more assets from the site, such as devices that were retired. |
| Delete custom field | Delete a custom field, and its value on every asset. |
| Edit asset | Change an asset's name, description, IP address, asset details or custom fields. |
| Export assets | Start exporting every asset of a site to a file, such as for a nightly copy to a CMDB. |
| Export report | Start exporting a report's full results to a file. |
| Get asset | Read an asset: what scanning found, its operating system and its asset details such as serial number, warranty and location. |
| Get asset export | Check an asset export and get its download link once it is ready. |
| Get report export | Check a report export and get its download link once it is ready. |
| Get report status | Read a report's last run: whether it finished, when, and how many rows it found. |
| Get software | Read one piece of software: how many assets have it, by operating system and version. |
| Get vulnerability | Read a vulnerability by its CVE ID: its risk score, severity, CVSS details, whether it is exploited and links about it. |
| List asset states | List the states an asset can be in, such as Active, Broken or Stolen. |
| List asset types | List the asset types a site uses, such as Windows, Printer or iPhone. |
| List assets with software | List the assets that have a piece of software installed, such as to find every machine running an old version. |
| List assets without software | List the assets that don't have a piece of software installed, such as machines missing antivirus. |
| List custom fields | List a site's asset custom fields, with the key 'Edit asset' needs for each. |
| List installations | List a site's scanning installations, with whether each is up, when it last sent data and how many assets it scans. |
| List reports | List the reports the token can read, with their categories. |
| List site users | List the people with access to a Lansweeper site, with their status and when they last used it. |
| List sites | List the Lansweeper sites the token can read, with their IDs, which also checks the connected account works. |
| List software | List the software found across a site, by name, with its publisher, versions and how many assets have it. |
| List software on asset | List the software installed on an asset, with versions, publishers and install dates. |
| List vulnerabilities | List the vulnerabilities (CVEs) Lansweeper found on a site's assets, by severity, risk score, date and whether they are known to be exploited. |
| Search assets | Find assets (computers, servers, printers, network devices and more) by name, type, state, IP or MAC address, serial number and when they were first or last seen. |
Create custom field
Add a custom field to the site's assets, such as an owner or a cost center.
Inputs
- Name
nametextRequired - The custom field's name.
- Kind
field_typetextRequired - What the field holds.One of:
INPUT(Text (one line)),TEXTAREA(Text (several lines)),SELECT(Choice from a list),DATE,TIME,CURRENCY(Amount of money),HYPERLINK(Link),NUMERIC(Number). - Choices
optionslist - The choices to offer.Only when Kind is Choice from a list.
- Currency
currencytext - The currency of the amount. Defaults to US dollar.Only when Kind is Amount of money. One of:
USD(US dollar),EUR(Euro),JPY(Japanese yen),CHF(Swiss franc). Default:USD. - Link text
link_tagtext - The words the link shows.Only when Kind is Link.
- Lowest number
min_valuenumber - The lowest number the field takes.Only when Kind is Number.
- Highest number
max_valuenumber - The highest number the field takes.Only when Kind is Number.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
custom_fieldobject- The new custom field
Example output
{
"custom_field": {
"key": "8d6a2ea7-0b9d-4847-b2d2-a300956c8d1e",
"name": "Asset owner",
"props": {
"currencyType": "",
"linkTag": "",
"maxNumericValue": 0,
"minNumericValue": 0,
"options": [
"IT",
"Finance"
]
},
"type": "SELECT"
}
}Delete assets
Delete one or more assets from the site, such as devices that were retired. This can't be undone.
Inputs
- Asset keys
asset_keyslistRequired - The keys of the assets to delete, from 'Search assets'.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
countnumber- How many
deleted_keyslist- The keys of the assets deleted
resulttrue/false- Lansweeper's answer: true once they are deleted
Example output
{
"count": 1,
"deleted_keys": [
"MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ=="
],
"result": true
}Delete custom field
Delete a custom field, and its value on every asset. This can't be undone.
Inputs
- Custom field
field_keytextRequired - The custom field, chosen from the list or its key.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
deleted_keytext- The key of the custom field deleted
resulttrue/false- Lansweeper's answer: true once it is deleted
Example output
{
"deleted_key": "8d6a2ea7-0b9d-4847-b2d2-a300956c8d1e",
"result": true
}Edit asset
Change an asset's name, description, IP address, asset details or custom fields. Fields left empty stay as they are.
Inputs
- Asset key
asset_keytextRequired - The asset's key, from 'Search assets' or a trigger.
- Name
nametext - The asset's new name.
- Description
descriptiontext - The asset's new description.
- IP address
ip_addresstext - The asset's IP address.
- Manufacturer
manufacturertext - The asset's manufacturer.
- Model
modeltext - The asset's model.
- Serial number
serial_numbertext - The asset's serial number.
- Location
locationtext - Where the asset is.
- Department
departmenttext - The department the asset belongs to.
- Contact
contacttext - The asset's contact person.
- Branch office
branch_officetext - The branch office the asset belongs to.
- Building
buildingtext - The building the asset is in.
- Barcode
barcodetext - The asset's barcode.
- Notes
notestext - Notes about the asset.
- Purchase date
purchase_datedate - When the asset was bought.
- Warranty end date
warranty_datedate - When the asset's warranty ends.
- Custom fields
custom_fieldsobject - Values for the site's custom fields: each custom field's key, from 'List custom fields', and its value.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
assetobject- The changed fields as Lansweeper now has them
asset_keytext- The asset that was changed
Example output
{
"asset": {
"assetBasicInfo": {
"description": "Finance laptop",
"ipAddress": "10.0.4.42",
"name": "LAPTOP-042"
},
"assetCustom": {
"barcode": "BC-00042",
"branchOffice": "Head office",
"building": "North",
"comment": "Issued to the finance team",
"contact": "IT service desk",
"department": "Finance",
"location": "Floor 3",
"manufacturer": "Dell Inc.",
"model": "Latitude 7440",
"purchaseDate": "2024-02-20",
"serialNumber": "DEMOSERIAL1",
"warrantyDate": "2027-03-01"
}
},
"asset_key": "MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ=="
}Export assets
Start exporting every asset of a site to a file, such as for a nightly copy to a CMDB. Follow it with 'Get asset export' for the download link.
Inputs
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
export_idtext- The export's ID, for 'Get asset export'
Example output
{
"export_id": "61a9efb22d98215bc05b8987"
}Export report
Start exporting a report's full results to a file. Follow it with 'Get report export' for the download link.
Inputs
- Report
report_idtextRequired - The report, chosen from the list or its ID.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
attempts_leftnumber- How many more exports of it Lansweeper allows today
export_idtext- The export's ID, for 'Get report export'
report_idtext- The report
Example output
{
"attempts_left": 4,
"export_id": "631749918485e555e57f036e",
"report_id": "60c1b4d5118c2487f722b4d4"
}Get asset
Read an asset: what scanning found, its operating system and its asset details such as serial number, warranty and location.
Inputs
- Asset key
asset_keytextRequired - The asset's key, from 'Search assets' or a trigger.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
assetobject- The asset
Example output
{
"asset": {
"assetBasicInfo": {
"description": "Finance laptop",
"domain": "EXAMPLE",
"firstSeen": "2024-03-01T09:12:00.000Z",
"fqdn": "laptop-042.example.com",
"ipAddress": "10.0.4.42",
"lastChanged": "2026-11-16T14:20:00.000Z",
"lastSeen": "2026-11-17T08:00:00.000Z",
"lastTried": "2026-11-17T08:00:00.000Z",
"mac": "00:1A:2B:3C:4D:5E",
"name": "LAPTOP-042",
"type": "Windows",
"upTime": 86400,
"userDomain": "EXAMPLE",
"userName": "jdoe"
},
"assetCustom": {
"barcode": "BC-00042",
"branchOffice": "Head office",
"building": "North",
"comment": "Issued to the finance team",
"contact": "IT service desk",
"department": "Finance",
"dnsName": "laptop-042",
"firmwareVersion": "1.12.0",
"location": "Floor 3",
"manufacturer": "Dell Inc.",
"model": "Latitude 7440",
"purchaseDate": "2024-02-20T00:00:00.000Z",
"serialNumber": "DEMOSERIAL1",
"sku": "0C1F",
"stateName": "Active",
"warrantyDate": "2027-03-01T00:00:00.000Z"
},
"key": "MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==",
"operatingSystem": {
"caption": "Microsoft Windows 11 Pro",
"productType": "Workstation"
},
"url": "https://app.lansweeper.com/head-office/asset/MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==/summary"
}
}Get asset export
Check an asset export and get its download link once it is ready. Lansweeper allows one check every 30 seconds.
Inputs
- Export ID
export_idtextRequired - The export_id 'Export assets' gave.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
export_idtext- The export
progresstext- How far it is, such as 51%
readytrue/false- True once the file can be downloaded
urltext- Where to download the file; empty until it is ready
Example output
{
"export_id": "61a9efb22d98215bc05b8987",
"progress": "100%",
"ready": true,
"url": "https://example.com/asset-export.zip"
}Get report export
Check a report export and get its download link once it is ready.
Inputs
- Report
report_idtextRequired - The report, chosen from the list or its ID.
- Export ID
export_idtextRequired - The export_id 'Export report' gave.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
completed_attext- When it was ready
export_idtext- The export
readytrue/false- True once the file can be downloaded
report_idtext- The report
requested_attext- When it was asked for
statustext- Its status, such as completed
urltext- Where to download the file; empty until it is ready
Example output
{
"completed_at": "2026-11-17T13:22:30.016Z",
"export_id": "631749918485e555e57f036e",
"ready": true,
"report_id": "60c1b4d5118c2487f722b4d4",
"requested_at": "2026-11-17T13:22:25.454Z",
"status": "completed",
"url": "https://example.com/report-export.csv"
}Get report status
Read a report's last run: whether it finished, when, and how many rows it found.
Inputs
- Report
report_idtextRequired - The report, chosen from the list or its ID.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
currentResultCountnumber- How many rows its last run found
executionFinishedAttext- When its last run finished
isPausedtrue/false- True if its schedule is paused
nextExecutionAttext- When it runs next
progressnumber- How far its run is, out of 100
report_idtext- The report
statustext- Its status, such as completed; empty if it hasn't run
Example output
{
"currentResultCount": 300,
"executionFinishedAt": "2026-11-17T07:48:53.994Z",
"isPaused": false,
"nextExecutionAt": "",
"progress": 100,
"report_id": "60c1b4d5118c2487f722b4d4",
"status": "completed"
}Get software
Read one piece of software: how many assets have it, by operating system and version.
Inputs
- Software name
softwaretextRequired - The software's name exactly as 'List software' gives it.
- Publisher
publishertextRequired - Its publisher exactly as 'List software' gives it.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
softwareobject- The software
Example output
{
"software": {
"earliestInstallDate": "2021-05-04T00:00:00.000Z",
"id": "vk+LRnGgyhuNmBPnppPVtlqjrf3RQI3t0NoX996MIDY=",
"operatingSystemsDetails": [
{
"earliestInstallDate": "2021-05-04T00:00:00.000Z",
"operatingSystem": "Windows",
"totalInstallations": 240,
"versionsDetails": [
{
"earliestInstallDate": "2026-10-30T00:00:00.000Z",
"totalInstallations": 240,
"version": "131.0.6778.86"
}
]
}
],
"publisher": "Google LLC",
"software": "Google Chrome",
"totalInstallations": 240,
"totalVersions": 1
}
}Get vulnerability
Read a vulnerability by its CVE ID: its risk score, severity, CVSS details, whether it is exploited and links about it.
Inputs
- CVE ID
cvetextRequired - The vulnerability's CVE ID, such as CVE-2024-1283.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
vulnerabilityobject- The vulnerability
Example output
{
"vulnerability": {
"attackComplexity": "Low",
"attackVector": "Network",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"cause": {
"affectedProduct": [
"Chrome"
],
"category": [
"Browser"
],
"vendor": [
"Google"
]
},
"confidentiality": "HIGH",
"cve": "CVE-2024-1283",
"exploitability": {
"CISA": {
"dueDate": "",
"exploited": "Unknown",
"knownRansomwareCampaignUse": "Unknown"
},
"exploitable": "Known",
"exploitedInTheWild": "Unknown"
},
"integrity": "HIGH",
"isActive": true,
"patchable": true,
"privilegeRequired": "NONE",
"publishedOn": "2024-02-07 00:15:56",
"references": [
{
"url": "https://issues.chromium.org/issues/41494860"
}
],
"riskScore": 9.8,
"scope": "UNCHANGED",
"severity": "Critical",
"source": "Chrome",
"updatedOn": "2024-02-14 18:19:42",
"userInteraction": "NONE",
"weaknessEnumeration": [
"CWE-787"
]
}
}List asset states
List the states an asset can be in, such as Active, Broken or Stolen.
Inputs
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
countnumber- How many
stateslist- The asset states
Example output
{
"count": 2,
"states": [
{
"assetStateKey": "MS1TdGF0ZS02ZGQy",
"name": "Active"
},
{
"assetStateKey": "Mi1TdGF0ZS02ZGQy",
"name": "Broken"
}
]
}List asset types
List the asset types a site uses, such as Windows, Printer or iPhone.
Inputs
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
asset_typeslist- Every asset type, such as Windows, Printer or iPhone
countnumber- How many
Example output
{
"asset_types": [
"Linux",
"Printer",
"Windows"
],
"count": 3
}List assets with software
List the assets that have a piece of software installed, such as to find every machine running an old version.
Inputs
- Software ID
software_idtextRequired - The software's ID, from 'List software' or 'Get software'.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
- How many
limitnumber - The most to list. Defaults to 50.From 1 to 500.
- Page cursor
cursortext - To read the next page, the next_cursor an earlier run of this step gave. Leave empty for the first page.
Outputs
assetslist- The assets
countnumber- How many are on this page
has_moretrue/false- True if there are more after this page
next_cursortext- Give this to the step's Page cursor to read the next page; empty on the last page
software_idtext- The software asked about
totalnumber- How many match in all
Example output
{
"assets": [
{
"assetBasicInfo": {
"description": "Finance laptop",
"domain": "EXAMPLE",
"firstSeen": "2024-03-01T09:12:00.000Z",
"fqdn": "laptop-042.example.com",
"ipAddress": "10.0.4.42",
"lastChanged": "2026-11-16T14:20:00.000Z",
"lastSeen": "2026-11-17T08:00:00.000Z",
"mac": "00:1A:2B:3C:4D:5E",
"name": "LAPTOP-042",
"type": "Windows",
"userDomain": "EXAMPLE",
"userName": "jdoe"
},
"assetCustom": {
"department": "Finance",
"location": "Floor 3",
"manufacturer": "Dell Inc.",
"model": "Latitude 7440",
"serialNumber": "DEMOSERIAL1",
"stateName": "Active",
"warrantyDate": "2027-03-01T00:00:00.000Z"
},
"key": "MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==",
"operatingSystem": {
"caption": "Microsoft Windows 11 Pro"
},
"url": "https://app.lansweeper.com/head-office/asset/MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==/summary"
}
],
"count": 1,
"has_more": false,
"next_cursor": "",
"software_id": "dEF0Dc+Svm0AOg8Qm7fReEy3ln8hPIJqB6PZwIOt8Cs=",
"total": 1
}List assets without software
List the assets that don't have a piece of software installed, such as machines missing antivirus.
Inputs
- Software ID
software_idtextRequired - The software's ID, from 'List software' or 'Get software'.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
- How many
limitnumber - The most to list. Defaults to 50.From 1 to 500.
- Page cursor
cursortext - To read the next page, the next_cursor an earlier run of this step gave. Leave empty for the first page.
Outputs
assetslist- The assets
countnumber- How many are on this page
has_moretrue/false- True if there are more after this page
next_cursortext- Give this to the step's Page cursor to read the next page; empty on the last page
software_idtext- The software asked about
totalnumber- How many match in all
Example output
{
"assets": [
{
"assetBasicInfo": {
"description": "Finance laptop",
"domain": "EXAMPLE",
"firstSeen": "2024-03-01T09:12:00.000Z",
"fqdn": "laptop-042.example.com",
"ipAddress": "10.0.4.42",
"lastChanged": "2026-11-16T14:20:00.000Z",
"lastSeen": "2026-11-17T08:00:00.000Z",
"mac": "00:1A:2B:3C:4D:5E",
"name": "LAPTOP-042",
"type": "Windows",
"userDomain": "EXAMPLE",
"userName": "jdoe"
},
"assetCustom": {
"department": "Finance",
"location": "Floor 3",
"manufacturer": "Dell Inc.",
"model": "Latitude 7440",
"serialNumber": "DEMOSERIAL1",
"stateName": "Active",
"warrantyDate": "2027-03-01T00:00:00.000Z"
},
"key": "MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==",
"operatingSystem": {
"caption": "Microsoft Windows 11 Pro"
},
"url": "https://app.lansweeper.com/head-office/asset/MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==/summary"
}
],
"count": 1,
"has_more": false,
"next_cursor": "",
"software_id": "dEF0Dc+Svm0AOg8Qm7fReEy3ln8hPIJqB6PZwIOt8Cs=",
"total": 1
}List custom fields
List a site's asset custom fields, with the key 'Edit asset' needs for each.
Inputs
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
countnumber- How many
custom_fieldslist- The site's custom fields
Example output
{
"count": 1,
"custom_fields": [
{
"key": "8d6a2ea7-0b9d-4847-b2d2-a300956c8d1e",
"name": "Asset owner",
"props": {
"currencyType": "",
"linkTag": "",
"maxNumericValue": 0,
"minNumericValue": 0,
"options": [
"IT",
"Finance"
]
},
"type": "SELECT"
}
]
}List installations
List a site's scanning installations, with whether each is up, when it last sent data and how many assets it scans.
Inputs
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
countnumber- How many
installationslist- The site's scanning installations
Example output
{
"count": 1,
"installations": [
{
"description": "Head office scanning server",
"fqdn": "scanner.example.com",
"id": "eeeeeeee-dddd-cccc-bbbb-aaaaaaaaaaaa",
"installationDate": "2022-04-05T16:12:59.338Z",
"lastAvailable": "2026-11-17T10:37:06.445Z",
"linkStatus": "Linked",
"name": "Main scanner",
"siteId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee1",
"syncServerStatus": "Up",
"totalAssets": 1500,
"type": "IT",
"unlinkedBy": "",
"unlinkedOn": "",
"version": "11.4.1"
}
]
}List reports
List the reports the token can read, with their categories.
Inputs
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
countnumber- How many
reportslist- The reports this token may read
Example output
{
"count": 1,
"reports": [
{
"category": "hardware",
"description": "Assets that haven't been scanned for a month.",
"id": "60c1b4d5118c2487f722b4d4",
"isDefault": true,
"name": "Assets not seen in 30 days",
"subcategory": "uncategorized"
}
]
}List site users
List the people with access to a Lansweeper site, with their status and when they last used it.
Inputs
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
accountslist- The people with access to the site
countnumber- How many
Example output
{
"accounts": [
{
"createdAt": "2020-02-18T14:15:16.518Z",
"email": "jane.doe@example.com",
"joinedAt": "2021-11-25T08:53:39.052Z",
"lastTimeAccess": "2026-11-01T07:35:35.237Z",
"status": "enabled",
"username": "jane.doe"
}
],
"count": 1
}List sites
List the Lansweeper sites the token can read, with their IDs, which also checks the connected account works.
Inputs
None.
Outputs
countnumber- How many
siteslist- The sites the token may read
Example output
{
"count": 1,
"sites": [
{
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee1",
"name": "Head office"
}
]
}List software
List the software found across a site, by name, with its publisher, versions and how many assets have it.
Inputs
- Name contains
searchtext - Only software whose name contains this.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
- How many
limitnumber - The most to list. Defaults to 50.From 1 to 500.
- Page cursor
cursortext - To read the next page, the next_cursor an earlier run of this step gave. Leave empty for the first page.
Outputs
countnumber- How many are on this page
has_moretrue/false- True if there are more after this page
next_cursortext- Give this to the step's Page cursor to read the next page; empty on the last page
softwarelist- The software found on the site
totalnumber- How many match in all
Example output
{
"count": 1,
"has_more": false,
"next_cursor": "",
"software": [
{
"assets": 240,
"id": "dEF0Dc+Svm0AOg8Qm7fReEy3ln8hPIJqB6PZwIOt8Cs=",
"installDate": "2021-05-04T00:00:00.000Z",
"labeledPublisher": "Google",
"labeledSoftware": "Chrome",
"operatingSystems": [
"Windows"
],
"publisher": "Google LLC",
"software": "Google Chrome",
"versions": [
"131.0.6778.86"
]
}
],
"total": 1
}List software on asset
List the software installed on an asset, with versions, publishers and install dates.
Inputs
- Asset key
asset_keytextRequired - The asset's key, from 'Search assets' or a trigger.
- Sort by
sort_bytext - What to sort the software by.One of:
softwares.name(Name),softwares.publisher(Publisher),softwares.installDate(Install date),softwares.lastChanged(Last changed). Default:softwares.name. - Order
directiontext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). Default:ASC. - Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
Outputs
asset_keytext- The asset
countnumber- How many are listed
softwarelist- The software installed on it
totalnumber- How many are installed
Example output
{
"asset_key": "MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==",
"count": 1,
"software": [
{
"architecture": "64-bit",
"currentUser": false,
"installDate": "2026-10-30T00:00:00.000Z",
"lastChanged": "2026-11-16T06:50:05.580Z",
"msi": true,
"name": "Google Chrome",
"operatingSystem": "Windows",
"publisher": "Google LLC",
"release": "131",
"version": "131.0.6778.86"
}
],
"total": 1
}List vulnerabilities
List the vulnerabilities (CVEs) Lansweeper found on a site's assets, by severity, risk score, date and whether they are known to be exploited.
Inputs
- Severity
severitylist - Only vulnerabilities this severe.One or more of:
Critical,High,Medium,Low. - CVE contains
cvetext - Only CVEs whose ID contains this.
- Known exploited only
known_exploitedtrue/false - Only vulnerabilities known to be exploited.Default:
false. - Lowest risk score
min_risk_scorenumber - Only vulnerabilities with at least this risk score, from 0 to 10.From 0 to 10.
- Published after
published_afterdate and time - Only vulnerabilities published after this.
- Updated after
updated_afterdate and time - Only vulnerabilities updated after this.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
- How many
limitnumber - The most to list. Defaults to 50.From 1 to 500.
- Page cursor
cursortext - To read the next page, the next_cursor an earlier run of this step gave. Leave empty for the first page.
Outputs
countnumber- How many are on this page
has_moretrue/false- True if there are more after this page
next_cursortext- Give this to the step's Page cursor to read the next page; empty on the last page
totalnumber- How many match in all
vulnerabilitieslist- The vulnerabilities
Example output
{
"count": 1,
"has_more": false,
"next_cursor": "",
"total": 1,
"vulnerabilities": [
{
"attackComplexity": "Low",
"attackVector": "Network",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"cause": {
"affectedProduct": [
"Chrome"
],
"category": [
"Browser"
],
"vendor": [
"Google"
]
},
"confidentiality": "HIGH",
"cve": "CVE-2024-1283",
"exploitability": {
"CISA": {
"dueDate": "",
"exploited": "Unknown",
"knownRansomwareCampaignUse": "Unknown"
},
"exploitable": "Known",
"exploitedInTheWild": "Unknown"
},
"integrity": "HIGH",
"isActive": true,
"patchable": true,
"privilegeRequired": "NONE",
"publishedOn": "2024-02-07 00:15:56",
"references": [
{
"url": "https://issues.chromium.org/issues/41494860"
}
],
"riskScore": 9.8,
"scope": "UNCHANGED",
"severity": "Critical",
"source": "Chrome",
"updatedOn": "2024-02-14 18:19:42",
"userInteraction": "NONE",
"weaknessEnumeration": [
"CWE-787"
]
}
]
}Search assets
Find assets (computers, servers, printers, network devices and more) by name, type, state, IP or MAC address, serial number and when they were first or last seen.
Inputs
- Name contains
nametext - Only assets whose name contains this.
- Asset type
asset_typelist - Only assets of these types, such as Windows or Printer.
- State
statelist - Only assets in these states, such as Active.
- IP address
ip_addresstext - Only the asset with this IP address.
- MAC address
mac_addresstext - Only the asset with this MAC address.
- Serial number
serial_numbertext - Only the asset with this serial number.
- Last seen after
seen_afterdate and time - Only assets scanned after this.
- Last seen before
seen_beforedate and time - Only assets not scanned since this, such as to find stale ones.
- First seen after
first_seen_afterdate and time - Only assets Lansweeper first found after this.
- Site
sitetext - The Lansweeper site. Leave empty to use the only site the token can read.
- How many
limitnumber - The most to list. Defaults to 50.From 1 to 500.
- Page cursor
cursortext - To read the next page, the next_cursor an earlier run of this step gave. Leave empty for the first page.
Outputs
assetslist- The assets
countnumber- How many are on this page
has_moretrue/false- True if there are more after this page
next_cursortext- Give this to the step's Page cursor to read the next page; empty on the last page
totalnumber- How many match in all
Example output
{
"assets": [
{
"assetBasicInfo": {
"description": "Finance laptop",
"domain": "EXAMPLE",
"firstSeen": "2024-03-01T09:12:00.000Z",
"fqdn": "laptop-042.example.com",
"ipAddress": "10.0.4.42",
"lastChanged": "2026-11-16T14:20:00.000Z",
"lastSeen": "2026-11-17T08:00:00.000Z",
"mac": "00:1A:2B:3C:4D:5E",
"name": "LAPTOP-042",
"type": "Windows",
"userDomain": "EXAMPLE",
"userName": "jdoe"
},
"assetCustom": {
"department": "Finance",
"location": "Floor 3",
"manufacturer": "Dell Inc.",
"model": "Latitude 7440",
"serialNumber": "DEMOSERIAL1",
"stateName": "Active",
"warrantyDate": "2027-03-01T00:00:00.000Z"
},
"key": "MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==",
"operatingSystem": {
"caption": "Microsoft Windows 11 Pro"
},
"url": "https://app.lansweeper.com/head-office/asset/MTA1LUFzc2V0LWE1ODg5ZDQxLWFhYzktNDQ0YS1iZmEzLTI4NTdkYTc0NTUyYQ==/summary"
}
],
"count": 1,
"has_more": false,
"next_cursor": "",
"total": 1
}