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 Audit API

Search your Audit Logs events over HTTP.

Datadog Audit 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 Audit. 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 2 operations across 2 paths, and defines 15 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}.

2 operations 2 paths 15 schemas 1 GET1 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 Audit 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 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Audit 2

Search your Audit Logs events over HTTP.

GET
/api/v2/audit/events
Datadog Get a List of Audit Logs Events
ListAuditLogs 6 params → 200400403429
POST
/api/v2/audit/events/search
Datadog Search Audit Logs Events
SearchAuditLogs body → 200400403429

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are AuditLogsResponseMetadata (5 properties), AuditLogsEventAttributes (5 properties), AuditLogsSearchEventsRequest (4 properties), AuditLogsQueryFilter (3 properties). Each schema is shown below with its type and property counts.

AuditLogsResponseLinks
object
Links attributes.
1 property
AuditLogsQueryOptions
object
Global query options that are used during the query. Note: Specify either timezone or time offset, not both. Otherwise, the query fails.
2 properties
AuditLogsResponseStatus
string
The status of the response.
AuditLogsQueryFilter
object
Search and filter query settings.
3 properties
AuditLogsResponsePage
object
Paging attributes.
1 property
APIErrorResponse
object
API error response.
1 property 1 required
AuditLogsEventType
string
Type of the event.
AuditLogsQueryPageOptions
object
Paging attributes for listing events.
2 properties
AuditLogsEvent
object
Object description of an Audit Logs event after it is processed and stored by Datadog.
3 properties
AuditLogsSearchEventsRequest
object
The request for a Audit Logs events list.
4 properties
AuditLogsEventsResponse
object
Response object with all events matching the request and pagination information.
3 properties
AuditLogsWarning
object
Warning message indicating something that went wrong with the query.
3 properties
AuditLogsEventAttributes
object
JSON object containing all event attributes and their associated values.
5 properties
AuditLogsSort
string
Sort parameters when querying events.
AuditLogsResponseMetadata
object
The metadata associated with a request.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-audit-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 Audit 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.