provider CSM Agents GET
/api/v2/csm/onboarding/agents @utdk/datadog
/api/v2/csm/onboarding/agents Get all CSM Agents
Get the list of all CSM Agents running on your hosts and containers.
- page query
- The page index for pagination (zero-based).
- integer
- size query
- The number of items to include in a single page.
- integer
- query query
- A search query string to filter results (for example, `hostname:COMP-T2H4J27423`).
- string
- order_direction query
- The sort direction for results. Use `asc` for ascending or `desc` for descending.
- enum: asc, desc
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listallcsmagents()