Skip to main content
POST

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.

Body

application/json
file_id
string
required
url
string<uri>

Response

Lineage

file_id
string
required
job_id
string
required
tool
string
required

Readable tool key (image, video, ...)

model
string | null
required
prompt
string | null
required

The main human-readable prompt (prompt, text or render code)

provider
string | null
required
cost_cents
integer | null
required
parent_job_id
string | null
required
root_job_id
string | null
required
children_count
integer
required
total_cost_cents
integer | null
required

This job plus every descendant

output_count
integer
required
output_index
integer | null
required

1-based position among the job's outputs

primary_file_id
string | null
required
created_at
string<date-time>
required
file
object
required
input
object
required

The job's input with internal keys (options, webhook_url, _*) removed

breakdown
object[]

Present only when the job has children