Calculate team billing costs
GET /teams/{teamId}/billing/cost
Calculate costs for a team over a specified billing period. Requires team admin role.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Team ID
Team ID
Query Parameters
Section titled “Query Parameters ”Start of the billing period (inclusive)
Start of the billing period (inclusive)
End of the billing period (exclusive)
End of the billing period (exclusive)
Optional pricing sheet ID (defaults to most recent effective)
Optional pricing sheet ID (defaults to most recent effective)
Responses
Section titled “ Responses ”Cost calculation successful
object
Team ID
Pricing sheet ID used for calculation
Start of billing period (inclusive)
End of billing period (exclusive)
Cost breakdown by operation type
object
Operation type
Cost breakdown by dimension
object
Cost dimension name
Number of units consumed
Price per unit in nanodollars
Total cost for this dimension in nanodollars
Total cost for this dimension in USD
Pricing rule ID used for calculation
Total cost for this operation in nanodollars
Total cost for this operation in USD
Total cost for all operations in nanodollars
Total cost for all operations in USD
Number of usage records included in calculation
Timestamp when calculation was performed
Bad Request - Validation error or invalid input
object
Unauthorized - Authentication required or invalid token
object
Forbidden - Insufficient permissions
object
Not Found - Resource does not exist