Skip to content

Commit f2f9bad

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e2d0812 of spec repo
1 parent 8175340 commit f2f9bad

18 files changed

Lines changed: 1126 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 332 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19545,6 +19545,25 @@ components:
1954519545
- tag_key
1954619546
- updated_at
1954719547
type: object
19548+
CostTagDescriptionResponse:
19549+
description: Single Cloud Cost Management tag key description returned by the get-by-key endpoint.
19550+
example:
19551+
data:
19552+
attributes:
19553+
cloud: aws
19554+
created_at: "2026-01-01T12:00:00Z"
19555+
description: AWS account that owns this cost.
19556+
source: human
19557+
tag_key: account_id
19558+
updated_at: "2026-01-01T12:00:00Z"
19559+
id: account_id
19560+
type: cost_tag_description
19561+
properties:
19562+
data:
19563+
$ref: "#/components/schemas/CostTagDescription"
19564+
required:
19565+
- data
19566+
type: object
1954819567
CostTagDescriptionSource:
1954919568
description: Origin of the description. `human` indicates the description was written by a user, `ai_generated` was produced by AI, and `datadog` is a default supplied by Datadog.
1955019569
enum:
@@ -19566,6 +19585,50 @@ components:
1956619585
type: string
1956719586
x-enum-varnames:
1956819587
- COST_TAG_DESCRIPTION
19588+
CostTagDescriptionUpsertRequest:
19589+
description: Request body for creating or updating a Cloud Cost Management tag key description.
19590+
example:
19591+
data:
19592+
attributes:
19593+
cloud: aws
19594+
description: AWS account that owns this cost.
19595+
id: account_id
19596+
type: cost_tag_description
19597+
properties:
19598+
data:
19599+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequestData"
19600+
required:
19601+
- data
19602+
type: object
19603+
CostTagDescriptionUpsertRequestData:
19604+
description: Resource envelope carrying the tag key description being upserted. The `id` is informational; the authoritative tag key is taken from the URL path.
19605+
properties:
19606+
attributes:
19607+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequestDataAttributes"
19608+
id:
19609+
description: Identifier of the tag key the description applies to. Matches the `tag_key` path parameter.
19610+
example: account_id
19611+
type: string
19612+
type:
19613+
$ref: "#/components/schemas/CostTagDescriptionType"
19614+
required:
19615+
- attributes
19616+
- type
19617+
type: object
19618+
CostTagDescriptionUpsertRequestDataAttributes:
19619+
description: Mutable attributes set when creating or updating a Cloud Cost Management tag key description.
19620+
properties:
19621+
cloud:
19622+
description: Cloud provider this description applies to (for example, `aws`). Omit to set the cross-cloud default for the tag key.
19623+
example: aws
19624+
type: string
19625+
description:
19626+
description: The human-readable description for the tag key.
19627+
example: AWS account that owns this cost.
19628+
type: string
19629+
required:
19630+
- description
19631+
type: object
1956919632
CostTagDescriptionsResponse:
1957019633
description: List of Cloud Cost Management tag key descriptions for the organization, optionally filtered to a single cloud provider.
1957119634
example:
@@ -35548,6 +35611,55 @@ components:
3554835611
required:
3554935612
- type
3555035613
type: object
35614+
GenerateCostTagDescriptionResponse:
35615+
description: Response wrapping an AI-generated Cloud Cost Management tag key description.
35616+
example:
35617+
data:
35618+
attributes:
35619+
description: AWS account that owns this cost.
35620+
id: account_id
35621+
type: cost_generated_tag_description
35622+
properties:
35623+
data:
35624+
$ref: "#/components/schemas/GeneratedCostTagDescription"
35625+
required:
35626+
- data
35627+
type: object
35628+
GeneratedCostTagDescription:
35629+
description: AI-generated Cloud Cost Management tag key description returned by the generate endpoint. The result is returned to the client but is not persisted by this endpoint.
35630+
properties:
35631+
attributes:
35632+
$ref: "#/components/schemas/GeneratedCostTagDescriptionAttributes"
35633+
id:
35634+
description: The tag key the AI description was generated for.
35635+
example: account_id
35636+
type: string
35637+
type:
35638+
$ref: "#/components/schemas/GeneratedCostTagDescriptionType"
35639+
required:
35640+
- attributes
35641+
- id
35642+
- type
35643+
type: object
35644+
GeneratedCostTagDescriptionAttributes:
35645+
description: Attributes of an AI-generated Cloud Cost Management tag key description.
35646+
properties:
35647+
description:
35648+
description: The AI-generated description for the tag key.
35649+
example: AWS account that owns this cost.
35650+
type: string
35651+
required:
35652+
- description
35653+
type: object
35654+
GeneratedCostTagDescriptionType:
35655+
default: cost_generated_tag_description
35656+
description: Type of the AI-generated Cloud Cost Management tag description resource.
35657+
enum:
35658+
- cost_generated_tag_description
35659+
example: cost_generated_tag_description
35660+
type: string
35661+
x-enum-varnames:
35662+
- COST_GENERATED_TAG_DESCRIPTION
3555135663
GetActionConnectionResponse:
3555235664
description: The response for found connection
3555335665
properties:
@@ -110788,6 +110900,226 @@ paths:
110788110900
operator: OR
110789110901
permissions:
110790110902
- cloud_cost_management_read
110903+
/api/v2/cost/tag_descriptions/{tag_key}:
110904+
delete:
110905+
description: Delete a Cloud Cost Management tag key description. When `cloud` is omitted, deletes every description for the tag key, falling back to Datadog's global default when available. When `cloud` is provided, deletes only the description scoped to that cloud provider.
110906+
operationId: DeleteCostTagDescriptionByKey
110907+
parameters:
110908+
- description: The tag key whose description is being deleted.
110909+
in: path
110910+
name: tag_key
110911+
required: true
110912+
schema:
110913+
type: string
110914+
- description: Cloud provider to scope the deletion to (for example, `aws`). Omit to delete every description for the tag key.
110915+
in: query
110916+
name: cloud
110917+
required: false
110918+
schema:
110919+
type: string
110920+
responses:
110921+
"204":
110922+
description: No Content
110923+
"400":
110924+
content:
110925+
application/json:
110926+
schema:
110927+
$ref: "#/components/schemas/APIErrorResponse"
110928+
description: Bad Request
110929+
"403":
110930+
content:
110931+
application/json:
110932+
schema:
110933+
$ref: "#/components/schemas/APIErrorResponse"
110934+
description: Forbidden
110935+
"429":
110936+
$ref: "#/components/responses/TooManyRequestsResponse"
110937+
security:
110938+
- apiKeyAuth: []
110939+
appKeyAuth: []
110940+
- AuthZ:
110941+
- cloud_cost_management_write
110942+
summary: Delete a Cloud Cost Management tag description
110943+
tags:
110944+
- Cloud Cost Management
110945+
"x-permission":
110946+
operator: OR
110947+
permissions:
110948+
- cloud_cost_management_write
110949+
get:
110950+
description: Get the Cloud Cost Management description for a single tag key. Use `filter[cloud]` to scope the lookup to a specific cloud provider; when omitted, the response resolves the description in fallback order (cloud-specific organization override, then cloudless organization default, then Datadog's global default).
110951+
operationId: GetCostTagDescriptionByKey
110952+
parameters:
110953+
- description: The tag key whose description is being fetched.
110954+
in: path
110955+
name: tag_key
110956+
required: true
110957+
schema:
110958+
type: string
110959+
- description: Cloud provider to scope the lookup to (for example, `aws`). Omit to use the resolved fallback.
110960+
in: query
110961+
name: filter[cloud]
110962+
required: false
110963+
schema:
110964+
type: string
110965+
responses:
110966+
"200":
110967+
content:
110968+
application/json:
110969+
examples:
110970+
default:
110971+
value:
110972+
data:
110973+
attributes:
110974+
cloud: aws
110975+
created_at: "2026-01-01T12:00:00Z"
110976+
description: AWS account that owns this cost.
110977+
source: human
110978+
tag_key: account_id
110979+
updated_at: "2026-01-01T12:00:00Z"
110980+
id: account_id
110981+
type: cost_tag_description
110982+
schema:
110983+
$ref: "#/components/schemas/CostTagDescriptionResponse"
110984+
description: OK
110985+
"400":
110986+
content:
110987+
application/json:
110988+
schema:
110989+
$ref: "#/components/schemas/APIErrorResponse"
110990+
description: Bad Request
110991+
"403":
110992+
content:
110993+
application/json:
110994+
schema:
110995+
$ref: "#/components/schemas/APIErrorResponse"
110996+
description: Forbidden
110997+
"404":
110998+
content:
110999+
application/json:
111000+
schema:
111001+
$ref: "#/components/schemas/APIErrorResponse"
111002+
description: Not Found
111003+
"429":
111004+
$ref: "#/components/responses/TooManyRequestsResponse"
111005+
security:
111006+
- apiKeyAuth: []
111007+
appKeyAuth: []
111008+
- AuthZ:
111009+
- cloud_cost_management_read
111010+
summary: Get a Cloud Cost Management tag description
111011+
tags:
111012+
- Cloud Cost Management
111013+
"x-permission":
111014+
operator: OR
111015+
permissions:
111016+
- cloud_cost_management_read
111017+
put:
111018+
description: Create or update a Cloud Cost Management tag key description. The new description and optional cloud scoping are supplied in the request body. Omit `cloud` to set a cross-cloud default for the tag key.
111019+
operationId: UpsertCostTagDescriptionByKey
111020+
parameters:
111021+
- description: The tag key whose description is being upserted.
111022+
in: path
111023+
name: tag_key
111024+
required: true
111025+
schema:
111026+
type: string
111027+
requestBody:
111028+
content:
111029+
application/json:
111030+
examples:
111031+
default:
111032+
value:
111033+
data:
111034+
attributes:
111035+
cloud: aws
111036+
description: AWS account that owns this cost.
111037+
id: account_id
111038+
type: cost_tag_description
111039+
schema:
111040+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequest"
111041+
required: true
111042+
responses:
111043+
"204":
111044+
description: No Content
111045+
"400":
111046+
content:
111047+
application/json:
111048+
schema:
111049+
$ref: "#/components/schemas/APIErrorResponse"
111050+
description: Bad Request
111051+
"403":
111052+
content:
111053+
application/json:
111054+
schema:
111055+
$ref: "#/components/schemas/APIErrorResponse"
111056+
description: Forbidden
111057+
"429":
111058+
$ref: "#/components/responses/TooManyRequestsResponse"
111059+
security:
111060+
- apiKeyAuth: []
111061+
appKeyAuth: []
111062+
- AuthZ:
111063+
- cloud_cost_management_write
111064+
summary: Upsert a Cloud Cost Management tag description
111065+
tags:
111066+
- Cloud Cost Management
111067+
"x-permission":
111068+
operator: OR
111069+
permissions:
111070+
- cloud_cost_management_write
111071+
/api/v2/cost/tag_descriptions/{tag_key}/generate:
111072+
get:
111073+
description: Use AI to draft a Cloud Cost Management tag key description based on associated cost data. The generated description is returned in the response and is not persisted by this endpoint; follow up with `UpsertCostTagDescriptionByKey` to save it.
111074+
operationId: GenerateCostTagDescriptionByKey
111075+
parameters:
111076+
- description: The tag key to generate an AI description for.
111077+
in: path
111078+
name: tag_key
111079+
required: true
111080+
schema:
111081+
type: string
111082+
responses:
111083+
"200":
111084+
content:
111085+
application/json:
111086+
examples:
111087+
default:
111088+
value:
111089+
data:
111090+
attributes:
111091+
description: AWS account that owns this cost.
111092+
id: account_id
111093+
type: cost_generated_tag_description
111094+
schema:
111095+
$ref: "#/components/schemas/GenerateCostTagDescriptionResponse"
111096+
description: OK
111097+
"400":
111098+
content:
111099+
application/json:
111100+
schema:
111101+
$ref: "#/components/schemas/APIErrorResponse"
111102+
description: Bad Request
111103+
"403":
111104+
content:
111105+
application/json:
111106+
schema:
111107+
$ref: "#/components/schemas/APIErrorResponse"
111108+
description: Forbidden
111109+
"429":
111110+
$ref: "#/components/responses/TooManyRequestsResponse"
111111+
security:
111112+
- apiKeyAuth: []
111113+
appKeyAuth: []
111114+
- AuthZ:
111115+
- cloud_cost_management_read
111116+
summary: Generate a Cloud Cost Management tag description
111117+
tags:
111118+
- Cloud Cost Management
111119+
"x-permission":
111120+
operator: OR
111121+
permissions:
111122+
- cloud_cost_management_read
110791111123
/api/v2/cost/tag_keys:
110792111124
get:
110793111125
description: List Cloud Cost Management tag keys.

0 commit comments

Comments
 (0)