Skip to main content
POST
Estimate Batch

Authorizations

Authorization
string
header
required

The Authorization header expects a Bearer token.

Body

application/json
currency
string

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

filterAggregationUnit
object

Filters only time-based aggregation units, e.g. hour, day, month, etc. If response contains other aggregation 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
resourceSpecs
object[]

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

Response

200 - application/json

A successful response.

currency
string

Currency used for the estimate.

resourceCosts
object[]
totalCosts
object[]

Total cost for all resource units.