WhatIf
The estimated charge of a Provider swap over measured quantities, with its evidence and sample sizes (1.57.0). An estimate from list prices, not a quote.
An object with 17 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
agent_id | AgentId | yes | |
agent_version | integer or null | yes | |
calls | integer | yes | The Calls whose quantities were measured. |
currency | "USD" | yes | |
current | WhatIfSide | yes | |
delta_micros | integer or null | yes | The substitute amount minus the current amount; null when either is null. |
eligible | boolean | yes | |
estimate | true | yes | |
from | string | yes | |
ineligible_reasons | array of WhatIfIneligibleReason | yes | |
latency | WhatIfLatencyEvidence | yes | |
minutes | number | yes | Their billable Call minutes. |
object | "what_if" | yes | |
price_list_version | string | yes | The version of the price list the estimate used; a date in 1.5.0. |
stage | WhatIfStage | yes | |
substitute | WhatIfSide | yes | |
to | string | yes |
Used by
The operations whose parameters, request body or responses name this shape directly.