CSM Settings
List agentless hosts
Get the list of agentless hosts for CSM, with optional pagination and filtering.
get/api/v2/csm/settings/agentless_hosts
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/csm/settings/agentless_hosts
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Query parameters
pageinteger
The page index for pagination (zero-based).
sizeinteger
Example:10
The number of agentless hosts to return per page.
querystring
Example:cloud_provider:aws
A search query string to filter agentless hosts.
Response
OK
Example response
{
"data": [
{
"attributes": {
"account_id": "123456789012",
"cloud_provider": "aws",
"has_posture_management": true,
"has_vulnerability_scanning": true,
"resource_type": "aws_ec2_instance"
},
"id": "i-0123456789abcdef0",
"type": "agentless_host"
}
],
"meta": {
"page_size": 10,
"total_filtered": 100
}
}Changes
No recorded changes to this operation across all 1 revision of this API.