Skip to main content
POST
Estimate Batch

Authorizations

Authorization
string
header
required

The Authorization header expects a Bearer token.

Body

application/json
resourceSpecs
object[]
required

List of resource specifications for cost estimation. Each resource will be priced individually and then aggregated into total costs.

currency
string

Currency for the cost estimate (e.g., "usd", "ils"). Defaults to "usd".

filterAggregationUnit
object

Filters only time-based resource units, e.g. hour, day, month, etc. If response contains other resource units like request, token, etc., it will always be presented in response.

offerTypes
enum<string>[]

Type of offers to be applied to the cost estimate.

OfferType is a enum that specifies the type of offer.

  • OFFER_TYPE_CONTRACT_PRICE: Contract price is a special price for SKU.
Available options:
OFFER_TYPE_UNSPECIFIED,
OFFER_TYPE_CONTRACT_PRICE

Response

200 - application/json

A successful response.

currency
string

Currency used for the estimate.

resourceCosts
object[]
totalCosts
object[]

Total cost for all resource units.