provider Key Management GET /api/v2/api_keys
@utdk/datadog /api/v2/api_keys
Get all API keys
List all API keys available for your account.
page[size] query
Size for a given page. The maximum allowed value is 100.
integer
page[number] query
Specific page number to return.
integer
sort query
API key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
enum: created_at, -created_at, last4, -last4…
filter query
Filter API keys by the specified string.
string
filter[created_at][start] query
Only include API keys created on or after the specified date.
string
filter[created_at][end] query
Only include API keys created on or before the specified date.
string
filter[modified_at][start] query
Only include API keys modified on or after the specified date.
string
filter[modified_at][end] query
Only include API keys modified on or before the specified date.
string
include query
Comma separated list of resource paths for related resources to include in the response. Supported resource paths are `created_by` and `modified_by`.
string
filter[remote_config_read_enabled] query
Filter API keys by remote config read enabled status.
boolean
filter[category] query
Filter API keys by category.
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.

listapikeys
GET/api/v2/api_keys
List all API keys available for your account.

Size for a given page. The maximum allowed value is 100.

Specific page number to return.

API key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.

Filter API keys by the specified string.

Only include API keys created on or after the specified date.

Only include API keys created on or before the specified date.

Only include API keys modified on or after the specified date.

Only include API keys modified on or before the specified date.

Comma separated list of resource paths for related resources to include in the response. Supported resource paths are `created_by` and `modified_by`.

Filter API keys by remote config read enabled status.

Filter API keys by category.

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.listapikeys({
  "page[size]": 10,
  "page[number]": 0,
  "sort": "name"
})