provider Fleet Automation GET /api/unstable/fleet/agents
@utdk/datadog /api/unstable/fleet/agents
List all Datadog Agents
Retrieve a paginated list of all Datadog Agents. This endpoint returns a paginated list of all Datadog Agents with support for pagination, sorting, and filtering. Use the `page_number` and `page_size` query parameters to paginate through results.
page_number query
Page number for pagination (starts at 0).
integer
page_size query
Number of results per page (must be greater than 0 and less than or equal to 100).
integer
sort_attribute query
Attribute to sort by.
string
sort_descending query
Sort order (true for descending, false for ascending).
boolean
tags query
Comma-separated list of tags to filter agents.
string
filter query
Filter string for narrowing down agent results.
string

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.

listfleetagents
GET/api/unstable/fleet/agents
Retrieve a paginated list of all Datadog Agents. This endpoint returns a paginated list of all Datadog Agents with support for pagination, sorting, and filtering. Use the `page_number` and `page_size` query parameters to paginate through results.

Page number for pagination (starts at 0).

Number of results per page (must be greater than 0 and less than or equal to 100).

Attribute to sort by.

Sort order (true for descending, false for ascending).

Comma-separated list of tags to filter agents.

Filter string for narrowing down agent results.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.listfleetagents({
  "page_number": 0,
  "page_size": 10
})