How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Datadog Keys API

The Keys API from Datadog — 8 operation(s) for keys.

Datadog Keys API is one of 290 APIs that Datadog publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Keys. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, and 4 JSON Schemas.

This API exposes 19 operations across 8 paths, and defines 63 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

Requests are made against 3 base URLs: https://{subdomain}.{site}, {protocol}://{name}, https://{subdomain}.{site}.

19 operations 8 paths 63 schemas 4 DELETE8 GET4 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0
Base URL
https://api.datadoghq.com
Authentication
OAuth 2.0, API Key, API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 4

Datadog Keys API declares 4 security schemes for authenticating requests. It supports OAuth 2.0 (AuthZ) using the authorizationCode flow, exposing 68 scopes. An API key is passed in the header as DD-API-KEY (apiKeyAuth). An API key is passed in the header as DD-APPLICATION-KEY (appKeyAuth). It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • AuthZ — This API uses OAuth 2 with the implicit grant flow.
  • apiKeyAuth — Your Datadog API Key.
  • appKeyAuth — Your Datadog APP Key.

Paths & Operations 19

Across 8 paths, the API surfaces 19 operations — 4 DELETE, 8 GET, 4 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Keys 19
GET
/api/v2/api_keys
Datadog Get All Api Keys
ListAPIKeys 11 params → 200400403429
POST
/api/v2/api_keys
Datadog Create an Api Key
CreateAPIKey body → 201400403429
DELETE
/api/v2/api_keys/{api_key_id}
Datadog Delete an Api Key
DeleteAPIKey 1 param → 204403404429
GET
/api/v2/api_keys/{api_key_id}
Datadog Get Api Key
GetAPIKey 2 params → 200403404429
PATCH
/api/v2/api_keys/{api_key_id}
Datadog Edit an Api Key
UpdateAPIKey 1 param body → 200400403404429
GET
/api/v2/application_keys
Datadog Get All Application Keys
ListApplicationKeys 7 params → 200400403404429
DELETE
/api/v2/application_keys/{app_key_id}
Datadog Delete an Application Key
DeleteApplicationKey 1 param → 204403404429
GET
/api/v2/application_keys/{app_key_id}
Datadog Get an Application Key
GetApplicationKey 2 params → 200400403404429
PATCH
/api/v2/application_keys/{app_key_id}
Datadog Edit an Application Key
UpdateApplicationKey 1 param body → 200400403404429
GET
/api/v2/current_user/application_keys
Datadog Get All Application Keys Owned by Current User
ListCurrentUserApplicationKeys 7 params → 200400403404429
POST
/api/v2/current_user/application_keys
Datadog Create an Application Key for Current User
CreateCurrentUserApplicationKey body → 201400403429
DELETE
/api/v2/current_user/application_keys/{app_key_id}
Datadog Delete an Application Key Owned by Current User
DeleteCurrentUserApplicationKey 1 param → 204403404429
GET
/api/v2/current_user/application_keys/{app_key_id}
Datadog Get One Application Key Owned by Current User
GetCurrentUserApplicationKey 1 param → 200403404429
PATCH
/api/v2/current_user/application_keys/{app_key_id}
Datadog Edit an Application Key Owned by Current User
UpdateCurrentUserApplicationKey 1 param body → 200400403404429
GET
/api/v2/service_accounts/{service_account_id}/application_keys
Datadog List Application Keys for This Service Account
ListServiceAccountApplicationKeys 7 params → 200400403404429
POST
/api/v2/service_accounts/{service_account_id}/application_keys
Datadog Create an Application Key for This Service Account
CreateServiceAccountApplicationKey 1 param body → 201400403429
DELETE
/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}
Datadog Delete an Application Key for This Service Account
DeleteServiceAccountApplicationKey 2 params → 204403404429
GET
/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}
Datadog Get One Application Key for This Service Account
GetServiceAccountApplicationKey 2 params → 200403404429
PATCH
/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}
Datadog Edit an Application Key for This Service Account
UpdateServiceAccountApplicationKey 2 params body → 200400403404429

Schemas 63

The contract defines 63 schemas that model the data the API accepts and returns. The most detailed are UserAttributes (12 properties), FullAPIKeyAttributes (7 properties), PartialAPIKeyAttributes (6 properties), FullApplicationKeyAttributes (5 properties). Each schema is shown below with its type and property counts.

UsersType
string
Users resource type.
PartialAPIKey
object
Partial Datadog API key.
4 properties
APIKeyRelationships
object
Resources related to the API key.
2 properties
LeakedKeyAttributes
object
The definition of LeakedKeyAttributes object.
2 properties 1 required
APIKeyResponse
object
Response for retrieving an API key.
2 properties
UserAttributes
object
Attributes of user object returned by the API.
12 properties
APIKeyCreateRequest
object
Request used to create an API key.
1 property 1 required
FullAPIKey
object
Datadog API key.
4 properties
PartialApplicationKeyResponse
object
Response for retrieving a partial application key.
2 properties
APIKeyResponseIncludedItem
An object related to an API key.
ListApplicationKeysResponse
object
Response for a list of application keys.
3 properties
RoleAttributes
object
Attributes of the role.
4 properties
APIKeyUpdateAttributes
object
Attributes used to update an API Key.
3 properties 1 required
FullApplicationKey
object
Datadog application key.
4 properties
APIKeysSort
string
Sorting options
ApplicationKeyUpdateAttributes
object
Attributes used to update an application Key.
2 properties
User
object
User object returned by the API.
4 properties
RelationshipToUser
object
Relationship to user.
1 property 1 required
APIKeysType
string
API Keys resource type.
RelationshipToOrganization
object
Relationship to an organization.
1 property 1 required
RelationshipToPermissionData
object
Relationship to permission object.
2 properties
ApplicationKeyResponseIncludedItem
An object related to an application key.
RelationshipToUserData
object
Relationship to user object.
2 properties 2 required
ApplicationKeyResponse
object
Response for retrieving an application key.
2 properties
ApplicationKeyCreateData
object
Object used to create an application key.
2 properties 2 required
FullApplicationKeyAttributes
object
Attributes of a full application key.
5 properties
OrganizationsType
string
Organizations resource type.
ApplicationKeyRelationships
object
Resources related to the application key.
1 property
LeakedKey
object
The definition of LeakedKey object.
3 properties 3 required
ApplicationKeysType
string
Application Keys resource type.
ApplicationKeyCreateAttributes
object
Attributes used to create an application Key.
2 properties 1 required
FullAPIKeyAttributes
object
Attributes of a full API key.
7 properties
APIErrorResponse
object
API error response.
1 property 1 required
UserResponseRelationships
object
Relationships of the user object returned by the API.
4 properties
ApplicationKeyCreateRequest
object
Request used to create an application key.
1 property 1 required
ApplicationKeyUpdateRequest
object
Request used to update an application key.
1 property 1 required
RoleResponseRelationships
object
Relationships of the role object returned by the API.
1 property
ApplicationKeyResponseMeta
object
Additional information related to the application key response.
2 properties
RelationshipToRoleData
object
Relationship to role object.
2 properties
APIKeyCreateData
object
Object used to create an API key.
2 properties 2 required
ApplicationKeyUpdateData
object
Object used to update an application key.
3 properties 3 required
RelationshipToOrganizationData
object
Relationship to organization object.
2 properties 2 required
PartialApplicationKeyAttributes
object
Attributes of a partial application key.
4 properties
Role
object
Role object returned by the API.
4 properties 1 required
RelationshipToUsers
object
Relationship to users.
1 property 1 required
APIKeyUpdateData
object
Object used to update an API key.
3 properties 3 required
APIKeysResponseMetaPage
object
Additional information related to the API keys response.
1 property
NullableRelationshipToUserData
object
Relationship to user object.
2 properties 2 required
PermissionsType
string
Permissions resource type.
ApplicationKeyResponseMetaPage
object
Additional information related to the application key response.
1 property
PartialApplicationKey
object
Partial Datadog application key.
4 properties
APIKeyCreateAttributes
object
Attributes used to create an API Key.
3 properties 1 required
APIKeysResponse
object
Response for a list of API keys.
3 properties
ApplicationKeysSort
string
Sorting options
RelationshipToRoles
object
Relationship to roles.
1 property
LeakedKeyType
string
The definition of LeakedKeyType object.
RelationshipToOrganizations
object
Relationship to organizations.
1 property 1 required
NullableRelationshipToUser
object
Relationship to user.
1 property 1 required
PartialAPIKeyAttributes
object
Attributes of a partial API key.
6 properties
APIKeyUpdateRequest
object
Request used to update an API key.
1 property 1 required
RolesType
string
Roles type.
APIKeysResponseMeta
object
Additional information related to api keys response.
2 properties
RelationshipToPermissions
object
Relationship to multiple permissions objects.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-keys-api-openapi.yml Raw ↑

Other APIs Datadog publishes across the network.

Datadog Dashboards API
Datadog Synthetics API
Datadog Service Level Objectives API
Datadog Security Monitoring API
Datadog Service Definition API
Datadog Software Catalog API
Datadog Users API
Datadog Roles API
Datadog Key Management API
Datadog Organizations API
Datadog Downtimes API
Datadog RUM API
Where this information came from

This is an independent, third-party profile of Datadog Keys API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.