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

The Search API from Datadog — 10 operation(s) for search.

Datadog Search API is one of 186 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 Search. 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 81 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

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

2 operations 2 paths 81 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.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 Search 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.

Search 2
GET
/api/v2/incidents/search
Datadog Search for Incidents
SearchIncidents 5 params → 200400401403404429
POST
/api/v2/spans/events/search
Datadog Search Spans
ListSpans body → 200400403422429

Schemas 81

The contract defines 81 schemas that model the data the API accepts and returns. The most detailed are IncidentResponseAttributes (24 properties), SpansAttributes (17 properties), IncidentSearchResponseFacetsData (11 properties), IncidentResponseRelationships (8 properties). Each schema is shown below with its type and property counts.

APIErrorResponse
object
API error response.
1 property 1 required
IncidentSearchResponseAttributes
object
Attributes returned by an incident search.
3 properties 3 required
IncidentRelatedObject
string
Object related to an incident.
IncidentSearchResponseNumericFacetData
object
Facet data numeric attributes of an incident.
2 properties 2 required
RelationshipToUser
object
Relationship to user.
1 property 1 required
SpansSort
string
Sort parameters when querying spans.
SpansAttributes
object
JSON object containing all span attributes and their associated values.
17 properties
SpansResponseMetadataPage
object
Paging attributes.
1 property
IncidentSearchResponseNumericFacetDataAggregates
object
Aggregate information for numeric incident data.
2 properties
IncidentResponseAttributes
object
The incident's attributes from a response.
24 properties 1 required
RelationshipToIncidentResponders
object
Relationship to incident responders.
1 property 1 required
IncidentAttachmentLinkAttachmentType
string
The type of link attachment attributes.
RelationshipToIncidentResponderData
object
Relationship to impact object.
2 properties 2 required
RelationshipToUserData
object
Relationship to user object.
2 properties 2 required
RelationshipToIncidentUserDefinedFieldData
object
Relationship to impact object.
2 properties 2 required
IncidentSearchResponseFacetsData
object
Facet data for incidents returned by a search query.
11 properties
IncidentSearchResultsType
string
Incident search result type.
IncidentAttachmentRelationships
object
The incident attachment's relationships.
1 property
IncidentSearchResponseFieldFacetData
object
Facet value and number of occurrences for a property field of an incident.
2 properties
IncidentFieldAttributesSingleValueType
string
Type of the single value field definitions.
Span
object
Object description of a spans after being processed and stored by Datadog.
3 properties
SpansQueryOptions
object
Global query options that are used during the query. Note: You should only supply timezone or time offset but not both otherwise the query will fail.
2 properties
SpansListRequestPage
object
Paging attributes for listing spans.
2 properties
SpansWarning
object
A warning message indicating something that went wrong with the query.
3 properties
RelationshipToIncidentImpactData
object
Relationship to impact object.
2 properties 2 required
IncidentAttachmentPostmortemAttributes
object
The attributes object for a postmortem attachment.
2 properties 2 required
IncidentSearchResponseData
object
Data returned by an incident search.
2 properties
IncidentSearchResponseIncidentsData
object
Incident returned by the search.
1 property 1 required
IncidentUserDefinedFieldType
string
The incident user defined fields type.
IncidentAttachmentType
string
The incident attachment resource type.
IncidentResponseMetaPagination
object
Pagination properties.
3 properties
IncidentFieldAttributes
Dynamic fields for which selections can be made, with field names as keys.
IncidentAttachmentsPostmortemAttributesAttachmentObject
object
The postmortem attachment.
2 properties 2 required
IncidentAttachmentAttributes
The attributes object for an attachment.
SpansListResponseLinks
object
Links attributes.
1 property
JSONAPIErrorItemSource
object
References to the source of the error.
3 properties
IncidentUserAttributes
object
Attributes of user object returned by the API.
5 properties
IncidentSearchResponseUserFacetData
object
Facet data for user attributes of an incident.
5 properties
SpansAggregateResponseStatus
string
The status of the response.
JSONAPIErrorItem
object
API error response body
5 properties
IncidentNotificationHandle
object
A notification handle that will be notified at incident creation.
2 properties
SpansQueryFilter
object
The search and filter query settings.
3 properties
IncidentResponseRelationships
object
The incident's relationships from a response.
8 properties
IncidentSearchResponseFacetCount
integer
Count of the facet value appearing in search results.
RelationshipToIncidentUserDefinedFields
object
Relationship to incident user defined fields.
1 property 1 required
IncidentAttachmentLinkAttributes
object
The attributes object for a link attachment.
3 properties 2 required
RelationshipToIncidentIntegrationMetadatas
object
A relationship reference for multiple integration metadata objects.
1 property 1 required
IncidentSearchResponseMeta
object
The metadata object containing pagination metadata.
1 property
SpansListRequestData
object
The object containing the query content.
2 properties
SpansListRequestAttributes
object
The object containing all the query parameters.
4 properties
IncidentSearchResponse
object
Response with incidents and facets.
3 properties 1 required
NullableRelationshipToUser
objectnull
Relationship to user.
1 property 1 required
SpansListRequestType
string
The type of resource. The value should always be searchrequest.
IncidentSearchSortOrder
string
The ways searched incidents can be sorted.
IncidentResponseData
object
Incident data from a response.
4 properties 2 required
IncidentImpactsType
string
The incident impacts type.
RelationshipToIncidentImpacts
object
Relationship to impacts.
1 property 1 required
SpansListRequest
object
The request for a spans list.
1 property
SpansListResponseMetadata
object
The metadata associated with a request.
5 properties
IncidentFieldAttributesValueType
string
Type of the multiple value field definitions.
IncidentResponseIncludedItem
An object related to an incident that is included in the response.
JSONAPIErrorResponse
object
API error response.
1 property 1 required
UsersType
string
Users resource type.
NullableRelationshipToUserData
objectnull
Relationship to user object.
2 properties 2 required
RelationshipToIncidentIntegrationMetadataData
object
A relationship reference for an integration metadata object.
2 properties 2 required
IncidentFieldAttributesMultipleValue
object
A field with potentially multiple values selected.
2 properties
SpansType
string
Type of the span.
RelationshipToIncidentAttachment
object
A relationship reference for attachments.
1 property 1 required
IncidentNonDatadogCreator
objectnull
Incident's non Datadog creator.
2 properties
IncidentSeverity
string
The incident severity.
IncidentFieldAttributesSingleValue
object
A field with a single value selected.
2 properties
IncidentIntegrationMetadataType
string
Integration metadata resource type.
IncidentAttachmentData
object
A single incident attachment.
4 properties 4 required
IncidentAttachmentLinkAttributesAttachmentObject
object
The link attachment.
2 properties 2 required
IncidentType
string
Incident resource type.
IncidentRespondersType
string
The incident responders type.
IncidentAttachmentPostmortemAttachmentType
string
The type of postmortem attachment attributes.
IncidentUserData
object
User object returned by the API.
3 properties
IncidentSearchResponsePropertyFieldFacetData
object
Facet data for the incident property fields.
3 properties 2 required
SpansListResponse
object
Response object with all spans matching the request and pagination information.
3 properties
RelationshipToIncidentAttachmentData
object
The attachment relationship data.
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-search-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 Search 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.