Fetch Asset Count using Asset
For API version information, refer to the API Version History section.
Non-Versioned
This API retrieves a large number of search results in smaller sections or batches.
Input Parameters for Fetch Asset CountInput Parameters for Fetch Asset Count
Input Parameters |
Mandatory/Optional |
Format |
Description |
---|---|---|---|
Authorization |
Mandatory |
String |
Authorization parameter authenticates the Qualys Enterprise TruRisk™ Platform. Prepend token with "Bearer" and a space. For example: Bearer authToken. |
filter |
Optional |
String |
The filter parameter sorts the fields in the JSON format For example: [{"asset.lastupdatedtime":"asc"}] |
sort |
Optional |
String |
The sort parameter filters the asset by providing a query using Qualys syntax. For more information see EDR Online Help. For example: asset.platform: 'WINDOWS' |
Sample - Fetch Asset CountSample - Fetch Asset Count
API request
curl -X GET "<qualys_base_url>/ioc/asset/count" --header "accept: */*" -- header "Authorization: Bearer <token>"
Response
{
"count": 228
}
Response Field DescriptionsResponse Field Descriptions
Dataset Name |
Field Name |
Data Type |
Description |
---|---|---|---|
Asset | count | Integer | Count of assets where EDR is enabled. |
V1.0
This API retrieves a large number of search results in smaller sections or batches.
Input Parameters for Fetch Asset CountInput Parameters for Fetch Asset Count
Input Parameters |
Mandatory/Optional |
Format |
Description |
---|---|---|---|
Authorization |
Mandatory |
String |
Authorization parameter authenticates the Qualys Enterprise TruRisk™ Platform. Prepend token with "Bearer" and a space. For example: Bearer authToken. |
filter |
Optional |
String |
The filter parameter sorts the fields in the JSON format For example: [{"asset.lastupdatedtime":"asc"}] |
sort |
Optional |
String |
The sort parameter filters the asset by providing a query using Qualys syntax. For more information see EDR Online Help. For example: asset.platform: 'WINDOWS' |
Sample - Fetch Asset CountSample - Fetch Asset Count
API request
curl -X GET "<qualys_base_url>/ioc/v1/asset/count" --header "accept: */*" -- header "Authorization: Bearer <token>"
Response
{
"count": 228
}
Response Field DescriptionsResponse Field Descriptions
Dataset Name |
Field Name |
Data Type |
Description |
---|---|---|---|
Asset | count | Integer | Count of assets where EDR is enabled. |
API Version History
The following table depicts the information about the different versions of this API along with the status:
API Version | API Status | Release Date |
/ioc/asset/count | Active | |
/ioc/v1/asset/count | Active | May 2025 |