bitbybit-dev · Schema

TaskListResponse

Success envelope containing a paginated task list

3D CADTypeScriptPlatformCreative CodingModeling

Properties

Name Type Description
ok boolean
data object
View JSON Schema on GitHub

JSON Schema

bitbybit-dev-task-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bitbybit-dev/json-schema/bitbybit-dev-task-list-response-schema.json",
  "title": "TaskListResponse",
  "description": "Success envelope containing a paginated task list",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bitbybit-dev-tasks-api-openapi.yml#/components/schemas/TaskListResponse",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    },
    "data": {
      "$ref": "#/$defs/TaskList"
    }
  },
  "required": [
    "ok",
    "data"
  ],
  "additionalProperties": false,
  "$defs": {
    "ResultPartMeta": {
      "type": "object",
      "properties": {
        "mime": {
          "type": "string",
          "description": "MIME type of the result file (e.g. 'model/gltf-binary', 'application/step')"
        },
        "bytes": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "Size of the result file in bytes"
        }
      },
      "required": [
        "mime",
        "bytes"
      ],
      "additionalProperties": false,
      "description": "Metadata about a single downloadable result part"
    },
    "TaskDetail": {
      "type": "object",
      "properties": {
        "taskId": {
          "type": "string",
          "description": "Unique task identifier for polling and result retrieval",
          "format": "uuid"
        },
        "kind": {
          "$ref": "#/$defs/TaskKind"
        },
        "label": {
          "type": "string",
          "description": "Human-readable task label"
        },
        "status": {
          "$ref": "#/$defs/TaskStatus"
        },
        "progress": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "description": "Completion percentage (0–100) or null if progress is not tracked for this task kind"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Error message when status is 'failed'. Null for all other statuses."
        },
        "resultParts": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "$ref": "#/$defs/ResultPartMeta"
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Available result files keyed by format (e.g. 'glb', 'step'). Null until task completes."
        },
        "metadata": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            },
            {
              "type": "null"
            }
          ],
          "description": "Additional task metadata (e.g. resolved parameters, model name). Shape varies by task kind."
        },
        "createdAt": {
          "type": "string",
          "description": "ISO 8601 timestamp when the task was created"
        },
        "startedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "ISO 8601 timestamp when processing began. Null if still queued."
        },
        "finishedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "ISO 8601 timestamp when the task completed (success or failure). Null if still running."
        },
        "expiresAt": {
          "type": "string",
          "description": "ISO 8601 timestamp when task results will be automatically deleted"
        }
      },
      "required": [
        "taskId",
        "kind",
        "label",
        "status",
        "progress",
        "error",
        "resultParts",
        "metadata",
        "createdAt",
        "startedAt",
        "finishedAt",
        "expiresAt"
      ],
      "additionalProperties": false,
      "description": "Complete task status including lifecycle timestamps, progress, and result metadata"
    },
    "TaskKind": {
      "type": "string",
      "enum": [
        "cad",
        "model",
        "convert-simple",
        "convert-advanced",
        "pipeline",
        "compound",
        "tenant"
      ],
      "description": "Type of work: 'cad' (single operation), 'model' (parametric model), 'convert-simple'/'convert-advanced' (file conversion), 'pipeline' (sequential chain), 'compound' (parallel batch), 'tenant' (tenant-scoped)"
    },
    "TaskList": {
      "type": "object",
      "properties": {
        "tasks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TaskDetail"
          }
        },
        "page": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 1000
        },
        "limit": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 50
        },
        "total": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "tasks",
        "page",
        "limit",
        "total"
      ],
      "additionalProperties": false,
      "description": "Paginated list of tasks with total count"
    },
    "TaskStatus": {
      "type": "string",
      "enum": [
        "waiting",
        "queued",
        "processing",
        "completed",
        "failed",
        "cancelled",
        "expired"
      ],
      "description": "Task lifecycle state: waiting (pending dependencies), queued (in queue), processing (actively computing), completed (result available), failed (error occurred), cancelled (user-cancelled), expired (result TTL exceeded)"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bitbybit-dev-task-list-response"
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.