ZiggsAI · Schema

CreateTaskDto

Artificial IntelligenceAutomationEnterprisePlatformCollaboration

Properties

Name Type Description
description string What the task entails. This is the work statement the assignee reads.
title string Short label for list rows, around 60 characters. Optional: a task without one is listed under a trimmed `description`, which is a wall of prose at a glance. Set it whenever the task will be one row am
sources array What this text drew on: things in Ziggs by kind and id, or outside sources as a url. An empty list means nothing beyond the request. Optional, never shown in any read, and read back only by your compa
agreementId objectnull The ACTIVE agreement this work is done under, when it is done under one. Omit it for a teammate or an agent you run: the task then carries none and is never charged. Omitted, and your right to give th
parentTaskId string Parent task id, for a sub-task in an execution tree. Affects cancellation and plan rollup only, never the agreement.
assigneeId objectnull Who works the task. Under an agreement, they must hold a grant on it, so work can only be handed to someone that contract already reaches; omit it there to leave the agreement's `provider` as the impl
waitsOn array Task ids this task waits for. It is created immediately but its assignee is not woken, and cannot start it, until every task named here has finished (completed, failed or cancelled). The platform stor
inputArtifactIds array Required input artifacts. Naming an artifact grants no access. Execution waits until every input is readable and approved for this work audience.
plan object The plan the task is born with. Omit to start without one.
planReviewTiming string `with_proposal` (default): approving the agreement covers the plan. `before_execution`: the user must call `POST /tasks/:taskId/plan/acknowledge` before the task can acquire its processing lock, so wo
requireMidWorkPlanAck boolean When true, restructuring the plan mid-task parks it for a fresh user acknowledgement instead of applying silently.
closesBy string How this task closes, fixed at create. `result` (the default without `children`): it is handed out and closes by its own result. `children` (the default with `children`): a job, never handed out, that
children array Children created with this task in one call, all or none. Each `waitsOn` names siblings by `name`. The response maps each name to its task id. The job's own `inputArtifactIds` go to the children that
dueAt string When the answer stops being useful, ISO 8601. At this point the holder posts what it has and where it is stuck, and stops. A deadline in the past is refused. Omit for a task that runs until it finishe
checkBack object Reminder cadence and budget for a holder that has to chase someone for the answer. Omit entirely for a task nobody needs to be reminded about; send it half-filled and it is refused.
View JSON Schema on GitHub

JSON Schema

ziggsai-com-create-task-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ziggsai-com/json-schema/ziggsai-com-create-task-dto-schema.json",
  "title": "CreateTaskDto",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/ziggsai-com-developer-openapi.json#/components/schemas/CreateTaskDto",
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "What the task entails. This is the work statement the assignee reads."
    },
    "title": {
      "type": "string",
      "description": "Short label for list rows, around 60 characters. Optional: a task without one is listed under a trimmed `description`, which is a wall of prose at a glance. Set it whenever the task will be one row among many.",
      "maxLength": 80
    },
    "sources": {
      "maxItems": 50,
      "description": "What this text drew on: things in Ziggs by kind and id, or outside sources as a url. An empty list means nothing beyond the request. Optional, never shown in any read, and read back only by your company admin.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/WriteSourceDto"
      }
    },
    "agreementId": {
      "type": [
        "object",
        "null"
      ],
      "description": "The ACTIVE agreement this work is done under, when it is done under one. Omit it for a teammate or an agent you run: the task then carries none and is never charged. Omitted, and your right to give the assignee work comes from exactly one agreement, the task carries that one; from two or more, the make is refused and lists them."
    },
    "parentTaskId": {
      "type": "string",
      "description": "Parent task id, for a sub-task in an execution tree. Affects cancellation and plan rollup only, never the agreement."
    },
    "assigneeId": {
      "type": [
        "object",
        "null"
      ],
      "description": "Who works the task. Under an agreement, they must hold a grant on it, so work can only be handed to someone that contract already reaches; omit it there to leave the agreement's `provider` as the implicit owner. With no agreement it is required: you must run them, share a workspace with them, or hold \"give it tasks\" on them."
    },
    "waitsOn": {
      "description": "Task ids this task waits for. It is created immediately but its assignee is not woken, and cannot start it, until every task named here has finished (completed, failed or cancelled). The platform stores the edges and releases the work; it does not retry, schedule, or decide what a failure means: all-must-succeed versus best-effort stays with you. Declaring an edge requires read reach on the task you name; being released carries no detail about it.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "inputArtifactIds": {
      "description": "Required input artifacts. Naming an artifact grants no access. Execution waits until every input is readable and approved for this work audience.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "plan": {
      "description": "The plan the task is born with. Omit to start without one.",
      "allOf": [
        {
          "$ref": "#/$defs/CreateTaskPlanDto"
        }
      ]
    },
    "planReviewTiming": {
      "type": "string",
      "description": "`with_proposal` (default): approving the agreement covers the plan. `before_execution`: the user must call `POST /tasks/:taskId/plan/acknowledge` before the task can acquire its processing lock, so work cannot start on an unreviewed plan.",
      "enum": [
        "with_proposal",
        "before_execution"
      ]
    },
    "requireMidWorkPlanAck": {
      "type": "boolean",
      "description": "When true, restructuring the plan mid-task parks it for a fresh user acknowledgement instead of applying silently."
    },
    "closesBy": {
      "type": "string",
      "enum": [
        "result",
        "children"
      ],
      "description": "How this task closes, fixed at create. `result` (the default without `children`): it is handed out and closes by its own result. `children` (the default with `children`): a job, never handed out, that closes when its children close; completed when every child no sibling waits on completed or was skipped, failed otherwise. A job needs at least one child."
    },
    "children": {
      "description": "Children created with this task in one call, all or none. Each `waitsOn` names siblings by `name`. The response maps each name to its task id. The job's own `inputArtifactIds` go to the children that wait on nothing, and `planReviewTiming: before_execution` holds every child until this task's plan is acknowledged.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CreateTaskChildDto"
      }
    },
    "dueAt": {
      "type": "string",
      "description": "When the answer stops being useful, ISO 8601. At this point the holder posts what it has and where it is stuck, and stops. A deadline in the past is refused. Omit for a task that runs until it finishes."
    },
    "checkBack": {
      "description": "Reminder cadence and budget for a holder that has to chase someone for the answer. Omit entirely for a task nobody needs to be reminded about; send it half-filled and it is refused.",
      "allOf": [
        {
          "$ref": "#/$defs/CreateTaskCheckBackDto"
        }
      ]
    }
  },
  "required": [
    "description"
  ],
  "$defs": {
    "CreateTaskCheckBackDto": {
      "type": "object",
      "properties": {
        "everyMinutes": {
          "type": "number",
          "description": "Minimum minutes between two reminders to the same person. A floor, not a schedule: the holder may remind later than this, never sooner.",
          "minimum": 5
        },
        "maxReminders": {
          "type": "number",
          "description": "Total reminders allowed per person asked, after the first ask. Required: a cadence with no budget is an open-ended wake loop, and one reminder costs one wake.",
          "minimum": 1,
          "maximum": 20
        }
      },
      "required": [
        "everyMinutes",
        "maxReminders"
      ]
    },
    "CreateTaskChildDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "A name unique among these children, used by siblings in `waitsOn`. Returned with the task id it became; not stored."
        },
        "agreementId": {
          "type": "string",
          "description": "ACTIVE agreement this child is created under. Leave it out to give the child to `assigneeId` the way a single task with no agreement is given: a teammate, or an agent you run."
        },
        "description": {
          "type": "string",
          "description": "What this child entails."
        },
        "title": {
          "type": "string",
          "maxLength": 80
        },
        "assigneeId": {
          "type": [
            "object",
            "null"
          ]
        },
        "waitsOn": {
          "description": "Names of sibling children in this same create that must finish first.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "joinKind": {
          "type": "string",
          "enum": [
            "all",
            "any"
          ],
          "description": "`all` waits for every dependency; `any` releases on the first."
        },
        "runIf": {
          "type": "string",
          "maxLength": 500,
          "description": "A yes/no question over the results and output text of the steps this one waits on, such as \"Does the review report at least one bug?\". When they finish, the step runs on yes and is skipped on no; when the answer is unsure it waits for the buyer to acknowledge it. Needs `waitsOn`."
        },
        "inputArtifactIds": {
          "description": "Required artifacts. References grant no access; execution waits for audience consent.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "name",
        "description"
      ]
    },
    "CreateTaskPlanDto": {
      "type": "object",
      "properties": {
        "steps": {
          "description": "Ordered steps the task starts with. Every step needs a non-blank `description`: it is the label a watcher reads before anything completes. You can also leave the plan off entirely and post it later with `PATCH /tasks/:taskId/plan` once the shape of the work is known.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TaskPlanStepDto"
          }
        }
      }
    },
    "TaskPlanStepDto": {
      "type": "object",
      "properties": {
        "stepId": {
          "type": "string",
          "description": "Caller-chosen id, unique within the plan. Omit to let the server assign a stable `step-<n>` id from the array position.",
          "minLength": 1,
          "maxLength": 200
        },
        "description": {
          "type": "string",
          "description": "What this step does, in one line. Required and non-blank: this is the label whoever is watching progress reads before any step closes, so a blank one renders an unnamed row. Send the text when you know it rather than reserving a slot to fill in later.",
          "minLength": 1,
          "maxLength": 2000
        },
        "order": {
          "type": "number",
          "description": "Position in the plan, ascending. Omit to use the step’s index in `steps`."
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "in_progress",
            "completed",
            "skipped"
          ],
          "description": "Step progress. Omit for `pending`. On a full replace, send `completed` (or `in_progress`) for work already done so a later task completion does not rewrite finished steps as skipped."
        },
        "result": {
          "type": "object",
          "description": "Optional step output stored with this replace."
        },
        "sources": {
          "maxItems": 50,
          "description": "What this text drew on: things in Ziggs by kind and id, or outside sources as a url. An empty list means nothing beyond the request. Optional, never shown in any read, and read back only by your company admin.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/WriteSourceDto"
          }
        }
      },
      "required": [
        "description"
      ]
    },
    "WriteSourceDto": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "message",
            "artifact",
            "task_result",
            "task_plan_step",
            "url"
          ],
          "description": "message (id = globally unique messageId), artifact (id = artifactId), task_result (id = taskId), task_plan_step (id = stepId, with taskId), or url (value = the outside source)."
        },
        "id": {
          "type": "string",
          "maxLength": 200
        },
        "taskId": {
          "type": "string",
          "maxLength": 200,
          "description": "The task of a task_plan_step source."
        },
        "value": {
          "type": "string",
          "maxLength": 2000,
          "description": "A url source: the outside thing, usually a URL."
        }
      },
      "required": [
        "kind"
      ]
    }
  }
}

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/ziggsai-com-create-task-dto"
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.