Search your logs and send them to your Datadog platform over HTTP. See the [Log Management page](https://docs.datadoghq.com/logs/) for more information.
Datadog Logs 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 Logs. 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
6 operations
across 6 paths,
and defines 39 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}.
6 operations6 paths39 schemas3 GET3 POST
Metadata
The identity and technical contract details declared by the specification.
Datadog Logs 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 6
Across 6 paths, the API surfaces 6 operations — 3 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.
Logs 6
Search your logs and send them to your Datadog platform over HTTP. See the [Log Management page](https://docs.datadoghq.com/logs/) for more information.
GET
/api/v2/audit/events
Datadog Get a List of Audit Logs Events
ListAuditLogs6 params→ 200400403429
POST
/api/v2/audit/events/search
Datadog Search Audit Logs Events
SearchAuditLogsbody→ 200400403429
GET
/api/v2/integration/aws/logs/services
Datadog Get List of Aws Log Ready Services
ListAWSLogsServices→ 200403429
POST
/api/v2/logs
Datadog Send Logs
SubmitLog2 paramsbody→ 202400401403408413429500
GET
/api/v2/logs/events
Datadog Search Logs (get)
ListLogsGet8 params→ 200400403429
POST
/api/v2/logs/events/search
Datadog Search Logs (post)
ListLogsbody→ 200400403429
Schemas 39
The contract defines 39 schemas that model the data the API accepts and returns. The most detailed are LogAttributes (7 properties), LogsQueryFilter (5 properties), AuditLogsResponseMetadata (5 properties), AuditLogsEventAttributes (5 properties). Each schema is shown below with its type and property counts.
AuditLogsResponseLinks
object
Links attributes.
1 property
LogsAggregateResponseStatus
string
The status of the response
AuditLogsResponseStatus
string
The status of the response.
AuditLogsResponsePage
object
Paging attributes.
1 property
LogsResponseMetadata
object
The metadata associated with a request
5 properties
AuditLogsWarning
object
Warning message indicating something that went wrong with the query.
3 properties
HTTPLog
array
Structured log message.
AuditLogsEventAttributes
object
JSON object containing all event attributes and their associated values.
5 properties
AWSLogsServicesResponseData
object
AWS Logs Services response body
3 properties2 required
LogAttributes
object
JSON object containing all log attributes and their associated values.
7 properties
Log
object
Object description of a log after being processed and stored by Datadog.
3 properties
APIErrorResponse
object
API error response.
1 property1 required
AuditLogsQueryFilter
object
Search and filter query settings.
3 properties
LogsResponseMetadataPage
object
Paging attributes.
1 property
LogType
string
Type of the event.
AWSLogsServicesResponseDataType
string
The AWSLogsServicesResponseData type.
AuditLogsQueryPageOptions
object
Paging attributes for listing events.
2 properties
LogsListResponse
object
Response object with all logs matching the request and pagination information.
3 properties
LogsSort
string
Sort parameters when querying logs.
AuditLogsResponseMetadata
object
The metadata associated with a request.
5 properties
LogsWarning
object
A warning message indicating something that went wrong with the query
3 properties
LogsStorageTier
string
Specifies storage type as indexes, online-archives or flex
AuditLogsEventType
string
Type of the event.
HTTPLogError
object
List of errors.
3 properties
LogsListRequest
object
The request for a logs list.
4 properties
LogsQueryFilter
object
The search and filter query settings
5 properties
AWSLogsServicesResponse
object
AWS Logs Services response body
1 property1 required
LogsListResponseLinks
object
Links attributes.
1 property
HTTPLogErrors
object
Invalid query performed.
1 property
LogsListRequestPage
object
Paging attributes for listing logs.
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
ContentEncoding
string
HTTP header used to compress the media-type.
LogsQueryOptions
object
Global query options that are used during the query. Note: These fields are currently deprecated and do not affect the query results.
2 properties
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
AuditLogsSort
string
Sort parameters when querying events.
AWSLogsServicesResponseAttributes
object
AWS Logs Services response body
1 property1 required
HTTPLogItem
object
Logs that are sent over HTTP.
5 properties1 required
Specification
The full machine-readable OpenAPI contract behind this narrative.
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of Datadog Logs 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.