Jobs

Get what a job and its run were charged

Changed on

Ledger view of what the job, and the whole run it belongs to (the root job plus every job it spawned), were actually charged. Unlike GET /jobs/{id}/price, nothing here falls back to an estimate: charged_cents is money that moved, estimated_cents is a quote, and held_cents is credits set aside for work still running. All amounts are integer credits (1 credit = 1 cent), in fields named *_cents. Pass a root or child job id.

get/jobs/{id}/cost

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/jobs/{id}/cost
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Run cost

Changes