Skip to content

Commit 6a4c564

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit af1c31c of spec repo
1 parent d8fd27c commit 6a4c564

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
@@ -19537,6 +19537,25 @@ components:
1953719537
- tag_key
1953819538
- updated_at
1953919539
type: object
19540+
CostTagDescriptionResponse:
19541+
description: Single Cloud Cost Management tag key description returned by the get-by-key endpoint.
19542+
example:
19543+
data:
19544+
attributes:
19545+
cloud: aws
19546+
created_at: "2026-01-01T12:00:00Z"
19547+
description: AWS account that owns this cost.
19548+
source: human
19549+
tag_key: account_id
19550+
updated_at: "2026-01-01T12:00:00Z"
19551+
id: account_id
19552+
type: cost_tag_description
19553+
properties:
19554+
data:
19555+
$ref: "#/components/schemas/CostTagDescription"
19556+
required:
19557+
- data
19558+
type: object
1954019559
CostTagDescriptionSource:
1954119560
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.
1954219561
enum:
@@ -19558,6 +19577,50 @@ components:
1955819577
type: string
1955919578
x-enum-varnames:
1956019579
- COST_TAG_DESCRIPTION
19580+
CostTagDescriptionUpsertRequest:
19581+
description: Request body for creating or updating a Cloud Cost Management tag key description.
19582+
example:
19583+
data:
19584+
attributes:
19585+
cloud: aws
19586+
description: AWS account that owns this cost.
19587+
id: account_id
19588+
type: cost_tag_description
19589+
properties:
19590+
data:
19591+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequestData"
19592+
required:
19593+
- data
19594+
type: object
19595+
CostTagDescriptionUpsertRequestData:
19596+
description: Resource envelope carrying the tag key description being upserted. The `id` is informational; the authoritative tag key is taken from the URL path.
19597+
properties:
19598+
attributes:
19599+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequestDataAttributes"
19600+
id:
19601+
description: Identifier of the tag key the description applies to. Matches the `tag_key` path parameter.
19602+
example: account_id
19603+
type: string
19604+
type:
19605+
$ref: "#/components/schemas/CostTagDescriptionType"
19606+
required:
19607+
- attributes
19608+
- type
19609+
type: object
19610+
CostTagDescriptionUpsertRequestDataAttributes:
19611+
description: Mutable attributes set when creating or updating a Cloud Cost Management tag key description.
19612+
properties:
19613+
cloud:
19614+
description: Cloud provider this description applies to (for example, `aws`). Omit to set the cross-cloud default for the tag key.
19615+
example: aws
19616+
type: string
19617+
description:
19618+
description: The human-readable description for the tag key.
19619+
example: AWS account that owns this cost.
19620+
type: string
19621+
required:
19622+
- description
19623+
type: object
1956119624
CostTagDescriptionsResponse:
1956219625
description: List of Cloud Cost Management tag key descriptions for the organization, optionally filtered to a single cloud provider.
1956319626
example:
@@ -35540,6 +35603,55 @@ components:
3554035603
required:
3554135604
- type
3554235605
type: object
35606+
GenerateCostTagDescriptionResponse:
35607+
description: Response wrapping an AI-generated Cloud Cost Management tag key description.
35608+
example:
35609+
data:
35610+
attributes:
35611+
description: AWS account that owns this cost.
35612+
id: account_id
35613+
type: cost_generated_tag_description
35614+
properties:
35615+
data:
35616+
$ref: "#/components/schemas/GeneratedCostTagDescription"
35617+
required:
35618+
- data
35619+
type: object
35620+
GeneratedCostTagDescription:
35621+
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.
35622+
properties:
35623+
attributes:
35624+
$ref: "#/components/schemas/GeneratedCostTagDescriptionAttributes"
35625+
id:
35626+
description: The tag key the AI description was generated for.
35627+
example: account_id
35628+
type: string
35629+
type:
35630+
$ref: "#/components/schemas/GeneratedCostTagDescriptionType"
35631+
required:
35632+
- attributes
35633+
- id
35634+
- type
35635+
type: object
35636+
GeneratedCostTagDescriptionAttributes:
35637+
description: Attributes of an AI-generated Cloud Cost Management tag key description.
35638+
properties:
35639+
description:
35640+
description: The AI-generated description for the tag key.
35641+
example: AWS account that owns this cost.
35642+
type: string
35643+
required:
35644+
- description
35645+
type: object
35646+
GeneratedCostTagDescriptionType:
35647+
default: cost_generated_tag_description
35648+
description: Type of the AI-generated Cloud Cost Management tag description resource.
35649+
enum:
35650+
- cost_generated_tag_description
35651+
example: cost_generated_tag_description
35652+
type: string
35653+
x-enum-varnames:
35654+
- COST_GENERATED_TAG_DESCRIPTION
3554335655
GetActionConnectionResponse:
3554435656
description: The response for found connection
3554535657
properties:
@@ -110291,6 +110403,226 @@ paths:
110291110403
operator: OR
110292110404
permissions:
110293110405
- cloud_cost_management_read
110406+
/api/v2/cost/tag_descriptions/{tag_key}:
110407+
delete:
110408+
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.
110409+
operationId: DeleteCostTagDescriptionByKey
110410+
parameters:
110411+
- description: The tag key whose description is being deleted.
110412+
in: path
110413+
name: tag_key
110414+
required: true
110415+
schema:
110416+
type: string
110417+
- description: Cloud provider to scope the deletion to (for example, `aws`). Omit to delete every description for the tag key.
110418+
in: query
110419+
name: cloud
110420+
required: false
110421+
schema:
110422+
type: string
110423+
responses:
110424+
"204":
110425+
description: No Content
110426+
"400":
110427+
content:
110428+
application/json:
110429+
schema:
110430+
$ref: "#/components/schemas/APIErrorResponse"
110431+
description: Bad Request
110432+
"403":
110433+
content:
110434+
application/json:
110435+
schema:
110436+
$ref: "#/components/schemas/APIErrorResponse"
110437+
description: Forbidden
110438+
"429":
110439+
$ref: "#/components/responses/TooManyRequestsResponse"
110440+
security:
110441+
- apiKeyAuth: []
110442+
appKeyAuth: []
110443+
- AuthZ:
110444+
- cloud_cost_management_write
110445+
summary: Delete a Cloud Cost Management tag description
110446+
tags:
110447+
- Cloud Cost Management
110448+
"x-permission":
110449+
operator: OR
110450+
permissions:
110451+
- cloud_cost_management_write
110452+
get:
110453+
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).
110454+
operationId: GetCostTagDescriptionByKey
110455+
parameters:
110456+
- description: The tag key whose description is being fetched.
110457+
in: path
110458+
name: tag_key
110459+
required: true
110460+
schema:
110461+
type: string
110462+
- description: Cloud provider to scope the lookup to (for example, `aws`). Omit to use the resolved fallback.
110463+
in: query
110464+
name: filter[cloud]
110465+
required: false
110466+
schema:
110467+
type: string
110468+
responses:
110469+
"200":
110470+
content:
110471+
application/json:
110472+
examples:
110473+
default:
110474+
value:
110475+
data:
110476+
attributes:
110477+
cloud: aws
110478+
created_at: "2026-01-01T12:00:00Z"
110479+
description: AWS account that owns this cost.
110480+
source: human
110481+
tag_key: account_id
110482+
updated_at: "2026-01-01T12:00:00Z"
110483+
id: account_id
110484+
type: cost_tag_description
110485+
schema:
110486+
$ref: "#/components/schemas/CostTagDescriptionResponse"
110487+
description: OK
110488+
"400":
110489+
content:
110490+
application/json:
110491+
schema:
110492+
$ref: "#/components/schemas/APIErrorResponse"
110493+
description: Bad Request
110494+
"403":
110495+
content:
110496+
application/json:
110497+
schema:
110498+
$ref: "#/components/schemas/APIErrorResponse"
110499+
description: Forbidden
110500+
"404":
110501+
content:
110502+
application/json:
110503+
schema:
110504+
$ref: "#/components/schemas/APIErrorResponse"
110505+
description: Not Found
110506+
"429":
110507+
$ref: "#/components/responses/TooManyRequestsResponse"
110508+
security:
110509+
- apiKeyAuth: []
110510+
appKeyAuth: []
110511+
- AuthZ:
110512+
- cloud_cost_management_read
110513+
summary: Get a Cloud Cost Management tag description
110514+
tags:
110515+
- Cloud Cost Management
110516+
"x-permission":
110517+
operator: OR
110518+
permissions:
110519+
- cloud_cost_management_read
110520+
put:
110521+
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.
110522+
operationId: UpsertCostTagDescriptionByKey
110523+
parameters:
110524+
- description: The tag key whose description is being upserted.
110525+
in: path
110526+
name: tag_key
110527+
required: true
110528+
schema:
110529+
type: string
110530+
requestBody:
110531+
content:
110532+
application/json:
110533+
examples:
110534+
default:
110535+
value:
110536+
data:
110537+
attributes:
110538+
cloud: aws
110539+
description: AWS account that owns this cost.
110540+
id: account_id
110541+
type: cost_tag_description
110542+
schema:
110543+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequest"
110544+
required: true
110545+
responses:
110546+
"204":
110547+
description: No Content
110548+
"400":
110549+
content:
110550+
application/json:
110551+
schema:
110552+
$ref: "#/components/schemas/APIErrorResponse"
110553+
description: Bad Request
110554+
"403":
110555+
content:
110556+
application/json:
110557+
schema:
110558+
$ref: "#/components/schemas/APIErrorResponse"
110559+
description: Forbidden
110560+
"429":
110561+
$ref: "#/components/responses/TooManyRequestsResponse"
110562+
security:
110563+
- apiKeyAuth: []
110564+
appKeyAuth: []
110565+
- AuthZ:
110566+
- cloud_cost_management_write
110567+
summary: Upsert a Cloud Cost Management tag description
110568+
tags:
110569+
- Cloud Cost Management
110570+
"x-permission":
110571+
operator: OR
110572+
permissions:
110573+
- cloud_cost_management_write
110574+
/api/v2/cost/tag_descriptions/{tag_key}/generate:
110575+
get:
110576+
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.
110577+
operationId: GenerateCostTagDescriptionByKey
110578+
parameters:
110579+
- description: The tag key to generate an AI description for.
110580+
in: path
110581+
name: tag_key
110582+
required: true
110583+
schema:
110584+
type: string
110585+
responses:
110586+
"200":
110587+
content:
110588+
application/json:
110589+
examples:
110590+
default:
110591+
value:
110592+
data:
110593+
attributes:
110594+
description: AWS account that owns this cost.
110595+
id: account_id
110596+
type: cost_generated_tag_description
110597+
schema:
110598+
$ref: "#/components/schemas/GenerateCostTagDescriptionResponse"
110599+
description: OK
110600+
"400":
110601+
content:
110602+
application/json:
110603+
schema:
110604+
$ref: "#/components/schemas/APIErrorResponse"
110605+
description: Bad Request
110606+
"403":
110607+
content:
110608+
application/json:
110609+
schema:
110610+
$ref: "#/components/schemas/APIErrorResponse"
110611+
description: Forbidden
110612+
"429":
110613+
$ref: "#/components/responses/TooManyRequestsResponse"
110614+
security:
110615+
- apiKeyAuth: []
110616+
appKeyAuth: []
110617+
- AuthZ:
110618+
- cloud_cost_management_read
110619+
summary: Generate a Cloud Cost Management tag description
110620+
tags:
110621+
- Cloud Cost Management
110622+
"x-permission":
110623+
operator: OR
110624+
permissions:
110625+
- cloud_cost_management_read
110294110626
/api/v2/cost/tag_keys:
110295110627
get:
110296110628
description: List Cloud Cost Management tag keys.

0 commit comments

Comments
 (0)