Skip to main content

ComputeCostLine

What a job's compute cost, in the currency it was charged, rounded to 8 decimal places. A separate shape from CostLine, which is the metered-response header contract.

currencystringrequired

ISO 4217 currency code this line is denominated in.

Possible values: Value must match regular expression ^[A-Z]{3}$

computenumberrequired

Compute charged in this currency.

totalnumberrequired

Equal to compute, so a sum of total per currency covers every kind of event.

ComputeCostLine
{
"currency": "string",
"compute": 0,
"total": 0
}