Get Asset by ID API
Use this API to get the details of an asset using the asset ID.
Input ParametersInput Parameters
|
Parameter |
Mandatory/Optional |
Data Type |
Description |
|---|---|---|---|
| assetId | Mandatory | Long | Provide a unique asset ID. |
|
Authorization |
Mandatory |
String |
Authorization token to authenticate to the Qualys Enterprise TruRisk Platform. Prepend token with Bearer and one space. For example - Bearer authToken |
SampleSample
API Request
curl -X 'GET'
'<qualys_base_url>/etm/api/rest/v1/assets/4728531'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer <JWT Token>'
Response
{
"data": {
"name":"10.xxx.xxx.xx",
"criticalityScore":4,
"truRiskScore":194,
"host":{
"os":{
"category2":"Unidentified",
"product":"Unidentified",
"category1":"Unidentified",
"name":"Unidentified",
"category":"Unidentified / Unidentified"
}
},
"inventory":[
{
"source":"IP Scanner",
"firstSeen":"2026-03-04T05:27:36.000Z",
"lastSeen":"2026-06-17T01:12:39.000Z"
}
],
"assetType":"HOST",
"tags":[
{
"name":"Loreal_WZON_AM_IT"
},
{
"name":"India Targets - TruConfirm",
"criticalityScore":3
},
{
"name":"RX Version",
"criticalityScore":3
},
{
"name":"TestJ000000"
},
{
"name":"CAUintManager_BU"
},
{
"name":"AG1",
"criticalityScore":4
},
{
"name":"India Targets",
"criticalityScore":3
},
{
"name":"India Targets - TruConfrim",
"criticalityScore":3
},
{
"name":"DEV: CS: TYPE: SERVER"
},
{
"name":"Firewall Detected"
}
]
}
}