CSM Agents
Get all CSM Serverless Agents
Get the list of all CSM Serverless Agents running on your hosts and containers.
get/api/v2/csm/onboarding/serverless/agents
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/csm/onboarding/serverless/agents
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Query parameters
pageinteger
Example:2
The page index for pagination (zero-based).
sizeinteger
Example:12
The number of items to include in a single page.
querystring
Example:hostname:COMP-T2H4J27423
A search query string to filter results (for example, hostname:COMP-T2H4J27423).
order_direction'asc' | 'desc'
The sort direction for results.
Example:asc
The sort direction for results. Use asc for ascending or desc for descending.
Response
OK
Example response
{
"data": [
{
"id": "fffffc5505f6a006fdf7cf5aae053653",
"type": "datadog_agent"
}
],
"meta": {
"page_size": 10,
"total_filtered": 128697
}
}Changes
No recorded changes to this operation across all 1 revision of this API.