Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| status | object | |
| stage | object | |
| moderation | object | Present while generation is held for a retryable content-check failure. No generation provider is called until all checks pass. |
| attempts | array | Every provider tried for this job, oldest first. `provider` / `provider_model` are the newest one. |
| tool | string | Internal tool id (e.g. `tool_2001a2b3c4d5` for video). It differs between environments and is kept for backwards compatibility. Do not compare it against `GET /tools` keys; use `tool_key`. |
| tool_key | stringnull | Readable tool key (`image`, `video`, `speech`, `pipeline`, ...): the key of `GET /tools`, of the sugar route that created the job (`POST /video` → `video`), of `GET /files?tool=` and of lineage. `null |
| input | object | The request body as submitted (model, prompt, ...) |
| output | object | |
| error | stringnull | Human-readable failure message. `null` unless the job failed or was cancelled. |
| progress_message | stringnull | |
| progress | numbernull | Fraction 0..1 |
| progress_metadata | objectnull | |
| step_state | objectnull | Multi-step pipeline jobs only: the current step and each step's status, intermediate output and cost. `null` for ordinary jobs. |
| estimated_duration_ms | integernull | |
| estimated_cost_cents | integernull | |
| actual_cost_cents | integernull | |
| estimated_cost_usd | numbernull | `estimated_cost_cents` in dollars |
| actual_cost_usd | numbernull | `actual_cost_cents` in dollars |
| pricing | object | |
| provider | stringnull | |
| provider_model | stringnull | |
| provider_status | stringnull | The provider's raw status string |
| provider_job_id | stringnull | |
| completed_by_provider_model_id | stringnull | Provider model route that completed the job |
| last_attempt_provider_model_id | stringnull | Provider model route of the most recent attempt |
| workspace_id | stringnull | Folder the outputs are filed into (see `X-Workspace-Id`) |
| created_at | string | |
| started_at | stringnull | |
| completed_at | stringnull | |
| warnings | array | Present on creation responses when the request was adjusted (for example a resolution fallback) |
| urls | object | Lifecycle URLs (present on creation responses) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/varg-ai/json-schema/varg-ai-job-schema.json",
"title": "Job",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/varg-ai-openapi.json#/components/schemas/Job",
"type": "object",
"required": [
"id",
"status",
"stage",
"attempts",
"tool",
"tool_key",
"input",
"output",
"error",
"progress_message",
"progress",
"progress_metadata",
"step_state",
"estimated_duration_ms",
"estimated_cost_cents",
"actual_cost_cents",
"estimated_cost_usd",
"actual_cost_usd",
"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"
},
"status": {
"$ref": "#/$defs/JobStatus"
},
"stage": {
"$ref": "#/$defs/JobStage"
},
"moderation": {
"type": "object",
"description": "Present while generation is held for a retryable content-check failure. No generation provider is called until all checks pass.",
"properties": {
"status": {
"type": "string",
"enum": [
"pending"
]
},
"retryable": {
"type": "boolean",
"const": true
}
}
},
"attempts": {
"type": "array",
"description": "Every provider tried for this job, oldest first. `provider` / `provider_model` are the newest one.",
"items": {
"$ref": "#/$defs/JobAttempt"
}
},
"tool": {
"type": "string",
"description": "Internal tool id (e.g. `tool_2001a2b3c4d5` for video). It differs between environments and is kept for backwards compatibility. Do not compare it against `GET /tools` keys; use `tool_key`."
},
"tool_key": {
"type": [
"string",
"null"
],
"description": "Readable tool key (`image`, `video`, `speech`, `pipeline`, ...): the key of `GET /tools`, of the sugar route that created the job (`POST /video` → `video`), of `GET /files?tool=` and of lineage. `null` only if the tool registry could not be read."
},
"input": {
"type": "object",
"description": "The request body as submitted (model, prompt, ...)"
},
"output": {
"oneOf": [
{
"$ref": "#/$defs/JobOutput"
},
{
"type": "null"
}
]
},
"error": {
"type": [
"string",
"null"
],
"description": "Human-readable failure message. `null` unless the job failed or was cancelled."
},
"progress_message": {
"type": [
"string",
"null"
]
},
"progress": {
"type": [
"number",
"null"
],
"description": "Fraction 0..1"
},
"progress_metadata": {
"type": [
"object",
"null"
]
},
"step_state": {
"type": [
"object",
"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": {
"type": [
"string",
"null"
]
},
"steps": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"output_url": {
"type": [
"string",
"null"
]
},
"cost": {
"type": [
"integer",
"null"
],
"description": "Cents"
}
}
}
}
}
},
"estimated_duration_ms": {
"type": [
"integer",
"null"
]
},
"estimated_cost_cents": {
"type": [
"integer",
"null"
]
},
"actual_cost_cents": {
"type": [
"integer",
"null"
]
},
"estimated_cost_usd": {
"type": [
"number",
"null"
],
"description": "`estimated_cost_cents` in dollars"
},
"actual_cost_usd": {
"type": [
"number",
"null"
],
"description": "`actual_cost_cents` in dollars"
},
"pricing": {
"$ref": "#/$defs/JobPricing"
},
"provider": {
"type": [
"string",
"null"
]
},
"provider_model": {
"type": [
"string",
"null"
]
},
"provider_status": {
"type": [
"string",
"null"
],
"description": "The provider's raw status string"
},
"provider_job_id": {
"type": [
"string",
"null"
]
},
"completed_by_provider_model_id": {
"type": [
"string",
"null"
],
"description": "Provider model route that completed the job"
},
"last_attempt_provider_model_id": {
"type": [
"string",
"null"
],
"description": "Provider model route of the most recent attempt"
},
"workspace_id": {
"type": [
"string",
"null"
],
"description": "Folder the outputs are filed into (see `X-Workspace-Id`)"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"started_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"completed_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"warnings": {
"type": "array",
"description": "Present on creation responses when the request was adjusted (for example a resolution fallback)",
"items": {
"type": "string"
}
},
"urls": {
"type": "object",
"description": "Lifecycle URLs (present on creation responses)",
"properties": {
"self": {
"type": "string"
},
"status": {
"type": "string"
},
"refresh": {
"type": "string"
},
"cancel": {
"type": "string"
},
"retry": {
"type": "string"
},
"confirm": {
"type": "string"
},
"rerun": {
"type": "string"
}
}
}
},
"$defs": {
"JobAttempt": {
"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"
},
"provider": {
"type": [
"string",
"null"
]
},
"model_key": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"enum": [
"running",
"completed",
"failed",
"cancelled"
]
},
"reason": {
"type": "string",
"description": "Why a failed attempt failed, in a few words"
},
"reason_code": {
"type": "string",
"enum": [
"content_privacy",
"content_policy",
"quota",
"rate_limit",
"provider_error",
"timeout",
"expired",
"prompt_too_long"
]
},
"references_uploaded": {
"type": "integer",
"description": "Reference files taken into the provider's asset library"
},
"resubmitted": {
"type": "boolean",
"description": "The provider refused the first submit and got the task again (with uploaded references)"
},
"started_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"ended_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
},
"JobOutput": {
"type": "object",
"description": "Canonical output envelope. Present only when the job is completed.",
"properties": {
"version": {
"type": "string",
"const": "v1"
},
"outputs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Stable varg-hosted URL (s3.varg.ai)"
},
"file_id": {
"type": "string",
"description": "The file record for this output — use with /files and /lineage"
},
"media_type": {
"type": "string"
},
"size_bytes": {
"type": "integer"
},
"thumbnail_url": {
"type": [
"string",
"null"
]
},
"data": {
"description": "Inline structured result (no file). Used by `video/analyze` and transcription."
},
"raw": {
"description": "Provider-specific extra data"
}
}
}
}
}
},
"JobPricing": {
"type": "object",
"description": "Structured pricing. 1 credit = 1 cent = $0.01; pass-through provider pricing, no markup.",
"properties": {
"estimated": {
"type": [
"integer",
"null"
],
"description": "Reserved at creation (cents)"
},
"actual": {
"type": [
"integer",
"null"
],
"description": "Charged at completion (cents). 0 for cache hits."
},
"estimated_usd": {
"type": [
"number",
"null"
],
"description": "`estimated` in dollars"
},
"actual_usd": {
"type": [
"number",
"null"
],
"description": "`actual` in dollars"
},
"currency": {
"type": "string",
"enum": [
"usd"
]
},
"billing": {
"type": [
"string",
"null"
]
},
"cached": {
"type": [
"boolean",
"null"
],
"description": "true when the result came from cache (actual = 0)"
},
"billed_units": {
"type": [
"object",
"null"
]
},
"pricing_id": {
"type": [
"string",
"null"
],
"description": "The pinned pricing rule this job was charged under"
}
}
},
"JobStage": {
"type": [
"string",
"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"
},
"JobStatus": {
"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\nA generation awaiting content checks is reported as `queued` with\n`moderation.status: pending` and a hold explanation in `progress_message`.\nIt cannot be dispatched. `POST /jobs/{id}/retry` retries moderation.\n"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/varg-ai-job"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.