Regenerates one step of a finished multi-step pipeline job (“redo part
2”) without paying for the earlier steps again. Creates a new job
with the source job’s input (plus overrides); the steps before step
are carried over from the source job at no cost, and only step and
the steps after it run and bill. The source job is not changed.
The source job must be finished (completed, failed or cancelled)
and be a multi-step pipeline job. step must be a later step of that
pipeline, not the first one (re-running the first step is a new
pipeline job). overrides cannot switch the pipeline model.
The response is the same as creating a pipeline job: 202 with the new
job, or 200 when Idempotency-Key matches an existing job. Errors of
the pipeline create path (insufficient balance, rate limits) apply too.
POST
/
jobs
/
{id}
/
rerun
Re-run a finished pipeline job from a later step
curl --request POST \ --url https://api.varg.ai/v2/jobs/{id}/rerun \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "step": "extend", "overrides": { "prompt": "the camera keeps pushing in" }}'
Folder id (uuid) or slug. The job's output is filed into this folder
when the job completes. An unknown folder returns 404
workspace_not_found and no job is created. If you cannot set
headers, send a top-level workspace_id field in the JSON body
instead. Not part of the generation input, so it does not affect
caching.
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.
What the job is doing right now. null once the job is terminal, and
while the job is awaiting_confirmation.
queued — waiting for a slot; no attempt yet
submitting — being sent to the provider
uploading_references — the provider is taking the reference files
into its asset library (progress_message shows n/m)
rendering — the provider accepted the task and is generating
retrying — an attempt failed (the provider refused, failed or rate
limited it); the job waits for its next attempt, usually on another
provider. See attempts.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"varg","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/vargai/zXqiSRlI6Ucs30SP/logo/light.svg?fit=max\u0026auto=format\u0026n=zXqiSRlI6Ucs30SP\u0026q=85\u0026s=0cceec4fdf0144f327c9e64745254c58","dark":"https://mintcdn.com/vargai/zXqiSRlI6Ucs30SP/logo/dark.svg?fit=max\u0026auto=format\u0026n=zXqiSRlI6Ucs30SP\u0026q=85\u0026s=4e6978fc37965c951f846ee3fefc382b"},"favicon":"https://mintcdn.com/vargai/zXqiSRlI6Ucs30SP/favicon.svg?fit=max\u0026auto=format\u0026n=zXqiSRlI6Ucs30SP\u0026q=85\u0026s=8e374ac9e94bd40c3f7f07507a704dd8","navbar":{"links":[{"href":"https://app.varg.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.varg.ai"}},"footer":{"socials":{"x":"https://x.com/vaborsh","github":"https://github.com/vargHQ"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/vargHQ/sdk"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/VAecJay7R9"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vargai","hasAudioNarration":false,"actualSubdomain":"vargai","customDomains":["docs.varg.ai"],"gitSource":{"type":"github","owner":"varghq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true},"entitlements":{},"buildId":"6ad7966a0b9b371cf43481a1","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Documentation","count":44},{"language":"default","tag":"Models","count":27},{"language":"default","tag":"Files","count":17},{"language":"default","tag":"Templates","count":14},{"language":"default","tag":"Account","count":11},{"language":"default","tag":"Jobs","count":10},{"language":"default","tag":"Image","count":9},{"language":"default","tag":"Generation","count":9},{"language":"default","tag":"Video","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step","slug":"/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step","pageMetadata":{"title":"Re-run a finished pipeline job from a later step","description":"Regenerates one step of a finished multi-step pipeline job (\"redo part\n2\") without paying for the earlier steps again. Creates a **new** job\nwith the source job's input (plus `overrides`); the steps before `step`\nare carried over from the source job at no cost, and only `step` and\nthe steps after it run and bill. The source job is not changed.\n\nThe source job must be finished (`completed`, `failed` or `cancelled`)\nand be a multi-step pipeline job. `step` must be a later step of that\npipeline, not the first one (re-running the first step is a new\npipeline job). `overrides` cannot switch the pipeline `model`.\n\nThe response is the same as creating a pipeline job: `202` with the new\njob, or `200` when `Idempotency-Key` matches an existing job. Errors of\nthe pipeline create path (insufficient balance, rate limits) apply too.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /jobs/{id}/rerun","href":"/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Regenerates one step of a finished multi-step pipeline job (“redo part\\n2”) without paying for the earlier steps again. Creates a \", _jsx(_components.strong, {\n children: \"new\"\n }), \" job\\nwith the source job’s input (plus \", _jsx(_components.code, {\n children: \"overrides\"\n }), \"); the steps before \", _jsx(_components.code, {\n children: \"step\"\n }), \"\\nare carried over from the source job at no cost, and only \", _jsx(_components.code, {\n children: \"step\"\n }), \" and\\nthe steps after it run and bill. The source job is not changed.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The source job must be finished (\", _jsx(_components.code, {\n children: \"completed\"\n }), \", \", _jsx(_components.code, {\n children: \"failed\"\n }), \" or \", _jsx(_components.code, {\n children: \"cancelled\"\n }), \")\\nand be a multi-step pipeline job. \", _jsx(_components.code, {\n children: \"step\"\n }), \" must be a later step of that\\npipeline, not the first one (re-running the first step is a new\\npipeline job). \", _jsx(_components.code, {\n children: \"overrides\"\n }), \" cannot switch the pipeline \", _jsx(_components.code, {\n children: \"model\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The response is the same as creating a pipeline job: \", _jsx(_components.code, {\n children: \"202\"\n }), \" with the new\\njob, or \", _jsx(_components.code, {\n children: \"200\"\n }), \" when \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" matches an existing job. Errors of\\nthe pipeline create path (insufficient balance, rate limits) apply too.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Re-run a finished pipeline job from a later step","description":"Regenerates one step of a finished multi-step pipeline job (\"redo part\n2\") without paying for the earlier steps again. Creates a **new** job\nwith the source job's input (plus `overrides`); the steps before `step`\nare carried over from the source job at no cost, and only `step` and\nthe steps after it run and bill. The source job is not changed.\n\nThe source job must be finished (`completed`, `failed` or `cancelled`)\nand be a multi-step pipeline job. `step` must be a later step of that\npipeline, not the first one (re-running the first step is a new\npipeline job). `overrides` cannot switch the pipeline `model`.\n\nThe response is the same as creating a pipeline job: `202` with the new\njob, or `200` when `Idempotency-Key` matches an existing job. Errors of\nthe pipeline create path (insufficient balance, rate limits) apply too.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /jobs/{id}/rerun","href":"/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Jobs"],"operationId":"rerunJob","summary":"Re-run a finished pipeline job from a later step","description":"Regenerates one step of a finished multi-step pipeline job (\"redo part\n2\") without paying for the earlier steps again. Creates a **new** job\nwith the source job's input (plus `overrides`); the steps before `step`\nare carried over from the source job at no cost, and only `step` and\nthe steps after it run and bill. The source job is not changed.\n\nThe source job must be finished (`completed`, `failed` or `cancelled`)\nand be a multi-step pipeline job. `step` must be a later step of that\npipeline, not the first one (re-running the first step is a new\npipeline job). `overrides` cannot switch the pipeline `model`.\n\nThe response is the same as creating a pipeline job: `202` with the new\njob, or `200` when `Idempotency-Key` matches an existing job. Errors of\nthe pipeline create path (insufficient balance, rate limits) apply too.\n","parameters":["71f6fe7a-e3eb-4d8d-adcf-ee52d3ba8b71","30fd541b-258c-4a71-912b-14c0eb5da8e3","d0f02a41-a61b-4ecd-8370-2dde71eb56ff"],"requestBody":"71f3b4a5-6550-4247-ad3b-d0cce6c0dce0","responses":{"200":"8b0c28e9-3b2d-4c3e-ba82-2f8ad0553d5d","202":"bec90e1d-d542-4d5a-a1b2-ee5ff358da29","401":"b5288067-98fd-43dc-b391-366f7745eb8c","402":"79bbaf9f-0d09-4961-9ff1-756d0a8bffb4","404":"62972713-1e1f-464b-a065-f476a6f09ca3","409":"771731c6-8a95-459e-8a26-d0c519f6bf4d","422":"dca54705-a5d1-45d3-8ad1-b6e4046451a9","429":"5fc5cde5-63cf-4fb6-8ab6-ee692be3c41b"},"method":"post","type":"path","servers":["6415ef2b-ead3-41a4-9bec-7b332113d6a8"],"security":["c13fd0ff-12c7-44c9-806d-968e1ae74c2d"],"path":"/jobs/{id}/rerun","baseUrlOptions":["https://api.varg.ai/v2"],"title":"Re-run a finished pipeline job from a later step","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"71f6fe7a-e3eb-4d8d-adcf-ee52d3ba8b71":{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^job_","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"job_a1b2c3d4e5f6"},"30fd541b-258c-4a71-912b-14c0eb5da8e3":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Any unique string. Retrying a request with the same key returns the\nexisting job (HTTP 200) instead of creating and charging a new one\n(HTTP 202).\n","uniqueKey":"","typeLabel":"string"},"description":"Any unique string. Retrying a request with the same key returns the\nexisting job (HTTP 200) instead of creating and charging a new one\n(HTTP 202).\n"},"d0f02a41-a61b-4ecd-8370-2dde71eb56ff":{"name":"X-Workspace-Id","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Folder id (uuid) or slug. The job's output is filed into this folder\nwhen the job completes. An unknown folder returns 404\n`workspace_not_found` and no job is created. If you cannot set\nheaders, send a top-level `workspace_id` field in the JSON body\ninstead. Not part of the generation input, so it does not affect\ncaching.\n","uniqueKey":"","typeLabel":"string"},"description":"Folder id (uuid) or slug. The job's output is filed into this folder\nwhen the job completes. An unknown folder returns 404\n`workspace_not_found` and no job is created. If you cannot set\nheaders, send a top-level `workspace_id` field in the JSON body\ninstead. Not part of the generation input, so it does not affect\ncaching.\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["step"],"properties":{"step":{"type":"string","minLength":1,"description":"Key of the pipeline step to run again. Must come after the first step.","example":"extend","isRequired":true,"uniqueKey":"step","typeLabel":"string"},"overrides":{"type":"object","additionalProperties":true,"description":"Input fields to change for the new job, for example an edited `prompt`. Cannot change `model`.","uniqueKey":"overrides","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"extend":{"title":"extend","value":{"step":"extend","overrides":{"prompt":"the camera keeps pushing in"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"8b0c28e9-3b2d-4c3e-ba82-2f8ad0553d5d":{"description":"Idempotency replay — the existing job for this `Idempotency-Key` (no new charge).","content":{"application/json":{"schema":{"type":"object","required":["id","status","stage","attempts","tool","input","output","error","progress_message","progress","progress_metadata","step_state","estimated_duration_ms","estimated_cost_cents","actual_cost_cents","pricing","provider","provider_model","provider_status","provider_job_id","completed_by_provider_model_id","last_attempt_provider_model_id","workspace_id","created_at","started_at","completed_at"],"properties":{"id":{"type":"string","example":"job_a1b2c3d4e5f6","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["queued","running","awaiting_confirmation","completed","failed","cancelled"],"description":"The status only moves forward: `queued` → `running` → `completed`,\n`failed` or `cancelled`. Everything a running job goes through —\nsending to the provider, uploading references, switching to another\nprovider — is a `stage` of `running`; a job never goes back to\n`queued`. (Older API builds also reported `submitting`; treat it as\n`running`.)\n\n`awaiting_confirmation` (multi-step pipelines only): the job finished a\nstep that asks for review and waits for `POST /jobs/{id}/confirm`. It\nis not terminal.\n","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"stage":{"oneOf":[{"type":"string","enum":["queued","submitting","uploading_references","rendering","retrying","finalizing",null],"description":"What the job is doing right now. `null` once the job is terminal, and\nwhile the job is `awaiting_confirmation`.\n- `queued` — waiting for a slot; no attempt yet\n- `submitting` — being sent to the provider\n- `uploading_references` — the provider is taking the reference files\n into its asset library (`progress_message` shows `n/m`)\n- `rendering` — the provider accepted the task and is generating\n- `retrying` — an attempt failed (the provider refused, failed or rate\n limited it); the job waits for its next attempt, usually on another\n provider. See `attempts`.\n- `finalizing` — the result is being saved and billed\n","isRequired":true,"uniqueKey":"stage.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["queued","submitting","uploading_references","rendering","retrying","finalizing",null],"description":"What the job is doing right now. `null` once the job is terminal, and\nwhile the job is `awaiting_confirmation`.\n- `queued` — waiting for a slot; no attempt yet\n- `submitting` — being sent to the provider\n- `uploading_references` — the provider is taking the reference files\n into its asset library (`progress_message` shows `n/m`)\n- `rendering` — the provider accepted the task and is generating\n- `retrying` — an attempt failed (the provider refused, failed or rate\n limited it); the job waits for its next attempt, usually on another\n provider. See `attempts`.\n- `finalizing` — the result is being saved and billed\n","isRequired":true,"uniqueKey":"stage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"stage","typeLabel":"enum\u003cstring> | null"},"attempts":{"type":"array","description":"Every provider tried for this job, oldest first. `provider` / `provider_model` are the newest one.","items":{"type":"object","description":"One provider tried for this job. A job can have several — when a\nprovider refuses or fails, the job moves on to the next one. Reference\nuploads and a resubmit at the same provider are part of one attempt.\n","properties":{"n":{"type":"integer","example":1,"uniqueKey":"attempts.items.[INDEX].n","typeLabel":"integer"},"provider":{"oneOf":[{"type":"string","example":"byteplus","uniqueKey":"attempts.items.[INDEX].provider.oneOf.0","typeLabel":"string"},{"type":"null","example":"byteplus","uniqueKey":"attempts.items.[INDEX].provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].provider","typeLabel":"string | null"},"model_key":{"oneOf":[{"type":"string","example":"byteplus:dreamina-seedance-2-5-260628","uniqueKey":"attempts.items.[INDEX].model_key.oneOf.0","typeLabel":"string"},{"type":"null","example":"byteplus:dreamina-seedance-2-5-260628","uniqueKey":"attempts.items.[INDEX].model_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].model_key","typeLabel":"string | null"},"status":{"type":"string","enum":["running","completed","failed","cancelled"],"uniqueKey":"attempts.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"Why a failed attempt failed, in a few words","example":"real person in the reference images","uniqueKey":"attempts.items.[INDEX].reason","typeLabel":"string"},"reason_code":{"type":"string","enum":["content_privacy","content_policy","quota","rate_limit","provider_error","timeout","expired","prompt_too_long"],"uniqueKey":"attempts.items.[INDEX].reason_code","typeLabel":"enum\u003cstring>"},"references_uploaded":{"type":"integer","description":"Reference files taken into the provider's asset library","uniqueKey":"attempts.items.[INDEX].references_uploaded","typeLabel":"integer"},"resubmitted":{"type":"boolean","description":"The provider refused the first submit and got the task again (with uploaded references)","uniqueKey":"attempts.items.[INDEX].resubmitted","typeLabel":"boolean"},"started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"attempts.items.[INDEX].started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"attempts.items.[INDEX].started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].started_at","typeLabel":"string\u003cdate-time> | null"},"ended_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"attempts.items.[INDEX].ended_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"attempts.items.[INDEX].ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].ended_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"attempts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"attempts","typeLabel":"object[]"},"tool":{"type":"string","description":"Internal tool id (e.g. `tool_2001a2b3c4d5` for video), not the `tool_key`. Do not compare it against `GET /tools` keys.","example":"tool_2001a2b3c4d5","isRequired":true,"uniqueKey":"tool","typeLabel":"string"},"input":{"type":"object","description":"The request body as submitted (model, prompt, ...)","isRequired":true,"uniqueKey":"input","typeLabel":"object"},"output":{"oneOf":[{"type":"object","description":"Canonical output envelope. Present only when the job is completed.","properties":{"version":{"type":"string","const":"v1","uniqueKey":"output.oneOf.0.version","typeLabel":"string"},"outputs":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Stable varg-hosted URL (s3.varg.ai)","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].url","typeLabel":"string"},"file_id":{"type":"string","description":"The file record for this output — use with /files and /lineage","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].file_id","typeLabel":"string"},"media_type":{"type":"string","example":"video/mp4","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].media_type","typeLabel":"string"},"size_bytes":{"type":"integer","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].size_bytes","typeLabel":"integer"},"thumbnail_url":{"oneOf":[{"type":"string","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].thumbnail_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].thumbnail_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.oneOf.0.outputs.items.[INDEX].thumbnail_url","typeLabel":"string | null"},"data":{"description":"Inline structured result (no file). Used by `video/analyze` and transcription.","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].data","typeLabel":"any"},"raw":{"description":"Provider-specific extra data","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].raw","typeLabel":"any"}},"uniqueKey":"output.oneOf.0.outputs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"output.oneOf.0.outputs","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"output.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"output.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output","typeLabel":"object | null"},"error":{"oneOf":[{"type":"string","description":"Human-readable failure message. `null` unless the job failed or was cancelled.","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable failure message. `null` unless the job failed or was cancelled.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"},"progress_message":{"oneOf":[{"type":"string","example":"stitching 3/8 (40%)","isRequired":true,"uniqueKey":"progress_message.oneOf.0","typeLabel":"string"},{"type":"null","example":"stitching 3/8 (40%)","isRequired":true,"uniqueKey":"progress_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"progress_message","typeLabel":"string | null"},"progress":{"oneOf":[{"type":"number","description":"Fraction 0..1","isRequired":true,"uniqueKey":"progress.oneOf.0","typeLabel":"number"},{"type":"null","description":"Fraction 0..1","isRequired":true,"uniqueKey":"progress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"progress","typeLabel":"number | null"},"progress_metadata":{"oneOf":[{"type":"object","isRequired":true,"uniqueKey":"progress_metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"progress_metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"progress_metadata","typeLabel":"object | null"},"step_state":{"oneOf":[{"type":"object","description":"Multi-step pipeline jobs only: the current step and each step's\nstatus, intermediate output and cost. `null` for ordinary jobs.\n","properties":{"current_step":{"oneOf":[{"type":"string","example":"extend","uniqueKey":"step_state.oneOf.0.current_step.oneOf.0","typeLabel":"string"},{"type":"null","example":"extend","uniqueKey":"step_state.oneOf.0.current_step.oneOf.1","typeLabel":"null"}],"uniqueKey":"step_state.oneOf.0.current_step","typeLabel":"string | null"},"steps":{"type":"object","additionalProperties":{"type":"object","properties":{"status":{"type":"string","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.status","typeLabel":"string"},"output_url":{"oneOf":[{"type":"string","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.output_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.output_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"step_state.oneOf.0.steps.additionalProperties.output_url","typeLabel":"string | null"},"cost":{"oneOf":[{"type":"integer","description":"Cents","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.cost.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Cents","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"step_state.oneOf.0.steps.additionalProperties.cost","typeLabel":"integer | null"}},"uniqueKey":"step_state.oneOf.0.steps.additionalProperties","typeLabel":"object"},"uniqueKey":"step_state.oneOf.0.steps","typeLabel":"object"}},"isRequired":true,"uniqueKey":"step_state.oneOf.0","typeLabel":"object"},{"type":"null","description":"Multi-step pipeline jobs only: the current step and each step's\nstatus, intermediate output and cost. `null` for ordinary jobs.\n","properties":{"current_step":{"oneOf":[{"type":"string","example":"extend"},{"type":"null","example":"extend"}]},"steps":{"type":"object","additionalProperties":{"type":"object","properties":{"status":{"type":"string"},"output_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"cost":{"oneOf":[{"type":"integer","description":"Cents"},{"type":"null","description":"Cents"}]}}}}},"isRequired":true,"uniqueKey":"step_state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"step_state","typeLabel":"object | null"},"estimated_duration_ms":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"estimated_duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"estimated_duration_ms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimated_duration_ms","typeLabel":"integer | null"},"estimated_cost_cents":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"estimated_cost_cents.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"estimated_cost_cents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimated_cost_cents","typeLabel":"integer | null"},"actual_cost_cents":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"actual_cost_cents.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"actual_cost_cents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"actual_cost_cents","typeLabel":"integer | null"},"pricing":{"type":"object","description":"Structured pricing. 1 credit = 1 cent = $0.01.","properties":{"estimated":{"oneOf":[{"type":"integer","description":"Reserved at creation (cents)","uniqueKey":"pricing.estimated.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Reserved at creation (cents)","uniqueKey":"pricing.estimated.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.estimated","typeLabel":"integer | null"},"actual":{"oneOf":[{"type":"integer","description":"Charged at completion (cents). 0 for cache hits.","uniqueKey":"pricing.actual.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Charged at completion (cents). 0 for cache hits.","uniqueKey":"pricing.actual.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.actual","typeLabel":"integer | null"},"billing":{"oneOf":[{"type":"string","uniqueKey":"pricing.billing.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"pricing.billing.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.billing","typeLabel":"string | null"},"cached":{"oneOf":[{"type":"boolean","description":"true when the result came from cache (actual = 0)","uniqueKey":"pricing.cached.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"true when the result came from cache (actual = 0)","uniqueKey":"pricing.cached.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.cached","typeLabel":"boolean | null"},"billed_units":{"oneOf":[{"type":"object","example":{"images":1},"uniqueKey":"pricing.billed_units.oneOf.0","typeLabel":"object"},{"type":"null","example":{"images":1},"uniqueKey":"pricing.billed_units.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.billed_units","typeLabel":"object | null"},"pricing_id":{"oneOf":[{"type":"string","description":"The pinned pricing rule this job was charged under","uniqueKey":"pricing.pricing_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pinned pricing rule this job was charged under","uniqueKey":"pricing.pricing_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.pricing_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"pricing","typeLabel":"object"},"provider":{"oneOf":[{"type":"string","example":"fal","isRequired":true,"uniqueKey":"provider.oneOf.0","typeLabel":"string"},{"type":"null","example":"fal","isRequired":true,"uniqueKey":"provider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider","typeLabel":"string | null"},"provider_model":{"oneOf":[{"type":"string","example":"fal:flux_schnell","isRequired":true,"uniqueKey":"provider_model.oneOf.0","typeLabel":"string"},{"type":"null","example":"fal:flux_schnell","isRequired":true,"uniqueKey":"provider_model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider_model","typeLabel":"string | null"},"provider_status":{"oneOf":[{"type":"string","description":"The provider's raw status string","isRequired":true,"uniqueKey":"provider_status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider's raw status string","isRequired":true,"uniqueKey":"provider_status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider_status","typeLabel":"string | null"},"provider_job_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"provider_job_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"provider_job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider_job_id","typeLabel":"string | null"},"completed_by_provider_model_id":{"oneOf":[{"type":"string","description":"Provider model route that completed the job","isRequired":true,"uniqueKey":"completed_by_provider_model_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider model route that completed the job","isRequired":true,"uniqueKey":"completed_by_provider_model_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completed_by_provider_model_id","typeLabel":"string | null"},"last_attempt_provider_model_id":{"oneOf":[{"type":"string","description":"Provider model route of the most recent attempt","isRequired":true,"uniqueKey":"last_attempt_provider_model_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider model route of the most recent attempt","isRequired":true,"uniqueKey":"last_attempt_provider_model_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_attempt_provider_model_id","typeLabel":"string | null"},"workspace_id":{"oneOf":[{"type":"string","description":"Folder the outputs are filed into (see `X-Workspace-Id`)","isRequired":true,"uniqueKey":"workspace_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Folder the outputs are filed into (see `X-Workspace-Id`)","isRequired":true,"uniqueKey":"workspace_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"workspace_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"started_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"started_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completed_at","typeLabel":"string\u003cdate-time> | null"},"warnings":{"type":"array","description":"Present on creation responses when the request was adjusted (for example a resolution fallback)","items":{"type":"string","uniqueKey":"warnings.items.[INDEX]","typeLabel":"string"},"uniqueKey":"warnings","typeLabel":"string[]"},"urls":{"type":"object","description":"Lifecycle URLs (present on creation responses)","properties":{"self":{"type":"string","uniqueKey":"urls.self","typeLabel":"string"},"status":{"type":"string","uniqueKey":"urls.status","typeLabel":"string"},"refresh":{"type":"string","uniqueKey":"urls.refresh","typeLabel":"string"},"cancel":{"type":"string","uniqueKey":"urls.cancel","typeLabel":"string"},"retry":{"type":"string","uniqueKey":"urls.retry","typeLabel":"string"},"confirm":{"type":"string","uniqueKey":"urls.confirm","typeLabel":"string"},"rerun":{"type":"string","uniqueKey":"urls.rerun","typeLabel":"string"}},"uniqueKey":"urls","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"job_a1b2c3d4e5f6","status":"queued","stage":"queued","attempts":[{"n":1,"provider":"byteplus","model_key":"byteplus:dreamina-seedance-2-5-260628","status":"running","reason":"real person in the reference images","reason_code":"content_privacy","references_uploaded":123,"resubmitted":true,"started_at":"2023-11-07T05:31:56Z","ended_at":"2023-11-07T05:31:56Z"}],"tool":"tool_2001a2b3c4d5","input":{},"output":{"version":"v1","outputs":[{"url":"\u003cstring>","file_id":"\u003cstring>","media_type":"video/mp4","size_bytes":123,"thumbnail_url":"\u003cstring>","data":"\u003cunknown>","raw":"\u003cunknown>"}]},"error":"\u003cstring>","progress_message":"stitching 3/8 (40%)","progress":123,"progress_metadata":{},"step_state":{"current_step":"extend","steps":{}},"estimated_duration_ms":123,"estimated_cost_cents":123,"actual_cost_cents":123,"pricing":{"estimated":123,"actual":123,"billing":"\u003cstring>","cached":true,"billed_units":{"images":1},"pricing_id":"\u003cstring>"},"provider":"fal","provider_model":"fal:flux_schnell","provider_status":"\u003cstring>","provider_job_id":"\u003cstring>","completed_by_provider_model_id":"\u003cstring>","last_attempt_provider_model_id":"\u003cstring>","workspace_id":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","started_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","warnings":["\u003cstring>"],"urls":{"self":"\u003cstring>","status":"\u003cstring>","refresh":"\u003cstring>","cancel":"\u003cstring>","retry":"\u003cstring>","confirm":"\u003cstring>","rerun":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"bec90e1d-d542-4d5a-a1b2-ee5ff358da29":{"description":"Job created and queued. Poll `urls.self` until terminal.","headers":{"X-RateLimit-Limit":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"string"}},"X-RateLimit-Reset":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["id","status","stage","attempts","tool","input","output","error","progress_message","progress","progress_metadata","step_state","estimated_duration_ms","estimated_cost_cents","actual_cost_cents","pricing","provider","provider_model","provider_status","provider_job_id","completed_by_provider_model_id","last_attempt_provider_model_id","workspace_id","created_at","started_at","completed_at"],"properties":{"id":{"type":"string","example":"job_a1b2c3d4e5f6","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["queued","running","awaiting_confirmation","completed","failed","cancelled"],"description":"The status only moves forward: `queued` → `running` → `completed`,\n`failed` or `cancelled`. Everything a running job goes through —\nsending to the provider, uploading references, switching to another\nprovider — is a `stage` of `running`; a job never goes back to\n`queued`. (Older API builds also reported `submitting`; treat it as\n`running`.)\n\n`awaiting_confirmation` (multi-step pipelines only): the job finished a\nstep that asks for review and waits for `POST /jobs/{id}/confirm`. It\nis not terminal.\n","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"stage":{"oneOf":[{"type":"string","enum":["queued","submitting","uploading_references","rendering","retrying","finalizing",null],"description":"What the job is doing right now. `null` once the job is terminal, and\nwhile the job is `awaiting_confirmation`.\n- `queued` — waiting for a slot; no attempt yet\n- `submitting` — being sent to the provider\n- `uploading_references` — the provider is taking the reference files\n into its asset library (`progress_message` shows `n/m`)\n- `rendering` — the provider accepted the task and is generating\n- `retrying` — an attempt failed (the provider refused, failed or rate\n limited it); the job waits for its next attempt, usually on another\n provider. See `attempts`.\n- `finalizing` — the result is being saved and billed\n","isRequired":true,"uniqueKey":"stage.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["queued","submitting","uploading_references","rendering","retrying","finalizing",null],"description":"What the job is doing right now. `null` once the job is terminal, and\nwhile the job is `awaiting_confirmation`.\n- `queued` — waiting for a slot; no attempt yet\n- `submitting` — being sent to the provider\n- `uploading_references` — the provider is taking the reference files\n into its asset library (`progress_message` shows `n/m`)\n- `rendering` — the provider accepted the task and is generating\n- `retrying` — an attempt failed (the provider refused, failed or rate\n limited it); the job waits for its next attempt, usually on another\n provider. See `attempts`.\n- `finalizing` — the result is being saved and billed\n","isRequired":true,"uniqueKey":"stage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"stage","typeLabel":"enum\u003cstring> | null"},"attempts":{"type":"array","description":"Every provider tried for this job, oldest first. `provider` / `provider_model` are the newest one.","items":{"type":"object","description":"One provider tried for this job. A job can have several — when a\nprovider refuses or fails, the job moves on to the next one. Reference\nuploads and a resubmit at the same provider are part of one attempt.\n","properties":{"n":{"type":"integer","example":1,"uniqueKey":"attempts.items.[INDEX].n","typeLabel":"integer"},"provider":{"oneOf":[{"type":"string","example":"byteplus","uniqueKey":"attempts.items.[INDEX].provider.oneOf.0","typeLabel":"string"},{"type":"null","example":"byteplus","uniqueKey":"attempts.items.[INDEX].provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].provider","typeLabel":"string | null"},"model_key":{"oneOf":[{"type":"string","example":"byteplus:dreamina-seedance-2-5-260628","uniqueKey":"attempts.items.[INDEX].model_key.oneOf.0","typeLabel":"string"},{"type":"null","example":"byteplus:dreamina-seedance-2-5-260628","uniqueKey":"attempts.items.[INDEX].model_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].model_key","typeLabel":"string | null"},"status":{"type":"string","enum":["running","completed","failed","cancelled"],"uniqueKey":"attempts.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"Why a failed attempt failed, in a few words","example":"real person in the reference images","uniqueKey":"attempts.items.[INDEX].reason","typeLabel":"string"},"reason_code":{"type":"string","enum":["content_privacy","content_policy","quota","rate_limit","provider_error","timeout","expired","prompt_too_long"],"uniqueKey":"attempts.items.[INDEX].reason_code","typeLabel":"enum\u003cstring>"},"references_uploaded":{"type":"integer","description":"Reference files taken into the provider's asset library","uniqueKey":"attempts.items.[INDEX].references_uploaded","typeLabel":"integer"},"resubmitted":{"type":"boolean","description":"The provider refused the first submit and got the task again (with uploaded references)","uniqueKey":"attempts.items.[INDEX].resubmitted","typeLabel":"boolean"},"started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"attempts.items.[INDEX].started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"attempts.items.[INDEX].started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].started_at","typeLabel":"string\u003cdate-time> | null"},"ended_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"attempts.items.[INDEX].ended_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"attempts.items.[INDEX].ended_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"attempts.items.[INDEX].ended_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"attempts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"attempts","typeLabel":"object[]"},"tool":{"type":"string","description":"Internal tool id (e.g. `tool_2001a2b3c4d5` for video), not the `tool_key`. Do not compare it against `GET /tools` keys.","example":"tool_2001a2b3c4d5","isRequired":true,"uniqueKey":"tool","typeLabel":"string"},"input":{"type":"object","description":"The request body as submitted (model, prompt, ...)","isRequired":true,"uniqueKey":"input","typeLabel":"object"},"output":{"oneOf":[{"type":"object","description":"Canonical output envelope. Present only when the job is completed.","properties":{"version":{"type":"string","const":"v1","uniqueKey":"output.oneOf.0.version","typeLabel":"string"},"outputs":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Stable varg-hosted URL (s3.varg.ai)","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].url","typeLabel":"string"},"file_id":{"type":"string","description":"The file record for this output — use with /files and /lineage","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].file_id","typeLabel":"string"},"media_type":{"type":"string","example":"video/mp4","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].media_type","typeLabel":"string"},"size_bytes":{"type":"integer","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].size_bytes","typeLabel":"integer"},"thumbnail_url":{"oneOf":[{"type":"string","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].thumbnail_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].thumbnail_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.oneOf.0.outputs.items.[INDEX].thumbnail_url","typeLabel":"string | null"},"data":{"description":"Inline structured result (no file). Used by `video/analyze` and transcription.","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].data","typeLabel":"any"},"raw":{"description":"Provider-specific extra data","uniqueKey":"output.oneOf.0.outputs.items.[INDEX].raw","typeLabel":"any"}},"uniqueKey":"output.oneOf.0.outputs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"output.oneOf.0.outputs","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"output.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"output.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output","typeLabel":"object | null"},"error":{"oneOf":[{"type":"string","description":"Human-readable failure message. `null` unless the job failed or was cancelled.","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable failure message. `null` unless the job failed or was cancelled.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"string | null"},"progress_message":{"oneOf":[{"type":"string","example":"stitching 3/8 (40%)","isRequired":true,"uniqueKey":"progress_message.oneOf.0","typeLabel":"string"},{"type":"null","example":"stitching 3/8 (40%)","isRequired":true,"uniqueKey":"progress_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"progress_message","typeLabel":"string | null"},"progress":{"oneOf":[{"type":"number","description":"Fraction 0..1","isRequired":true,"uniqueKey":"progress.oneOf.0","typeLabel":"number"},{"type":"null","description":"Fraction 0..1","isRequired":true,"uniqueKey":"progress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"progress","typeLabel":"number | null"},"progress_metadata":{"oneOf":[{"type":"object","isRequired":true,"uniqueKey":"progress_metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"progress_metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"progress_metadata","typeLabel":"object | null"},"step_state":{"oneOf":[{"type":"object","description":"Multi-step pipeline jobs only: the current step and each step's\nstatus, intermediate output and cost. `null` for ordinary jobs.\n","properties":{"current_step":{"oneOf":[{"type":"string","example":"extend","uniqueKey":"step_state.oneOf.0.current_step.oneOf.0","typeLabel":"string"},{"type":"null","example":"extend","uniqueKey":"step_state.oneOf.0.current_step.oneOf.1","typeLabel":"null"}],"uniqueKey":"step_state.oneOf.0.current_step","typeLabel":"string | null"},"steps":{"type":"object","additionalProperties":{"type":"object","properties":{"status":{"type":"string","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.status","typeLabel":"string"},"output_url":{"oneOf":[{"type":"string","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.output_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.output_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"step_state.oneOf.0.steps.additionalProperties.output_url","typeLabel":"string | null"},"cost":{"oneOf":[{"type":"integer","description":"Cents","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.cost.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Cents","uniqueKey":"step_state.oneOf.0.steps.additionalProperties.cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"step_state.oneOf.0.steps.additionalProperties.cost","typeLabel":"integer | null"}},"uniqueKey":"step_state.oneOf.0.steps.additionalProperties","typeLabel":"object"},"uniqueKey":"step_state.oneOf.0.steps","typeLabel":"object"}},"isRequired":true,"uniqueKey":"step_state.oneOf.0","typeLabel":"object"},{"type":"null","description":"Multi-step pipeline jobs only: the current step and each step's\nstatus, intermediate output and cost. `null` for ordinary jobs.\n","properties":{"current_step":{"oneOf":[{"type":"string","example":"extend"},{"type":"null","example":"extend"}]},"steps":{"type":"object","additionalProperties":{"type":"object","properties":{"status":{"type":"string"},"output_url":{"oneOf":[{"type":"string"},{"type":"null"}]},"cost":{"oneOf":[{"type":"integer","description":"Cents"},{"type":"null","description":"Cents"}]}}}}},"isRequired":true,"uniqueKey":"step_state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"step_state","typeLabel":"object | null"},"estimated_duration_ms":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"estimated_duration_ms.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"estimated_duration_ms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimated_duration_ms","typeLabel":"integer | null"},"estimated_cost_cents":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"estimated_cost_cents.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"estimated_cost_cents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimated_cost_cents","typeLabel":"integer | null"},"actual_cost_cents":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"actual_cost_cents.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"actual_cost_cents.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"actual_cost_cents","typeLabel":"integer | null"},"pricing":{"type":"object","description":"Structured pricing. 1 credit = 1 cent = $0.01.","properties":{"estimated":{"oneOf":[{"type":"integer","description":"Reserved at creation (cents)","uniqueKey":"pricing.estimated.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Reserved at creation (cents)","uniqueKey":"pricing.estimated.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.estimated","typeLabel":"integer | null"},"actual":{"oneOf":[{"type":"integer","description":"Charged at completion (cents). 0 for cache hits.","uniqueKey":"pricing.actual.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Charged at completion (cents). 0 for cache hits.","uniqueKey":"pricing.actual.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.actual","typeLabel":"integer | null"},"billing":{"oneOf":[{"type":"string","uniqueKey":"pricing.billing.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"pricing.billing.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.billing","typeLabel":"string | null"},"cached":{"oneOf":[{"type":"boolean","description":"true when the result came from cache (actual = 0)","uniqueKey":"pricing.cached.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"true when the result came from cache (actual = 0)","uniqueKey":"pricing.cached.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.cached","typeLabel":"boolean | null"},"billed_units":{"oneOf":[{"type":"object","example":{"images":1},"uniqueKey":"pricing.billed_units.oneOf.0","typeLabel":"object"},{"type":"null","example":{"images":1},"uniqueKey":"pricing.billed_units.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.billed_units","typeLabel":"object | null"},"pricing_id":{"oneOf":[{"type":"string","description":"The pinned pricing rule this job was charged under","uniqueKey":"pricing.pricing_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The pinned pricing rule this job was charged under","uniqueKey":"pricing.pricing_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing.pricing_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"pricing","typeLabel":"object"},"provider":{"oneOf":[{"type":"string","example":"fal","isRequired":true,"uniqueKey":"provider.oneOf.0","typeLabel":"string"},{"type":"null","example":"fal","isRequired":true,"uniqueKey":"provider.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider","typeLabel":"string | null"},"provider_model":{"oneOf":[{"type":"string","example":"fal:flux_schnell","isRequired":true,"uniqueKey":"provider_model.oneOf.0","typeLabel":"string"},{"type":"null","example":"fal:flux_schnell","isRequired":true,"uniqueKey":"provider_model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider_model","typeLabel":"string | null"},"provider_status":{"oneOf":[{"type":"string","description":"The provider's raw status string","isRequired":true,"uniqueKey":"provider_status.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider's raw status string","isRequired":true,"uniqueKey":"provider_status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider_status","typeLabel":"string | null"},"provider_job_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"provider_job_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"provider_job_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"provider_job_id","typeLabel":"string | null"},"completed_by_provider_model_id":{"oneOf":[{"type":"string","description":"Provider model route that completed the job","isRequired":true,"uniqueKey":"completed_by_provider_model_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider model route that completed the job","isRequired":true,"uniqueKey":"completed_by_provider_model_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completed_by_provider_model_id","typeLabel":"string | null"},"last_attempt_provider_model_id":{"oneOf":[{"type":"string","description":"Provider model route of the most recent attempt","isRequired":true,"uniqueKey":"last_attempt_provider_model_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Provider model route of the most recent attempt","isRequired":true,"uniqueKey":"last_attempt_provider_model_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_attempt_provider_model_id","typeLabel":"string | null"},"workspace_id":{"oneOf":[{"type":"string","description":"Folder the outputs are filed into (see `X-Workspace-Id`)","isRequired":true,"uniqueKey":"workspace_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Folder the outputs are filed into (see `X-Workspace-Id`)","isRequired":true,"uniqueKey":"workspace_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"workspace_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"started_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"started_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completed_at","typeLabel":"string\u003cdate-time> | null"},"warnings":{"type":"array","description":"Present on creation responses when the request was adjusted (for example a resolution fallback)","items":{"type":"string","uniqueKey":"warnings.items.[INDEX]","typeLabel":"string"},"uniqueKey":"warnings","typeLabel":"string[]"},"urls":{"type":"object","description":"Lifecycle URLs (present on creation responses)","properties":{"self":{"type":"string","uniqueKey":"urls.self","typeLabel":"string"},"status":{"type":"string","uniqueKey":"urls.status","typeLabel":"string"},"refresh":{"type":"string","uniqueKey":"urls.refresh","typeLabel":"string"},"cancel":{"type":"string","uniqueKey":"urls.cancel","typeLabel":"string"},"retry":{"type":"string","uniqueKey":"urls.retry","typeLabel":"string"},"confirm":{"type":"string","uniqueKey":"urls.confirm","typeLabel":"string"},"rerun":{"type":"string","uniqueKey":"urls.rerun","typeLabel":"string"}},"uniqueKey":"urls","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"queued":{"title":"queued","value":{"id":"job_a1b2c3d4e5f6","status":"queued","stage":"queued","attempts":[],"tool":"tool_a1b2c3d4e5f6","input":{"model":"flux_schnell","prompt":"a cat astronaut"},"output":null,"error":null,"progress_message":null,"progress":null,"progress_metadata":null,"step_state":null,"estimated_duration_ms":8000,"estimated_cost_cents":4,"actual_cost_cents":null,"pricing":{"estimated":4,"actual":null,"billing":"metered","cached":null,"billed_units":null,"pricing_id":"ppr_abc123"},"provider":"fal","provider_model":"fal:flux_schnell","provider_status":null,"provider_job_id":null,"completed_by_provider_model_id":null,"last_attempt_provider_model_id":null,"workspace_id":null,"created_at":"2026-07-01T10:00:00Z","started_at":null,"completed_at":null,"urls":{"self":"https://api.varg.ai/v2/jobs/job_a1b2c3d4e5f6","status":"https://api.varg.ai/v2/jobs/job_a1b2c3d4e5f6/status","refresh":"https://api.varg.ai/v2/jobs/job_a1b2c3d4e5f6/refresh","cancel":"https://api.varg.ai/v2/jobs/job_a1b2c3d4e5f6/cancel","retry":"https://api.varg.ai/v2/jobs/job_a1b2c3d4e5f6/retry"}}}},"exampleType":"examples"}},"exampleType":"examples"},"b5288067-98fd-43dc-b391-366f7745eb8c":{"description":"Missing or invalid API key / JWT","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"model_not_found","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Unknown model: flux-shnell","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"unauthorized":{"title":"unauthorized","value":{"error":{"code":"unauthorized","message":"Invalid or missing API key or JWT"}}}},"exampleType":"examples"}},"exampleType":"examples"},"79bbaf9f-0d09-4961-9ff1-756d0a8bffb4":{"description":"Balance does not cover the remaining steps. The job is left as it was.\n`details` tells \"out of credits\" from \"credits held by running jobs\".\n","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"insufficient_balance","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","properties":{"needed_cents":{"type":"integer","description":"Credits the operation needs","uniqueKey":"error.details.needed_cents","typeLabel":"integer"},"available_cents":{"type":"integer","description":"Credits usable right now (total minus on hold)","uniqueKey":"error.details.available_cents","typeLabel":"integer"},"reserved_cents":{"type":"integer","description":"Credits held by running jobs","uniqueKey":"error.details.reserved_cents","typeLabel":"integer"},"total_cents":{"type":"integer","description":"Balance before holds","uniqueKey":"error.details.total_cents","typeLabel":"integer"},"held_jobs":{"type":"integer","description":"Running jobs that hold credits","uniqueKey":"error.details.held_jobs","typeLabel":"integer"},"job_id":{"type":"string","description":"The job that stays paused","uniqueKey":"error.details.job_id","typeLabel":"string"}},"uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"held":{"title":"held","value":{"error":{"code":"insufficient_balance","message":"Needs 40 credits; 25 available right now (60 on hold for 2 running jobs)","details":{"needed_cents":40,"available_cents":25,"reserved_cents":60,"total_cents":85,"held_jobs":2,"job_id":"job_a1b2c3d4e5f6"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"62972713-1e1f-464b-a065-f476a6f09ca3":{"description":"Unknown job (or not owned by the caller)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"model_not_found","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Unknown model: flux-shnell","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_found","message":"Unknown model: flux-shnell","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"771731c6-8a95-459e-8a26-d0c519f6bf4d":{"description":"The source job is not finished, or is not a multi-step pipeline job","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"model_not_found","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Unknown model: flux-shnell","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_found","message":"Unknown model: flux-shnell","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"dca54705-a5d1-45d3-8ad1-b6e4046451a9":{"description":"Invalid body, or `step` is unknown or the first step (`invalid_step`)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"model_not_found","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Unknown model: flux-shnell","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_found","message":"Unknown model: flux-shnell","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5fc5cde5-63cf-4fb6-8ab6-ee692be3c41b":{"description":"Rate limit exceeded (sliding window per API key)","headers":{"Retry-After":{"schema":{"type":"string"}},"X-RateLimit-Limit":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"string"}},"X-RateLimit-Reset":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"model_not_found","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Unknown model: flux-shnell","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_found","message":"Unknown model: flux-shnell","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c13fd0ff-12c7-44c9-806d-968e1ae74c2d":{"bearerAuth":{"type":"http","scheme":"bearer","description":"varg API key (`varg_...`). Get one at [app.varg.ai](https://app.varg.ai)\nor run `bunx vargai login`. App sessions may alternatively send a\nSupabase JWT.\n","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"6415ef2b-ead3-41a4-9bec-7b332113d6a8":{"url":"https://api.varg.ai/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"varg API key (`varg_...`). Get one at [app.varg.ai](https://app.varg.ai)\nor run `bunx vargai login`. App sessions may alternatively send a\nSupabase JWT.\n","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"varg API key (`varg_...`). Get one at [app.varg.ai](https://app.varg.ai)\nor run `bunx vargai login`. App sessions may alternatively send a\nSupabase JWT.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"vargai","siteName":"varg","title":"Re-run a finished pipeline job from a later step - varg","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T16:27:17.852Z","originalFileLocation":"api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Regenerates one step of a finished multi-step pipeline job (\u0026quot;redo part 2\u0026quot;) without paying for the earlier steps again. Creates a new job with the source job\u0026#x27;s input (plus overrides); the steps before step are carried over from the source job at no cost, and only step and the steps after it run and bill. The source job is not changed. The source job must be finished (completed, failed or cancelled) and be a multi-step pipeline job. step must be a later step of that pipeline, not the first one (re-running the first step is a new pipeline job). overrides cannot switch the pipeline model. The response is the same as creating a pipeline job: 202 with the new job, or 200 when Idempotency-Key matches an existing job. Errors of the pipeline create path (insufficient balance, rate limits) apply too.\">\u003cmeta data-mint-head name=\"application-name\" content=\"varg\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Re-run a finished pipeline job from a later step - varg\">\u003cmeta data-mint-head property=\"og:description\" content=\"Regenerates one step of a finished multi-step pipeline job (\u0026quot;redo part 2\u0026quot;) without paying for the earlier steps again. Creates a new job with the source job\u0026#x27;s input (plus overrides); the steps before step are carried over from the source job at no cost, and only step and the steps after it run and bill. The source job is not changed. The source job must be finished (completed, failed or cancelled) and be a multi-step pipeline job. step must be a later step of that pipeline, not the first one (re-running the first step is a new pipeline job). overrides cannot switch the pipeline model. The response is the same as creating a pipeline job: 202 with the new job, or 200 when Idempotency-Key matches an existing job. Errors of the pipeline create path (insufficient balance, rate limits) apply too.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"varg\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vargai.mintlify.site/_mintlify/api/og/v2?division=Jobs\u0026amp;title=Re-run+a+finished+pipeline+job+from+a+later+step\u0026amp;description=Regenerates+one+step+of+a+finished+multi-step+pipeline+job+%28%22redo+part%0A2%22%29+without+paying+for+the+earlier+steps+again.+Creates+a+**new**+job%0Awith+the+source+job\u0026amp;theme=8e4322200b2c6ec3222c2f2d\u0026amp;signature=d976102faa812758088dd22b37055a4db3776f21450611292e71ec8d5f4d9b6f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Re-run a finished pipeline job from a later step - varg\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Regenerates one step of a finished multi-step pipeline job (\u0026quot;redo part 2\u0026quot;) without paying for the earlier steps again. Creates a new job with the source job\u0026#x27;s input (plus overrides); the steps before step are carried over from the source job at no cost, and only step and the steps after it run and bill. The source job is not changed. The source job must be finished (completed, failed or cancelled) and be a multi-step pipeline job. step must be a later step of that pipeline, not the first one (re-running the first step is a new pipeline job). overrides cannot switch the pipeline model. The response is the same as creating a pipeline job: 202 with the new job, or 200 when Idempotency-Key matches an existing job. Errors of the pipeline create path (insufficient balance, rate limits) apply too.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vargai.mintlify.site/_mintlify/api/og/v2?division=Jobs\u0026amp;title=Re-run+a+finished+pipeline+job+from+a+later+step\u0026amp;description=Regenerates+one+step+of+a+finished+multi-step+pipeline+job+%28%22redo+part%0A2%22%29+without+paying+for+the+earlier+steps+again.+Creates+a+**new**+job%0Awith+the+source+job\u0026amp;theme=8e4322200b2c6ec3222c2f2d\u0026amp;signature=d976102faa812758088dd22b37055a4db3776f21450611292e71ec8d5f4d9b6f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vargai/LJMR_3vGQnsy6v-B/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"varg\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.varg.ai/#organization\",\"name\":\"varg\",\"url\":\"https://docs.varg.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vargai/zXqiSRlI6Ucs30SP/logo/light.svg?fit=max\u0026auto=format\u0026n=zXqiSRlI6Ucs30SP\u0026q=85\u0026s=0cceec4fdf0144f327c9e64745254c58\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.varg.ai#website\",\"name\":\"varg\",\"url\":\"https://docs.varg.ai\",\"publisher\":{\"@id\":\"https://docs.varg.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step#webpage\",\"url\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step\",\"name\":\"Re-run a finished pipeline job from a later step\",\"description\":\"Regenerates one step of a finished multi-step pipeline job (\\\"redo part 2\\\") without paying for the earlier steps again. Creates a new job with the source job's input (plus overrides); the steps before step are carried over from the source job at no cost, and only step and the steps after it run and bill. The source job is not changed. The source job must be finished (completed, failed or cancelled) and be a multi-step pipeline job. step must be a later step of that pipeline, not the first one (re-running the first step is a new pipeline job). overrides cannot switch the pipeline model. The response is the same as creating a pipeline job: 202 with the new job, or 200 when Idempotency-Key matches an existing job. Errors of the pipeline create path (insufficient balance, rate limits) apply too.\",\"dateModified\":\"2026-10-20T16:27:17.852Z\",\"isPartOf\":{\"@id\":\"https://docs.varg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Jobs\",\"item\":\"https://docs.varg.ai/api-reference/jobs/list-jobs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Re-run a finished pipeline job from a later step\",\"item\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step#apireference\",\"headline\":\"Re-run a finished pipeline job from a later step\",\"name\":\"Re-run a finished pipeline job from a later step\",\"description\":\"Regenerates one step of a finished multi-step pipeline job (\\\"redo part 2\\\") without paying for the earlier steps again. Creates a new job with the source job's input (plus overrides); the steps before step are carried over from the source job at no cost, and only step and the steps after it run and bill. The source job is not changed. The source job must be finished (completed, failed or cancelled) and be a multi-step pipeline job. step must be a later step of that pipeline, not the first one (re-running the first step is a new pipeline job). overrides cannot switch the pipeline model. The response is the same as creating a pipeline job: 202 with the new job, or 200 when Idempotency-Key matches an existing job. Errors of the pipeline create path (insufficient balance, rate limits) apply too.\",\"url\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step\",\"mainEntityOfPage\":{\"@id\":\"https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step#webpage\"},\"dateModified\":\"2026-10-20T16:27:17.852Z\",\"publisher\":{\"@id\":\"https://docs.varg.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.varg.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"varg\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"varg","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/vargHQ/sdk"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/VAecJay7R9"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"varg API","href":"/api"},{"title":"OpenAPI spec","href":"/api/openapi"},{"title":"Folders","href":"/api/folders"},{"title":"Render API","href":"/render-api/index"}]},{"group":"Presets","pages":[{"title":"Presets","href":"/api/presets"},{"title":"List presets","deprecated":null,"version":null,"openapi":"/openapi.yaml get /presets","href":"/api-reference/presets/list-presets"},{"title":"Get preset filter axes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /presets/filters","href":"/api-reference/presets/get-preset-filter-axes"},{"title":"Get a preset","deprecated":null,"version":null,"openapi":"/openapi.yaml get /presets/{id}","href":"/api-reference/presets/get-a-preset"},{"title":"Apply presets to a request body","deprecated":null,"version":null,"openapi":"/openapi.yaml post /presets/apply","href":"/api-reference/presets/apply-presets-to-a-request-body"},{"title":"Recommend presets for an intent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /presets/recommend","href":"/api-reference/presets/recommend-presets-for-an-intent"}]},{"group":"Generation","pages":[{"title":"Generate an image","deprecated":null,"version":null,"openapi":"/openapi.yaml post /image","href":"/api-reference/generation/generate-an-image"},{"title":"Generate a video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /video","href":"/api-reference/generation/generate-a-video"},{"title":"Analyze a video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /video/analyze","href":"/api-reference/generation/analyze-a-video"},{"title":"Generate speech (TTS)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /speech","href":"/api-reference/generation/generate-speech-tts"},{"title":"Generate music","deprecated":null,"version":null,"openapi":"/openapi.yaml post /music","href":"/api-reference/generation/generate-music"},{"title":"Transcribe audio","deprecated":null,"version":null,"openapi":"/openapi.yaml post /transcription","href":"/api-reference/generation/transcribe-audio"},{"title":"Run an ffmpeg operation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /ffmpeg","href":"/api-reference/generation/run-an-ffmpeg-operation"},{"title":"Render TSX to video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /render","href":"/api-reference/generation/render-tsx-to-video"},{"title":"Run a custom pipeline","deprecated":null,"version":null,"openapi":"/openapi.yaml post /pipeline","href":"/api-reference/generation/run-a-custom-pipeline"}]},{"group":"Tools","pages":[{"title":"List tools","deprecated":null,"version":null,"openapi":"/openapi.yaml get /tools","href":"/api-reference/tools/list-tools"},{"title":"Get tool metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml get /tools/{tool_key}","href":"/api-reference/tools/get-tool-metadata"},{"title":"Call a tool generically","deprecated":null,"version":null,"openapi":"/openapi.yaml post /tools/{tool_key}/call","href":"/api-reference/tools/call-a-tool-generically"},{"title":"List a tool's models","deprecated":null,"version":null,"openapi":"/openapi.yaml get /tools/{tool_key}/models","href":"/api-reference/tools/list-a-tools-models"},{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.yaml get /models","href":"/api-reference/tools/list-models"}]},{"group":"Jobs","pages":[{"title":"List jobs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /jobs","href":"/api-reference/jobs/list-jobs"},{"title":"Get a job","deprecated":null,"version":null,"openapi":"/openapi.yaml get /jobs/{id}","href":"/api-reference/jobs/get-a-job"},{"title":"Get job status (lightweight)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /jobs/{id}/status","href":"/api-reference/jobs/get-job-status-lightweight"},{"title":"Get job pricing breakdown","deprecated":null,"version":null,"openapi":"/openapi.yaml get /jobs/{id}/price","href":"/api-reference/jobs/get-job-pricing-breakdown"},{"title":"Refresh a job","deprecated":null,"version":null,"openapi":"/openapi.yaml post /jobs/{id}/refresh","href":"/api-reference/jobs/refresh-a-job"},{"title":"Cancel a job","deprecated":null,"version":null,"openapi":"/openapi.yaml post /jobs/{id}/cancel","href":"/api-reference/jobs/cancel-a-job"},{"title":"Retry a failed job","deprecated":null,"version":null,"openapi":"/openapi.yaml post /jobs/{id}/retry","href":"/api-reference/jobs/retry-a-failed-job"},{"title":"Get what a job and its run were charged","deprecated":null,"version":null,"openapi":"/openapi.yaml get /jobs/{id}/cost","href":"/api-reference/jobs/get-what-a-job-and-its-run-were-charged"},{"title":"Approve, retry or reject a paused job","description":"Resumes or ends a multi-step pipeline job that is paused in\n`awaiting_confirmation` after a step that asked for confirmation.\nThe job's `step_state` shows each step's status and intermediate output.\n\n- `approve` (default) runs the next step.\n- `retry` runs the same step again (a new take). Use `overrides` to\n change the input, for example an edited prompt.\n- `reject` cancels the job. Steps already completed stay billed.\n\nThe steps completed so far are billed when the job pauses and the hold\nis released, so `approve` and `retry` reserve the estimate for the\nremaining steps again. If the balance does not cover it, the response is\n`402 insufficient_balance` and the job stays paused: add credits and\nconfirm again. The response is the job, now `queued` (approve/retry) or\n`cancelled` (reject).\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /jobs/{id}/confirm","href":"/api-reference/jobs/approve-retry-or-reject-a-paused-job"},{"title":"Re-run a finished pipeline job from a later step","deprecated":null,"version":null,"openapi":"/openapi.yaml post /jobs/{id}/rerun","href":"/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step"}]},{"group":"Files","pages":[{"title":"Upload a file","description":"Upload a file (max 200 MB) as a raw binary body or as\n`multipart/form-data`. For a raw body, set `Content-Type` to the file's\nmedia type; any non-JSON `Content-Type` is treated as the media type.\nWhen it's missing or generic, varg sniffs the type from magic bytes.\nMultipart uploads take the file in the `file` part (or the first file\npart) and an optional `workspace_id` text field.\n\nSend `X-Content-Hash: sha256:\u003chex>` to enable deduplication — if your\naccount already has a file with the same content, the existing file is\nreturned instantly (`deduplicated: true`) without re-uploading. Use\n`GET /files/check?hash=` to pre-check before sending bytes.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /files","href":"/api-reference/files/upload-a-file"},{"title":"List files","deprecated":null,"version":null,"openapi":"/openapi.yaml get /files","href":"/api-reference/files/list-files"},{"title":"Import a file by URL","deprecated":null,"version":null,"openapi":"/openapi.yaml post /files/import","href":"/api-reference/files/import-a-file-by-url"},{"title":"Probe a URL's media metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml post /files/probe","href":"/api-reference/files/probe-a-urls-media-metadata"},{"title":"Check for an existing file by hash","deprecated":null,"version":null,"openapi":"/openapi.yaml get /files/check","href":"/api-reference/files/check-for-an-existing-file-by-hash"},{"title":"Get file metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml get /files/{id}","href":"/api-reference/files/get-file-metadata"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /files/{id}","href":"/api-reference/files/delete-a-file"},{"title":"Rate or comment on a file","deprecated":null,"version":null,"openapi":"/openapi.yaml post /files/{id}/feedback","href":"/api-reference/files/rate-or-comment-on-a-file"},{"title":"List feedback for a file","deprecated":null,"version":null,"openapi":"/openapi.yaml get /files/{id}/feedback","href":"/api-reference/files/list-feedback-for-a-file"},{"title":"Remove your rating on a file","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /files/{id}/feedback","href":"/api-reference/files/remove-your-rating-on-a-file"},{"title":"Start a large file upload","deprecated":null,"version":null,"openapi":"/openapi.yaml post /files/upload-session","href":"/api-reference/files/start-a-large-file-upload"},{"title":"Upload bytes to an upload session","deprecated":null,"version":null,"openapi":"/openapi.yaml put /files/upload/{session_id}","href":"/api-reference/files/upload-bytes-to-an-upload-session"},{"title":"List files with lineage","deprecated":null,"version":null,"openapi":"/openapi.yaml get /resources/files","href":"/api-reference/files/list-files-with-lineage"},{"title":"Get a file with lineage","deprecated":null,"version":null,"openapi":"/openapi.yaml get /resources/files/{id}","href":"/api-reference/files/get-a-file-with-lineage"},{"title":"Rename a file","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /resources/files/{id}","href":"/api-reference/files/rename-a-file"},{"title":"Favorite or unfavorite a file","deprecated":null,"version":null,"openapi":"/openapi.yaml post /resources/files/{id}/favorite","href":"/api-reference/files/favorite-or-unfavorite-a-file"},{"title":"Resolve a file to the job that created it","deprecated":null,"version":null,"openapi":"/openapi.yaml post /lineage","href":"/api-reference/lineage/resolve-a-file-to-the-job-that-created-it"}]},{"group":"Folders","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /workspaces","href":"/api-reference/folders/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/openapi.yaml post /workspaces","href":"/api-reference/folders/create-a-folder"},{"title":"Get a folder","deprecated":null,"version":null,"openapi":"/openapi.yaml get /workspaces/{id}","href":"/api-reference/folders/get-a-folder"},{"title":"Rename a folder or change its slug","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /workspaces/{id}","href":"/api-reference/folders/rename-a-folder-or-change-its-slug"},{"title":"List files in a folder","deprecated":null,"version":null,"openapi":"/openapi.yaml get /workspaces/{id}/files","href":"/api-reference/folders/list-files-in-a-folder"},{"title":"Add files to a folder","deprecated":null,"version":null,"openapi":"/openapi.yaml post /workspaces/{id}/files","href":"/api-reference/folders/add-files-to-a-folder"},{"title":"Remove a file from a folder","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /workspaces/{id}/files/{file_id}","href":"/api-reference/folders/remove-a-file-from-a-folder"}]},{"group":"Templates","pages":[{"title":"Browse and search templates","deprecated":null,"version":null,"openapi":"/openapi.yaml get /templates","href":"/api-reference/templates/browse-and-search-templates"},{"title":"List template tags","deprecated":null,"version":null,"openapi":"/openapi.yaml get /templates/tags","href":"/api-reference/templates/list-template-tags"},{"title":"Get a template","deprecated":null,"version":null,"openapi":"/openapi.yaml get /templates/{id}","href":"/api-reference/templates/get-a-template"},{"title":"Increment the use counter","deprecated":null,"version":null,"openapi":"/openapi.yaml post /templates/{id}/use","href":"/api-reference/templates/increment-the-use-counter"},{"title":"Render a template to video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /templates/{id}/render","href":"/api-reference/templates/render-a-template-to-video"},{"title":"Publish a document as a template","deprecated":null,"version":null,"openapi":"/openapi.yaml post /templates","href":"/api-reference/templates/publish-a-document-as-a-template"},{"title":"Withdraw a template","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /templates/{id}","href":"/api-reference/templates/withdraw-a-template"},{"title":"List your templates","deprecated":null,"version":null,"openapi":"/openapi.yaml get /templates/my","href":"/api-reference/templates/list-your-templates"},{"title":"List your favorite templates","deprecated":null,"version":null,"openapi":"/openapi.yaml get /templates/favorites","href":"/api-reference/templates/list-your-favorite-templates"},{"title":"Toggle favorite","deprecated":null,"version":null,"openapi":"/openapi.yaml post /templates/{id}/favorite","href":"/api-reference/templates/toggle-favorite"}]},{"group":"Pricing \u0026 Billing","pages":[{"title":"Estimate a price without creating a job","deprecated":null,"version":null,"openapi":"/openapi.yaml post /estimate","href":"/api-reference/pricing/estimate-a-price-without-creating-a-job"},{"title":"Get the price catalog (public)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /pricing","href":"/api-reference/pricing/get-the-price-catalog-public"},{"title":"Get balance","deprecated":null,"version":null,"openapi":"/openapi.yaml get /billing/balance","href":"/api-reference/billing/get-balance"},{"title":"Get usage records","deprecated":null,"version":null,"openapi":"/openapi.yaml get /billing/usage","href":"/api-reference/billing/get-usage-records"},{"title":"Get transaction ledger","deprecated":null,"version":null,"openapi":"/openapi.yaml get /billing/transactions","href":"/api-reference/billing/get-transaction-ledger"}]},{"group":"Analytics","pages":[{"title":"Spend summary","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics/summary","href":"/api-reference/analytics/spend-summary"},{"title":"Spend over time","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics/timeseries","href":"/api-reference/analytics/spend-over-time"},{"title":"Spend breakdown","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics/breakdown","href":"/api-reference/analytics/spend-breakdown"},{"title":"List charges or runs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics/activity","href":"/api-reference/analytics/list-charges-or-runs"},{"title":"Files generated over time","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics/files","href":"/api-reference/analytics/files-generated-over-time"},{"title":"Analytics definitions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics/meta","href":"/api-reference/analytics/analytics-definitions"}]},{"group":"Account","pages":[{"title":"Get the authenticated account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /me","href":"/api-reference/account/get-the-authenticated-account"},{"title":"List API keys","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api-keys","href":"/api-reference/account/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api-keys","href":"/api-reference/account/create-an-api-key"},{"title":"Rename an API key","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /api-keys/{id}","href":"/api-reference/account/rename-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api-keys/{id}","href":"/api-reference/account/revoke-an-api-key"},{"title":"Reveal an API key","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api-keys/{id}/reveal","href":"/api-reference/account/reveal-an-api-key"},{"title":"List who an API key is shared with","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api-keys/{id}/shares","href":"/api-reference/account/list-who-an-api-key-is-shared-with"},{"title":"Share an API key","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api-keys/{id}/shares","href":"/api-reference/account/share-an-api-key"},{"title":"Remove someone from an API key","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api-keys/{id}/shares/{userId}","href":"/api-reference/account/remove-someone-from-an-api-key"},{"title":"Get a connection's team binding","deprecated":null,"version":null,"openapi":"/openapi.yaml get /me/connection","href":"/api-reference/account/get-a-connections-team-binding"},{"title":"Set a connection's team binding","deprecated":null,"version":null,"openapi":"/openapi.yaml put /me/connection","href":"/api-reference/account/set-a-connections-team-binding"}]}]}]},"basePath":"","title":"Re-run a finished pipeline job from a later step - varg","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}