Skip to content

Commit de59617

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2c98750 of spec repo
1 parent 2f6e4ef commit de59617

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:
@@ -110294,6 +110406,226 @@ paths:
110294110406
operator: OR
110295110407
permissions:
110296110408
- cloud_cost_management_read
110409+
/api/v2/cost/tag_descriptions/{tag_key}:
110410+
delete:
110411+
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.
110412+
operationId: DeleteCostTagDescriptionByKey
110413+
parameters:
110414+
- description: The tag key whose description is being deleted.
110415+
in: path
110416+
name: tag_key
110417+
required: true
110418+
schema:
110419+
type: string
110420+
- description: Cloud provider to scope the deletion to (for example, `aws`). Omit to delete every description for the tag key.
110421+
in: query
110422+
name: cloud
110423+
required: false
110424+
schema:
110425+
type: string
110426+
responses:
110427+
"204":
110428+
description: No Content
110429+
"400":
110430+
content:
110431+
application/json:
110432+
schema:
110433+
$ref: "#/components/schemas/APIErrorResponse"
110434+
description: Bad Request
110435+
"403":
110436+
content:
110437+
application/json:
110438+
schema:
110439+
$ref: "#/components/schemas/APIErrorResponse"
110440+
description: Forbidden
110441+
"429":
110442+
$ref: "#/components/responses/TooManyRequestsResponse"
110443+
security:
110444+
- apiKeyAuth: []
110445+
appKeyAuth: []
110446+
- AuthZ:
110447+
- cloud_cost_management_write
110448+
summary: Delete a Cloud Cost Management tag description
110449+
tags:
110450+
- Cloud Cost Management
110451+
"x-permission":
110452+
operator: OR
110453+
permissions:
110454+
- cloud_cost_management_write
110455+
get:
110456+
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).
110457+
operationId: GetCostTagDescriptionByKey
110458+
parameters:
110459+
- description: The tag key whose description is being fetched.
110460+
in: path
110461+
name: tag_key
110462+
required: true
110463+
schema:
110464+
type: string
110465+
- description: Cloud provider to scope the lookup to (for example, `aws`). Omit to use the resolved fallback.
110466+
in: query
110467+
name: filter[cloud]
110468+
required: false
110469+
schema:
110470+
type: string
110471+
responses:
110472+
"200":
110473+
content:
110474+
application/json:
110475+
examples:
110476+
default:
110477+
value:
110478+
data:
110479+
attributes:
110480+
cloud: aws
110481+
created_at: "2026-01-01T12:00:00Z"
110482+
description: AWS account that owns this cost.
110483+
source: human
110484+
tag_key: account_id
110485+
updated_at: "2026-01-01T12:00:00Z"
110486+
id: account_id
110487+
type: cost_tag_description
110488+
schema:
110489+
$ref: "#/components/schemas/CostTagDescriptionResponse"
110490+
description: OK
110491+
"400":
110492+
content:
110493+
application/json:
110494+
schema:
110495+
$ref: "#/components/schemas/APIErrorResponse"
110496+
description: Bad Request
110497+
"403":
110498+
content:
110499+
application/json:
110500+
schema:
110501+
$ref: "#/components/schemas/APIErrorResponse"
110502+
description: Forbidden
110503+
"404":
110504+
content:
110505+
application/json:
110506+
schema:
110507+
$ref: "#/components/schemas/APIErrorResponse"
110508+
description: Not Found
110509+
"429":
110510+
$ref: "#/components/responses/TooManyRequestsResponse"
110511+
security:
110512+
- apiKeyAuth: []
110513+
appKeyAuth: []
110514+
- AuthZ:
110515+
- cloud_cost_management_read
110516+
summary: Get a Cloud Cost Management tag description
110517+
tags:
110518+
- Cloud Cost Management
110519+
"x-permission":
110520+
operator: OR
110521+
permissions:
110522+
- cloud_cost_management_read
110523+
put:
110524+
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.
110525+
operationId: UpsertCostTagDescriptionByKey
110526+
parameters:
110527+
- description: The tag key whose description is being upserted.
110528+
in: path
110529+
name: tag_key
110530+
required: true
110531+
schema:
110532+
type: string
110533+
requestBody:
110534+
content:
110535+
application/json:
110536+
examples:
110537+
default:
110538+
value:
110539+
data:
110540+
attributes:
110541+
cloud: aws
110542+
description: AWS account that owns this cost.
110543+
id: account_id
110544+
type: cost_tag_description
110545+
schema:
110546+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequest"
110547+
required: true
110548+
responses:
110549+
"204":
110550+
description: No Content
110551+
"400":
110552+
content:
110553+
application/json:
110554+
schema:
110555+
$ref: "#/components/schemas/APIErrorResponse"
110556+
description: Bad Request
110557+
"403":
110558+
content:
110559+
application/json:
110560+
schema:
110561+
$ref: "#/components/schemas/APIErrorResponse"
110562+
description: Forbidden
110563+
"429":
110564+
$ref: "#/components/responses/TooManyRequestsResponse"
110565+
security:
110566+
- apiKeyAuth: []
110567+
appKeyAuth: []
110568+
- AuthZ:
110569+
- cloud_cost_management_write
110570+
summary: Upsert a Cloud Cost Management tag description
110571+
tags:
110572+
- Cloud Cost Management
110573+
"x-permission":
110574+
operator: OR
110575+
permissions:
110576+
- cloud_cost_management_write
110577+
/api/v2/cost/tag_descriptions/{tag_key}/generate:
110578+
get:
110579+
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.
110580+
operationId: GenerateCostTagDescriptionByKey
110581+
parameters:
110582+
- description: The tag key to generate an AI description for.
110583+
in: path
110584+
name: tag_key
110585+
required: true
110586+
schema:
110587+
type: string
110588+
responses:
110589+
"200":
110590+
content:
110591+
application/json:
110592+
examples:
110593+
default:
110594+
value:
110595+
data:
110596+
attributes:
110597+
description: AWS account that owns this cost.
110598+
id: account_id
110599+
type: cost_generated_tag_description
110600+
schema:
110601+
$ref: "#/components/schemas/GenerateCostTagDescriptionResponse"
110602+
description: OK
110603+
"400":
110604+
content:
110605+
application/json:
110606+
schema:
110607+
$ref: "#/components/schemas/APIErrorResponse"
110608+
description: Bad Request
110609+
"403":
110610+
content:
110611+
application/json:
110612+
schema:
110613+
$ref: "#/components/schemas/APIErrorResponse"
110614+
description: Forbidden
110615+
"429":
110616+
$ref: "#/components/responses/TooManyRequestsResponse"
110617+
security:
110618+
- apiKeyAuth: []
110619+
appKeyAuth: []
110620+
- AuthZ:
110621+
- cloud_cost_management_read
110622+
summary: Generate a Cloud Cost Management tag description
110623+
tags:
110624+
- Cloud Cost Management
110625+
"x-permission":
110626+
operator: OR
110627+
permissions:
110628+
- cloud_cost_management_read
110297110629
/api/v2/cost/tag_keys:
110298110630
get:
110299110631
description: List Cloud Cost Management tag keys.

0 commit comments

Comments
 (0)