Skip to main content
GET
Get job pricing breakdown

Authorizations

Authorization
string
header
required

varg API key (varg_...). Get one at app.varg.ai or run bunx vargai login. App sessions may alternatively send a Supabase JWT.

Path Parameters

id
string
required
Pattern: ^job_

Response

Pricing breakdown

job_id
string
status
enum<string>

The status only moves forward: queued → running → completed, failed or cancelled. Everything a running job goes through — sending to the provider, uploading references, switching to another provider — is a stage of running; a job never goes back to queued. (Older API builds also reported submitting; treat it as running.)

awaiting_confirmation (multi-step pipelines only): the job finished a step that asks for review and waits for POST /jobs/{id}/confirm. It is not terminal.

Available options:
queued,
running,
awaiting_confirmation,
completed,
failed,
cancelled
model
string | null
tool
string

Internal tool id (e.g. tool_2001a2b3c4d5 for video), not the tool_key.

Example:

"tool_2001a2b3c4d5"

pricing_id
string | null
estimated_cost_cents
integer | null
actual_cost_cents
integer | null
billed_units
object | null
Example:
children_count
integer

Sub-generations spawned by a render or pipeline job

total_cost_cents
integer

Own cost plus all children (equals own cost when children_count is 0)