Update task
PATCH
/v1/tasks/{taskId}How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| taskId | path | string | Yes | Task ID |
Query parameters
None.
Body schema
Content type: application/json · Optional
| Field | Type | Required | Description |
|---|---|---|---|
| title | string | No | Display title. |
| description | string | No | Human-readable description. |
| projectId | string | No | Project ID. |
| releaseId | string | No | — |
| status | backlog | todo | in_progress | blocked | in_review | done | No | Current lifecycle status. |
| priority | low | medium | high | urgent | No | — |
| type | task | subtask | loop | No | — |
| taskType | task | subtask | loop | No | — |
| parentTaskId | string | No | — |
| loop | object | No | — |
| loop.enabled | boolean | No | — |
| loop.goal | string | No | End goal the loop should reach. |
| loop.endGoal | string | No | Alias for goal. |
| loop.progressSignal | string | No | Observable signal that shows each iteration is making progress. |
| loop.verificationCriteria | string | No | How the verifier should judge each iteration. |
| loop.successCriteria | string | No | Objective condition that stops the loop successfully. |
| loop.maxIterations | integer | No | — |
| loop.noProgressLimit | integer | No | — |
| loop.workerAgentId | string | No | — |
| loop.verifierAgentId | string | No | — |
| sprintId | string | No | — |
| assigneeAgentId | string | No | — |
| dependencyIds | string[] | No | — |
| linkedThreadIds | string[] | No | — |
| lastStartedThreadId | string | No | — |
| scheduledStartAt | string | No | — |
| scheduledEndAt | string | No | — |
| dueAt | string | No | — |
| completedAt | string | No | ISO 8601 timestamp. |
| sortOrder | number | No | — |
| metadata | object | No | Free-form metadata object. |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Task updatedapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| task | object | No | — |
| task.id | string | No | Unique identifier. |
| task.userId | string | No | User ID. |
| task.organizationId | string | No | — |
| task.createdByUserId | string | No | — |
| task.projectId | string | No | Project ID. |
| task.releaseId | string | No | — |
| task.title | string | No | Display title. |
| task.description | string | No | Human-readable description. |
| task.status | backlog | todo | in_progress | blocked | in_review | done | No | Current lifecycle status. |
| task.priority | low | medium | high | urgent | No | — |
| task.type | task | subtask | loop | No | — |
| task.parentTaskId | string | No | — |
| task.loop | object | No | — |
| task.loop.enabled | boolean | No | — |
| task.loop.goal | string | No | End goal the loop should reach. |
| task.loop.endGoal | string | No | Alias for goal. |
| task.loop.progressSignal | string | No | Observable signal that shows each iteration is making progress. |
| task.loop.verificationCriteria | string | No | How the verifier should judge each iteration. |
| task.loop.successCriteria | string | No | Objective condition that stops the loop successfully. |
| task.loop.maxIterations | integer | No | — |
| task.loop.noProgressLimit | integer | No | — |
| task.loop.workerAgentId | string | No | — |
| task.loop.verifierAgentId | string | No | — |
| task.sprintId | string | No | — |
| task.assigneeAgentId | string | No | — |
| task.dependencyIds | string[] | No | — |
| task.linkedThreadIds | string[] | No | — |
| task.lastStartedThreadId | string | No | — |
| task.scheduledStartAt | string | No | — |
| task.scheduledEndAt | string | No | — |
| task.dueAt | string | No | — |
| task.completedAt | string | No | ISO 8601 timestamp. |
| task.sortOrder | number | No | — |
| task.metadata | object | No | Free-form metadata object. |
| task.createdAt | string | No | ISO 8601 timestamp. |
| task.updatedAt | string | No | ISO 8601 timestamp. |
409Task cannot be updated because dependencies, subtasks, or task relationships block the requested state
None.