JobCostEstimate
What one job costs on one runner, known BEFORE it starts, in credits.
This is the same computation the charging paths use (billing.EstimateJobCost): the runner's billing status, its per-job minimum, and whether usage is metered. It does not guess metered usage, which is not knowable before the job runs.
type JobCostEstimate {
job: ChargeableJob!
billed: Boolean!
minimumCharge: Float!
metered: Boolean!
}
Fields
JobCostEstimate.job ● ChargeableJob! non-null enum
JobCostEstimate.billed ● Boolean! non-null scalar
False when the runner charges no credits: the job is free on it.
JobCostEstimate.minimumCharge ● Float! non-null scalar
The runner's minimum for this job, in credits. For a backtest or hyperopt it is a floor (the job pays at least this); for a bot start it is a fee charged at every start. Zero when there is none or the runner does not bill.
JobCostEstimate.metered ● Boolean! non-null scalar
True when usage is also priced at the runner's rates: against the floor for a backtest or hyperopt (so it can cost more than minimumCharge), on top of the start fee for a bot while it runs.
Member Of
BotRunner object