Craft icon

Craft

Interact with your Craft documents via the API

Task → Update Task

AI-generated

Summary

Update an existing task in Craft by specifying its Task ID and optionally changing its markdown content, state, schedule date, or deadline date.

Inputs

  • Task ID (required) — The ID of the task to update.
  • Update Options — Options to modify the task, including Markdown content, State (To Do, Done, or Cancelled), Schedule Date, and Deadline Date.

Output shape

a list of updated task objects, one per input item

Returns an array where each entry corresponds to the updated task for each input item processed. Errors are returned per item if continuing on fail.

Discussion