Update a task
Change an existing task: edit its fields, move it to a different status, or assign it to someone. Every change here is reversible.
Example: “Mark the task ‘Fix login bug’ as done”
Usage: pass the task id and pick what to do with action. update_fields edits the task and needs fields with just the values that change; transition_status needs the new status; assign needs the assignee (a person, an agent, or unassigned).
Response: the updated task with its new field values.
Authorizations
Writesonic API key
Headers
Project ID for tenant scoping
Overrides the key's workspace
Body
Which mutation to apply to the task.
update_fields, transition_status, assign Task to update.
Field edits for action=update_fields - only set what changes. Explicit null on title/priority/sort_order is rejected (they can't be cleared this way); omit instead.
New status for action=transition_status.
backlog, todo, in_progress, pending_human_approval, pending_credits, in_review, done, cancelled Assignee for action=assign.
Response
Successful Response
backlog, todo, in_progress, pending_human_approval, pending_credits, in_review, done, cancelled urgent, high, medium, low, none human, ai_agent, system human, ai_agent, system user, agent, content_intelligence