@@ -11747,6 +11747,53 @@ components:
11747
11747
type: string
11748
11748
x-enum-varnames:
11749
11749
- PROCESS
11750
+ ProjectedCost:
11751
+ description: Projected Cost data.
11752
+ properties:
11753
+ attributes:
11754
+ $ref: '#/components/schemas/ProjectedCostAttributes'
11755
+ id:
11756
+ description: Unique ID of the response.
11757
+ type: string
11758
+ type:
11759
+ $ref: '#/components/schemas/CostByOrgType'
11760
+ type: object
11761
+ ProjectedCostAttributes:
11762
+ description: Projected Cost attributes data.
11763
+ properties:
11764
+ charges:
11765
+ description: List of charges data reported for the requested month.
11766
+ items:
11767
+ $ref: '#/components/schemas/ChargebackBreakdown'
11768
+ type: array
11769
+ date:
11770
+ description: The month requested.
11771
+ format: date-time
11772
+ type: string
11773
+ org_name:
11774
+ description: The organization name.
11775
+ type: string
11776
+ projected_total_cost:
11777
+ description: The total projected cost of products for the month.
11778
+ format: double
11779
+ type: number
11780
+ public_id:
11781
+ description: The organization public ID.
11782
+ type: string
11783
+ region:
11784
+ description: The region of the Datadog instance that the organization belongs
11785
+ to.
11786
+ type: string
11787
+ type: object
11788
+ ProjectedCostResponse:
11789
+ description: Projected Cost response.
11790
+ properties:
11791
+ data:
11792
+ description: Response containing Projected Cost.
11793
+ items:
11794
+ $ref: '#/components/schemas/ProjectedCost'
11795
+ type: array
11796
+ type: object
11750
11797
QueryFormula:
11751
11798
description: A formula for calculation based on one or more queries.
11752
11799
properties:
@@ -29935,6 +29982,57 @@ paths:
29935
29982
summary: Get hourly usage for observability pipelines
29936
29983
tags:
29937
29984
- Usage Metering
29985
+ /api/v2/usage/projected_cost:
29986
+ get:
29987
+ description: 'Get projected cost across multi-org and single root-org accounts.
29988
+
29989
+ Projected cost data is only available for the current month and becomes available
29990
+ around the 12th of the month.
29991
+
29992
+ This endpoint requires the usage_read authorization scope.'
29993
+ operationId: GetProjectedCost
29994
+ parameters:
29995
+ - description: String to specify whether cost is broken down at a parent-org
29996
+ level or at the sub-org level. Available views are `summary` and `sub-org`.
29997
+ Defaults to `summary`.
29998
+ in: query
29999
+ name: view
30000
+ required: false
30001
+ schema:
30002
+ type: string
30003
+ responses:
30004
+ '200':
30005
+ content:
30006
+ application/json;datetime-format=rfc3339:
30007
+ schema:
30008
+ $ref: '#/components/schemas/ProjectedCostResponse'
30009
+ description: OK
30010
+ '400':
30011
+ content:
30012
+ application/json;datetime-format=rfc3339:
30013
+ schema:
30014
+ $ref: '#/components/schemas/APIErrorResponse'
30015
+ description: Bad Request
30016
+ '403':
30017
+ content:
30018
+ application/json;datetime-format=rfc3339:
30019
+ schema:
30020
+ $ref: '#/components/schemas/APIErrorResponse'
30021
+ description: Forbidden - User is not authorized
30022
+ '429':
30023
+ content:
30024
+ application/json;datetime-format=rfc3339:
30025
+ schema:
30026
+ $ref: '#/components/schemas/APIErrorResponse'
30027
+ description: Too many requests
30028
+ security:
30029
+ - apiKeyAuth: []
30030
+ appKeyAuth: []
30031
+ - AuthZ:
30032
+ - usage_read
30033
+ summary: Get projected cost across your account
30034
+ tags:
30035
+ - Usage Metering
29938
30036
/api/v2/user_invitations:
29939
30037
post:
29940
30038
description: Sends emails to one or more users inviting them to join the organization.
0 commit comments