Jobs
Get a job
Changed onFull job view. Poll this until status is terminal (completed, failed, or cancelled), then read output.outputs[0].url.
get/jobs/{id}
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/jobs/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Response
The job
Example response
{
"id": "job_a1b2c3d4e5f6",
"attempts": [
{
"n": 1,
"provider": "byteplus",
"model_key": "byteplus:dreamina-seedance-2-5-260628",
"reason": "real person in the reference images"
}
],
"tool": "tool_2001a2b3c4d5",
"tool_key": "video",
"output": {
"outputs": [
{
"media_type": "video/mp4"
}
]
},
"progress_message": "stitching 3/8 (40%)",
"step_state": {
"current_step": "extend"
},
"pricing": {
"billed_units": {
"images": 1
}
},
"provider": "fal",
"provider_model": "fal:flux_schnell"
}Changes
- info
added the required property
to the response with the status
- info
- info
endpoint added
- info