Skip to content

Commit b32c054

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d77bede of spec repo
1 parent 1521ce9 commit b32c054

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
@@ -17897,6 +17897,25 @@ components:
1789717897
- tag_key
1789817898
- updated_at
1789917899
type: object
17900+
CostTagDescriptionResponse:
17901+
description: Single Cloud Cost Management tag key description returned by the get-by-key endpoint.
17902+
example:
17903+
data:
17904+
attributes:
17905+
cloud: aws
17906+
created_at: "2026-01-01T12:00:00Z"
17907+
description: AWS account that owns this cost.
17908+
source: human
17909+
tag_key: account_id
17910+
updated_at: "2026-01-01T12:00:00Z"
17911+
id: account_id
17912+
type: cost_tag_description
17913+
properties:
17914+
data:
17915+
$ref: "#/components/schemas/CostTagDescription"
17916+
required:
17917+
- data
17918+
type: object
1790017919
CostTagDescriptionSource:
1790117920
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.
1790217921
enum:
@@ -17918,6 +17937,50 @@ components:
1791817937
type: string
1791917938
x-enum-varnames:
1792017939
- COST_TAG_DESCRIPTION
17940+
CostTagDescriptionUpsertRequest:
17941+
description: Request body for creating or updating a Cloud Cost Management tag key description.
17942+
example:
17943+
data:
17944+
attributes:
17945+
cloud: aws
17946+
description: AWS account that owns this cost.
17947+
id: account_id
17948+
type: cost_tag_description
17949+
properties:
17950+
data:
17951+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequestData"
17952+
required:
17953+
- data
17954+
type: object
17955+
CostTagDescriptionUpsertRequestData:
17956+
description: Resource envelope carrying the tag key description being upserted. The `id` is informational; the authoritative tag key is taken from the URL path.
17957+
properties:
17958+
attributes:
17959+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequestDataAttributes"
17960+
id:
17961+
description: Identifier of the tag key the description applies to. Matches the `tag_key` path parameter.
17962+
example: account_id
17963+
type: string
17964+
type:
17965+
$ref: "#/components/schemas/CostTagDescriptionType"
17966+
required:
17967+
- attributes
17968+
- type
17969+
type: object
17970+
CostTagDescriptionUpsertRequestDataAttributes:
17971+
description: Mutable attributes set when creating or updating a Cloud Cost Management tag key description.
17972+
properties:
17973+
cloud:
17974+
description: Cloud provider this description applies to (for example, `aws`). Omit to set the cross-cloud default for the tag key.
17975+
example: aws
17976+
type: string
17977+
description:
17978+
description: The human-readable description for the tag key.
17979+
example: AWS account that owns this cost.
17980+
type: string
17981+
required:
17982+
- description
17983+
type: object
1792117984
CostTagDescriptionsResponse:
1792217985
description: List of Cloud Cost Management tag key descriptions for the organization, optionally filtered to a single cloud provider.
1792317986
example:
@@ -33740,6 +33803,55 @@ components:
3374033803
required:
3374133804
- type
3374233805
type: object
33806+
GenerateCostTagDescriptionResponse:
33807+
description: Response wrapping an AI-generated Cloud Cost Management tag key description.
33808+
example:
33809+
data:
33810+
attributes:
33811+
description: AWS account that owns this cost.
33812+
id: account_id
33813+
type: cost_generated_tag_description
33814+
properties:
33815+
data:
33816+
$ref: "#/components/schemas/GeneratedCostTagDescription"
33817+
required:
33818+
- data
33819+
type: object
33820+
GeneratedCostTagDescription:
33821+
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.
33822+
properties:
33823+
attributes:
33824+
$ref: "#/components/schemas/GeneratedCostTagDescriptionAttributes"
33825+
id:
33826+
description: The tag key the AI description was generated for.
33827+
example: account_id
33828+
type: string
33829+
type:
33830+
$ref: "#/components/schemas/GeneratedCostTagDescriptionType"
33831+
required:
33832+
- attributes
33833+
- id
33834+
- type
33835+
type: object
33836+
GeneratedCostTagDescriptionAttributes:
33837+
description: Attributes of an AI-generated Cloud Cost Management tag key description.
33838+
properties:
33839+
description:
33840+
description: The AI-generated description for the tag key.
33841+
example: AWS account that owns this cost.
33842+
type: string
33843+
required:
33844+
- description
33845+
type: object
33846+
GeneratedCostTagDescriptionType:
33847+
default: cost_generated_tag_description
33848+
description: Type of the AI-generated Cloud Cost Management tag description resource.
33849+
enum:
33850+
- cost_generated_tag_description
33851+
example: cost_generated_tag_description
33852+
type: string
33853+
x-enum-varnames:
33854+
- COST_GENERATED_TAG_DESCRIPTION
3374333855
GetActionConnectionResponse:
3374433856
description: The response for found connection
3374533857
properties:
@@ -103841,6 +103953,226 @@ paths:
103841103953
operator: OR
103842103954
permissions:
103843103955
- cloud_cost_management_read
103956+
/api/v2/cost/tag_descriptions/{tag_key}:
103957+
delete:
103958+
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.
103959+
operationId: DeleteCostTagDescriptionByKey
103960+
parameters:
103961+
- description: The tag key whose description is being deleted.
103962+
in: path
103963+
name: tag_key
103964+
required: true
103965+
schema:
103966+
type: string
103967+
- description: Cloud provider to scope the deletion to (for example, `aws`). Omit to delete every description for the tag key.
103968+
in: query
103969+
name: cloud
103970+
required: false
103971+
schema:
103972+
type: string
103973+
responses:
103974+
"204":
103975+
description: No Content
103976+
"400":
103977+
content:
103978+
application/json:
103979+
schema:
103980+
$ref: "#/components/schemas/APIErrorResponse"
103981+
description: Bad Request
103982+
"403":
103983+
content:
103984+
application/json:
103985+
schema:
103986+
$ref: "#/components/schemas/APIErrorResponse"
103987+
description: Forbidden
103988+
"429":
103989+
$ref: "#/components/responses/TooManyRequestsResponse"
103990+
security:
103991+
- apiKeyAuth: []
103992+
appKeyAuth: []
103993+
- AuthZ:
103994+
- cloud_cost_management_write
103995+
summary: Delete a Cloud Cost Management tag description
103996+
tags:
103997+
- Cloud Cost Management
103998+
"x-permission":
103999+
operator: OR
104000+
permissions:
104001+
- cloud_cost_management_write
104002+
get:
104003+
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).
104004+
operationId: GetCostTagDescriptionByKey
104005+
parameters:
104006+
- description: The tag key whose description is being fetched.
104007+
in: path
104008+
name: tag_key
104009+
required: true
104010+
schema:
104011+
type: string
104012+
- description: Cloud provider to scope the lookup to (for example, `aws`). Omit to use the resolved fallback.
104013+
in: query
104014+
name: filter[cloud]
104015+
required: false
104016+
schema:
104017+
type: string
104018+
responses:
104019+
"200":
104020+
content:
104021+
application/json:
104022+
examples:
104023+
default:
104024+
value:
104025+
data:
104026+
attributes:
104027+
cloud: aws
104028+
created_at: "2026-01-01T12:00:00Z"
104029+
description: AWS account that owns this cost.
104030+
source: human
104031+
tag_key: account_id
104032+
updated_at: "2026-01-01T12:00:00Z"
104033+
id: account_id
104034+
type: cost_tag_description
104035+
schema:
104036+
$ref: "#/components/schemas/CostTagDescriptionResponse"
104037+
description: OK
104038+
"400":
104039+
content:
104040+
application/json:
104041+
schema:
104042+
$ref: "#/components/schemas/APIErrorResponse"
104043+
description: Bad Request
104044+
"403":
104045+
content:
104046+
application/json:
104047+
schema:
104048+
$ref: "#/components/schemas/APIErrorResponse"
104049+
description: Forbidden
104050+
"404":
104051+
content:
104052+
application/json:
104053+
schema:
104054+
$ref: "#/components/schemas/APIErrorResponse"
104055+
description: Not Found
104056+
"429":
104057+
$ref: "#/components/responses/TooManyRequestsResponse"
104058+
security:
104059+
- apiKeyAuth: []
104060+
appKeyAuth: []
104061+
- AuthZ:
104062+
- cloud_cost_management_read
104063+
summary: Get a Cloud Cost Management tag description
104064+
tags:
104065+
- Cloud Cost Management
104066+
"x-permission":
104067+
operator: OR
104068+
permissions:
104069+
- cloud_cost_management_read
104070+
put:
104071+
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.
104072+
operationId: UpsertCostTagDescriptionByKey
104073+
parameters:
104074+
- description: The tag key whose description is being upserted.
104075+
in: path
104076+
name: tag_key
104077+
required: true
104078+
schema:
104079+
type: string
104080+
requestBody:
104081+
content:
104082+
application/json:
104083+
examples:
104084+
default:
104085+
value:
104086+
data:
104087+
attributes:
104088+
cloud: aws
104089+
description: AWS account that owns this cost.
104090+
id: account_id
104091+
type: cost_tag_description
104092+
schema:
104093+
$ref: "#/components/schemas/CostTagDescriptionUpsertRequest"
104094+
required: true
104095+
responses:
104096+
"204":
104097+
description: No Content
104098+
"400":
104099+
content:
104100+
application/json:
104101+
schema:
104102+
$ref: "#/components/schemas/APIErrorResponse"
104103+
description: Bad Request
104104+
"403":
104105+
content:
104106+
application/json:
104107+
schema:
104108+
$ref: "#/components/schemas/APIErrorResponse"
104109+
description: Forbidden
104110+
"429":
104111+
$ref: "#/components/responses/TooManyRequestsResponse"
104112+
security:
104113+
- apiKeyAuth: []
104114+
appKeyAuth: []
104115+
- AuthZ:
104116+
- cloud_cost_management_write
104117+
summary: Upsert a Cloud Cost Management tag description
104118+
tags:
104119+
- Cloud Cost Management
104120+
"x-permission":
104121+
operator: OR
104122+
permissions:
104123+
- cloud_cost_management_write
104124+
/api/v2/cost/tag_descriptions/{tag_key}/generate:
104125+
get:
104126+
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.
104127+
operationId: GenerateCostTagDescriptionByKey
104128+
parameters:
104129+
- description: The tag key to generate an AI description for.
104130+
in: path
104131+
name: tag_key
104132+
required: true
104133+
schema:
104134+
type: string
104135+
responses:
104136+
"200":
104137+
content:
104138+
application/json:
104139+
examples:
104140+
default:
104141+
value:
104142+
data:
104143+
attributes:
104144+
description: AWS account that owns this cost.
104145+
id: account_id
104146+
type: cost_generated_tag_description
104147+
schema:
104148+
$ref: "#/components/schemas/GenerateCostTagDescriptionResponse"
104149+
description: OK
104150+
"400":
104151+
content:
104152+
application/json:
104153+
schema:
104154+
$ref: "#/components/schemas/APIErrorResponse"
104155+
description: Bad Request
104156+
"403":
104157+
content:
104158+
application/json:
104159+
schema:
104160+
$ref: "#/components/schemas/APIErrorResponse"
104161+
description: Forbidden
104162+
"429":
104163+
$ref: "#/components/responses/TooManyRequestsResponse"
104164+
security:
104165+
- apiKeyAuth: []
104166+
appKeyAuth: []
104167+
- AuthZ:
104168+
- cloud_cost_management_read
104169+
summary: Generate a Cloud Cost Management tag description
104170+
tags:
104171+
- Cloud Cost Management
104172+
"x-permission":
104173+
operator: OR
104174+
permissions:
104175+
- cloud_cost_management_read
103844104176
/api/v2/cost/tag_keys:
103845104177
get:
103846104178
description: List Cloud Cost Management tag keys.

0 commit comments

Comments
 (0)