---
title: "Update a task"
method: PATCH
path: "/api/v0/tasks/{id}"
tags: ["Tasks"]
---

# Update a task

`PATCH /api/v0/tasks/{id}`

## Request

- Base URL: `https://app.vibeflow.tools`
- URL: `https://app.vibeflow.tools/api/v0/tasks/{id}`
- Auth: HTTP bearer

Unify the accepted field set with the cloud cliPatchSchema subset. Write — Phase 3.

## Path parameters

- `id` string, required

## Request body

- TaskPatch: All fields optional; status speaks the hyphenated set
  - `title` string
  - `description` string
  - `status` 'backlog' | 'todo' | 'in-progress' | 'review' | 'done' | 'cancelled'
  - `priority` string
  - `verified` boolean, nullable

## Response `200`

Update a task — success

- Task: v0 canonical task = local Task fields plus external id, counts, and createdAt alias. D3: responses carry BOTH id and externalId.
  - `id` string, required: External id (cli_id ?? id on cloud; the local id locally)
  - `externalId` string, required: Universal external id — equal to id on the local surface
  - `title` string, required
  - `description` string
  - `status` 'backlog' | 'todo' | 'in-progress' | 'review' | 'done' | 'cancelled', required
  - `selector` string
  - `priority` string
  - `verified` boolean, nullable
  - `links` TaskLink[]
    - `taskId` string, required
    - `type` 'parent' | 'relates' | 'blocks', required
  - `commentCount` integer
  - `fileCount` integer
  - `createdAt` string, date-time

## Other responses

- `400`: Malformed request (includes invalid task/comment id form)
- `401`: Missing or invalid principal
- `403`: Lacking scope or membership
- `404`: Unknown id
- `429`: Rate limited — cloud per-token quota exceeded (reads 300/min, writes 60/min, token creation 10/hour); counters are per-replica, so the effective limit is the configured value × replicas. The response carries Retry-After.

---

[API](https://skmtc.dev/vibeflow/apis/vibeflow-api-v0.md) · [All operations](https://skmtc.dev/vibeflow/apis/vibeflow-api-v0/llms.txt) · [OpenAPI document](https://skmtc.dev/vibeflow/apis/vibeflow-api-v0/revisions/efd4ba944b0b?raw)
