v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
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

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
  }
}