Skip to main content
POST
Quote request cost

Authorizations

x-api-key
string
header
required

Body

application/json

Provide meterClass or path. planKey and units are optional.

planKey
string | null

Optional public plan key to quote instead of the organization's current plan.

meterClass
string | null

Optional meter class. Provide this or a path.

path
string | null

Optional API path used to derive the meter class. Provide this or meterClass.

method
string | null

HTTP method used with path; defaults to GET when path is supplied.

units
number | null

Optional positive number of units to quote.

Response

Successful response

object
string
required
Allowed value: "billing_quote"
planKey
string
required
meterClass
string
required
meterFamily
string
required
units
integer
required
unitAmountUsd
number
required
amountUsd
number
required
amountCents
integer
required
currency
string
required
Allowed value: "usd"
requestId
string
required
budget
object
required
budgetGate
object | null
required