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

The Files API from Datadog — 2 operation(s) for files.

Datadog Files 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 File. 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 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}.

4 operations 2 paths 15 schemas 1 DELETE2 GET1 PUT

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 Files 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 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Files 4
GET
/api/v2/cost/custom_costs
Datadog List Custom Costs Files
ListCustomCostsFiles → 200403429
PUT
/api/v2/cost/custom_costs
Datadog Upload Custom Costs File
UploadCustomCostsFile body → 202403429
DELETE
/api/v2/cost/custom_costs/{file_id}
Datadog Delete Custom Costs File
DeleteCustomCostsFile 1 param → 204403429
GET
/api/v2/cost/custom_costs/{file_id}
Datadog Get Custom Costs File
GetCustomCostsFile 1 param → 200403429

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are CustomCostsFileMetadataWithContent (9 properties), CustomCostsFileMetadata (8 properties), CustomCostsFileLineItem (7 properties), CustomCostsFileMetadataWithContentHighLevel (3 properties). Each schema is shown below with its type and property counts.

CustomCostsFileListResponse
object
Response for List Custom Costs files.
2 properties
CustomCostsFileMetadata
object
Schema of a Custom Costs metadata.
8 properties
CustomCostsFileMetadataWithContentHighLevel
object
JSON API format of for a Custom Costs file with content.
3 properties
APIErrorResponse
object
API error response.
1 property 1 required
CustomCostsFileMetadataWithContent
object
Schema of a cost file's metadata.
9 properties
CustomCostGetResponseMeta
object
Meta for the response from the Get Custom Costs endpoints.
1 property
CustomCostsFileUploadRequest
array
Request for uploading a Custom Costs file.
CustomCostsFileUsageChargePeriod
object
Usage charge period of a Custom Costs file.
2 properties
CustomCostUploadResponseMeta
object
Meta for the response from the Upload Custom Costs endpoints.
1 property
CustomCostsFileGetResponse
object
Response for Get Custom Costs files.
2 properties
CustomCostsFileUploadResponse
object
Response for Uploaded Custom Costs files.
2 properties
CustomCostsFileLineItem
object
Line item details from a Custom Costs file.
7 properties
CustomCostsFileMetadataHighLevel
object
JSON API format for a Custom Costs file.
3 properties
CustomCostListResponseMeta
object
Meta for the response from the List Custom Costs endpoints.
2 properties
CustomCostsUser
object
Metadata of the user that has uploaded the Custom Costs file.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-files-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 Files 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.