Generic equivalent of the sugar routes — POST /tools/image/call is the
same as POST /image. Useful for dynamic clients that discover tools at
runtime via GET /tools.
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":""},"chroma":{"liveDeploymentHistoryId":"6ad796606e89f16d0374690b","collectionId":"e4746ea0-e668-46dc-aa68-8e29fe7a3341","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad796606e89f16d0374690b"},"feedback":{"thumbs":true,"issues":true},"entitlements":{},"buildId":"6ad7966a0b9b371cf43481a1","clientVersion":"0.0.4067","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":"vite-origin","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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/tools/call-a-tool-generically","slug":"/api-reference/tools/call-a-tool-generically","pageMetadata":{"title":"Call a tool generically","description":"Generic equivalent of the sugar routes — `POST /tools/image/call` is the\nsame as `POST /image`. Useful for dynamic clients that discover tools at\nruntime via `GET /tools`.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /tools/{tool_key}/call","href":"/api-reference/tools/call-a-tool-generically","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Generic equivalent of the sugar routes — \", _jsx(_components.code, {\n children: \"POST /tools/image/call\"\n }), \" is the\\nsame as \", _jsx(_components.code, {\n children: \"POST /image\"\n }), \". Useful for dynamic clients that discover tools at\\nruntime via \", _jsx(_components.code, {\n children: \"GET /tools\"\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":"Call a tool generically","description":"Generic equivalent of the sugar routes — `POST /tools/image/call` is the\nsame as `POST /image`. Useful for dynamic clients that discover tools at\nruntime via `GET /tools`.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /tools/{tool_key}/call","href":"/api-reference/tools/call-a-tool-generically","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Tools"],"operationId":"callTool","summary":"Call a tool generically","description":"Generic equivalent of the sugar routes — `POST /tools/image/call` is the\nsame as `POST /image`. Useful for dynamic clients that discover tools at\nruntime via `GET /tools`.\n","parameters":["a064507d-9ab4-4bc7-8521-14332f3c3817","710369c1-4708-42b4-97c7-2ca6fa361451","22525868-db27-4c1b-8e1e-5454ced2c1d0"],"requestBody":"fe4d6d29-9336-43a2-bb3c-5035bcabff71","responses":{"200":"f8e381c0-76bb-4b07-ab5d-491db5c7ca1d","202":"7b1a5d18-6e21-432e-94f0-9b1fb8fbea30","400":"5272cc8a-0d9c-441d-af1a-35a40fb12899","401":"ba08453e-6723-444d-9d8b-f69716c2420b","402":"c340d5a6-7779-4b13-b20e-d7de2b2ca44f","403":"24e128db-0b35-44c0-b42f-50416e0a864a","404":"066a894b-80ea-4ea4-9279-abdd853d38da","422":"a948a4bc-f3a7-4b7a-b759-5bda1bd46645","429":"424b1e35-480c-441f-a555-5c9797bc7f1c"},"method":"post","type":"path","servers":["6415ef2b-ead3-41a4-9bec-7b332113d6a8"],"security":["c13fd0ff-12c7-44c9-806d-968e1ae74c2d"],"path":"/tools/{tool_key}/call","baseUrlOptions":["https://api.varg.ai/v2"],"title":"Call a tool generically","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a064507d-9ab4-4bc7-8521-14332f3c3817":{"name":"tool_key","in":"path","required":true,"schema":{"type":"string","enum":["image","video","video_analyze","speech","music","transcription","ffmpeg","render","pipeline"],"isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"710369c1-4708-42b4-97c7-2ca6fa361451":{"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"},"22525868-db27-4c1b-8e1e-5454ced2c1d0":{"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":["model"],"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"model","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"image":{"title":"image","value":{"model":"flux_schnell","prompt":"a cat astronaut"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"f8e381c0-76bb-4b07-ab5d-491db5c7ca1d":{"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"},"7b1a5d18-6e21-432e-94f0-9b1fb8fbea30":{"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"},"5272cc8a-0d9c-441d-af1a-35a40fb12899":{"description":"Body is not a JSON object (`invalid_request`)","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"},"ba08453e-6723-444d-9d8b-f69716c2420b":{"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"},"c340d5a6-7779-4b13-b20e-d7de2b2ca44f":{"description":"Account balance too low to reserve the estimated cost. `error.details` shows the shortfall and how much is held by running jobs.","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":{"insufficient":{"title":"insufficient","value":{"error":{"code":"insufficient_balance","message":"Insufficient balance to run this job","details":{"needed_cents":120,"available_cents":40,"reserved_cents":300,"total_cents":340,"held_jobs":2,"job_id":"job_a1b2c3d4e5f6"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"24e128db-0b35-44c0-b42f-50416e0a864a":{"description":"An input references a blocked domain (`forbidden`)","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"},"066a894b-80ea-4ea4-9279-abdd853d38da":{"description":"Unknown model (`model_not_found`), tool (`tool_not_found`) or folder (`workspace_not_found`)","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":{"model":{"title":"model","value":{"error":{"code":"model_not_found","message":"Unknown model: flux-shnell"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a948a4bc-f3a7-4b7a-b759-5bda1bd46645":{"description":"Request body failed validation","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":{"invalid":{"title":"invalid","value":{"error":{"code":"invalid_request","message":"Body validation failed (text: Required)"}}}},"exampleType":"examples"}},"exampleType":"examples"},"424b1e35-480c-441f-a555-5c9797bc7f1c":{"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":"Call a tool generically - varg","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T16:27:17.616Z","originalFileLocation":"api-reference/tools/call-a-tool-generically.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=\"Generic equivalent of the sugar routes — POST /tools/image/call is the same as POST /image. Useful for dynamic clients that discover tools at runtime via GET /tools.\">\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=\"Call a tool generically - varg\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generic equivalent of the sugar routes — POST /tools/image/call is the same as POST /image. Useful for dynamic clients that discover tools at runtime via GET /tools.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"varg\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vargai.mintlify.app/_mintlify/api/og/v2?division=Tools\u0026amp;title=Call+a+tool+generically\u0026amp;description=Generic+equivalent+of+the+sugar+routes+%E2%80%94+%60POST+%2Ftools%2Fimage%2Fcall%60+is+the%0Asame+as+%60POST+%2Fimage%60.+Useful+for+dynamic+clients+that+discover+tools+at%0Aruntime+via+%60G\u0026amp;theme=8e4322200b2c6ec3222c2f2d\u0026amp;signature=9ea00614fabc096fb60027dbb54c44916b0479a5e3a273be967d8fd2698bd057\">\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=\"Call a tool generically - varg\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generic equivalent of the sugar routes — POST /tools/image/call is the same as POST /image. Useful for dynamic clients that discover tools at runtime via GET /tools.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vargai.mintlify.app/_mintlify/api/og/v2?division=Tools\u0026amp;title=Call+a+tool+generically\u0026amp;description=Generic+equivalent+of+the+sugar+routes+%E2%80%94+%60POST+%2Ftools%2Fimage%2Fcall%60+is+the%0Asame+as+%60POST+%2Fimage%60.+Useful+for+dynamic+clients+that+discover+tools+at%0Aruntime+via+%60G\u0026amp;theme=8e4322200b2c6ec3222c2f2d\u0026amp;signature=9ea00614fabc096fb60027dbb54c44916b0479a5e3a273be967d8fd2698bd057\">\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/tools/call-a-tool-generically\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tools/call-a-tool-generically.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/tools/call-a-tool-generically#webpage\",\"url\":\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically\",\"name\":\"Call a tool generically\",\"description\":\"Generic equivalent of the sugar routes — POST /tools/image/call is the same as POST /image. Useful for dynamic clients that discover tools at runtime via GET /tools.\",\"dateModified\":\"2026-10-20T16:27:17.616Z\",\"isPartOf\":{\"@id\":\"https://docs.varg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tools\",\"item\":\"https://docs.varg.ai/api-reference/tools/list-tools\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Call a tool generically\",\"item\":\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically#apireference\",\"headline\":\"Call a tool generically\",\"name\":\"Call a tool generically\",\"description\":\"Generic equivalent of the sugar routes — POST /tools/image/call is the same as POST /image. Useful for dynamic clients that discover tools at runtime via GET /tools.\",\"url\":\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically\",\"mainEntityOfPage\":{\"@id\":\"https://docs.varg.ai/api-reference/tools/call-a-tool-generically#webpage\"},\"dateModified\":\"2026-10-20T16:27:17.616Z\",\"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","description":"Full metadata for one tool: JSON Schema for its input, output shape,\nand a worked example. Auth is optional. Pass `?model=\u003cmodel>` to enrich `provider_options`\nwith the explicit per-provider schema for that model (instead of the\ngeneric passthrough bag).\n","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","description":"The models of one tool, paginated by canonical model. Same route and\npricing data as `GET /models`, plus a real generation `example` and the\nexplicit per-model `input_schema` (JSON Schema). Auth is optional;\n`pipeline` models are visible only to callers granted access.\n","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","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","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":"Call a tool generically - varg","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}