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

The Post API from Datadog — 4 operation(s) for post.

Datadog Post 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.

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 4 operations across 4 paths, and defines 52 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}.

4 operations 4 paths 52 schemas 4 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 Post 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 4

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

Post 4
POST
/api/v2/agentless_scanning/accounts/aws
Datadog Post Aws Scan Options
CreateAwsScanOptions body → 201400403409429
POST
/api/v2/agentless_scanning/ondemand/aws
Datadog Post an Aws on Demand Task
CreateAwsOnDemandTask body → 201400403429
POST
/api/v2/events
Datadog Post an Event
CreateEvent body → 200400403429
POST
/api/v2/logs/events/search
Datadog Search Logs (post)
ListLogs body → 200400403429

Schemas 52

The contract defines 52 schemas that model the data the API accepts and returns. The most detailed are EventPayload (7 properties), LogAttributes (7 properties), ChangeEventCustomAttributes (6 properties), LogsQueryFilter (5 properties). Each schema is shown below with its type and property counts.

AwsScanOptionsType
string
The type of the resource. The value should always be awsscanoptions.
LogsAggregateResponseStatus
string
The status of the response
ChangeEventCustomAttributesImpactedResourcesItemsType
string
Resource's type.
EventCreateResponseAttributes
object
JSON object containing all events attributes and their associated values.
1 property
AwsScanOptionsCreateRequest
object
Request object that includes the scan options to create.
1 property 1 required
LogsResponseMetadata
object
The metadata associated with a request
5 properties
ChangeEventCustomAttributesImpactedResourcesItems
object
Object representing a uniquely identified resource. Only the resource type service is supported.
2 properties 2 required
AwsScanOptionsAttributes
object
Attributes for the AWS scan options.
4 properties
ChangeEventCustomAttributes
object
Object representing custom change event attributes.
6 properties 1 required
AwsScanOptionsCreateData
object
Object for the scan options of a single AWS account.
3 properties 3 required
JSONAPIErrorItem
object
API error response body
5 properties
AwsOnDemandData
object
Single AWS on demand task.
3 properties
AwsOnDemandAttributes
object
Attributes for the AWS on demand task.
4 properties
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 property 1 required
EventCreateResponsePayload
object
Response containing information about created event.
1 property
LogsResponseMetadataPage
object
Paging attributes.
1 property
AwsOnDemandResponse
object
Response object that includes an AWS on demand task.
1 property
LogType
string
Type of the event.
AwsOnDemandCreateData
object
Object for a single AWS on demand task.
2 properties 2 required
EventPayloadAttributes
JSON object for custom attributes. Schema are different per each event category.
LogsListResponse
object
Response object with all logs matching the request and pagination information.
3 properties
JSONAPIErrorItemSource
object
References to the source of the error.
3 properties
LogsSort
string
Sort parameters when querying logs.
EventCreateResponseAttributesAttributes
object
JSON object of attributes from your events.
1 property
JSONAPIErrorResponse
object
API error response.
1 property 1 required
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
AwsScanOptionsCreateAttributes
object
Attributes for the AWS scan options to create.
4 properties 4 required
AwsScanOptionsResponse
object
Response object that includes the scan options of an AWS account.
1 property
AwsOnDemandCreateRequest
object
Request object that includes the on demand task to submit.
1 property 1 required
EventCreateRequestType
string
Entity type.
ChangeEventCustomAttributesAuthorType
string
Author's type.
EventCreateRequest
object
Object representing an event creation request.
2 properties
ChangeEventCustomAttributesAuthor
object
Object representing the entity which made the change. Optional field but if provided should include type and name.
2 properties 2 required
LogsListRequest
object
The request for a logs list.
4 properties
AwsScanOptionsData
object
Single AWS Scan Options entry.
3 properties
LogsListResponseLinks
object
Links attributes.
1 property
EventCreateRequestPayload
object
Payload for creating an event.
1 property
AwsAccountId
string
The ID of the AWS account.
EventPayload
object
Event attributes.
7 properties 3 required
AwsOnDemandCreateAttributes
object
Attributes for the AWS on demand task.
1 property 1 required
LogsListRequestPage
object
Paging attributes for listing logs.
2 properties
AwsOnDemandType
string
The type of the on demand task. The value should always be awsresource.
EventCreateResponseAttributesAttributesEvt
object
JSON object of event system attributes.
1 property
ChangeEventCustomAttributesChangedResourceType
string
Resource's type.
EventCategory
string
Event category to identify the type of event. Only the value change is supported. Support for other categories are coming. please reach out to datadog support…
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
ChangeEventCustomAttributesChangedResource
object
Object representing a uniquely identified resource.
2 properties 2 required
EventCreateResponse
object
Object containing an event response.
2 properties
LogsQueryFilter
object
The search and filter query settings
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-post-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 Post 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.