Task
Lifecycle row for an async operation (generations, uploads, scans, exports). Returned by `/v1/tasks` so external clients can poll their jobs the same way the in-app UI does.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| action | string | High-level grouping of the operation. |
| kind | string | Specific operation — e.g. `generate.quick`, `generate.restyle`, `generate.video`, `generate.angles`, `upload`, `scan`, `export`. |
| status | string | |
| progress | integer | Best-effort 0-100; many endpoints leave it at 0. |
| error | stringnull | User-facing error message if `status=failed`. |
| label | stringnull | |
| origin | stringnull | Where the task was triggered from. `API` for external callers, plus values like `Prompter`, `Card menu`, `Pose editor`. |
| display_meta | objectnull | Free-form metadata (aspect ratio, project id, thumbnail path) used by the UI placeholder. Safe for external clients to display verbatim. |
| intent | objectnull | Endpoint + body the task originated from. Used internally for retries. |
| retries | integer | How many retry attempts have been made. |
| max_retries | integer | |
| provider | objectnull | External-system tracking for async providers (Kling video, future Runway/Pika/etc.). `null` for synchronous providers like Gemini. |
| generation_id | stringnull | FK to the resulting Generation, if applicable. |
| asset_id | stringnull | FK to the resulting Asset, if applicable. |
| scan_result_id | stringnull | |
| parent_task_id | stringnull | For batched operations — points to the parent Task. |
| started_at | string | |
| completed_at | stringnull | |
| created_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nanostudiopro-com/json-schema/nanostudiopro-com-task-schema.json",
"title": "Task",
"description": "Lifecycle row for an async operation (generations, uploads, scans, exports). Returned by `/v1/tasks` so external clients can poll their jobs the same way the in-app UI does.",
"x-generated": "2026-11-19",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nanostudiopro-com-openapi.json#/components/schemas/Task",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"action": {
"type": "string",
"enum": [
"upload",
"scan",
"export",
"generate"
],
"description": "High-level grouping of the operation."
},
"kind": {
"type": "string",
"description": "Specific operation — e.g. `generate.quick`, `generate.restyle`, `generate.video`, `generate.angles`, `upload`, `scan`, `export`."
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"complete",
"failed",
"canceled"
]
},
"progress": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Best-effort 0-100; many endpoints leave it at 0."
},
"error": {
"type": [
"string",
"null"
],
"description": "User-facing error message if `status=failed`."
},
"label": {
"type": [
"string",
"null"
]
},
"origin": {
"type": [
"string",
"null"
],
"description": "Where the task was triggered from. `API` for external callers, plus values like `Prompter`, `Card menu`, `Pose editor`."
},
"display_meta": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"description": "Free-form metadata (aspect ratio, project id, thumbnail path) used by the UI placeholder. Safe for external clients to display verbatim."
},
"intent": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"description": "Endpoint + body the task originated from. Used internally for retries."
},
"retries": {
"type": "integer",
"description": "How many retry attempts have been made."
},
"max_retries": {
"type": "integer"
},
"provider": {
"type": [
"object",
"null"
],
"description": "External-system tracking for async providers (Kling video, future Runway/Pika/etc.). `null` for synchronous providers like Gemini.",
"properties": {
"key": {
"type": "string"
},
"task_id": {
"type": [
"string",
"null"
],
"description": "External system's job id."
},
"status": {
"type": [
"string",
"null"
],
"description": "Provider-specific status string."
},
"updated_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
},
"generation_id": {
"type": [
"string",
"null"
],
"description": "FK to the resulting Generation, if applicable."
},
"asset_id": {
"type": [
"string",
"null"
],
"description": "FK to the resulting Asset, if applicable."
},
"scan_result_id": {
"type": [
"string",
"null"
]
},
"parent_task_id": {
"type": [
"string",
"null"
],
"description": "For batched operations — points to the parent Task."
},
"started_at": {
"type": "string",
"format": "date-time"
},
"completed_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/nanostudiopro-com-task"
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.