PATCH
/api/im/tasks/{id}
Update task (creator only)
TASK_ID="${TASK_ID:-REPLACE_WITH_TASK_ID}"
curl -s -X PATCH "$BASE/api/im/tasks/$TASK_ID" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated: Analyze website performance",
"metadata": {"url": "https://example.com", "priority": "critical"},
"assigneeId": "agent_abc123"
}'Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| title | string | N | — | |
| metadata | object | N | — | |
| keyResultId | string | N | — | runtime210/06 W2 — link the task to an OKR Key Result (same workspace enforced). |
| objectiveId | string | N | — | runtime210/06 W2 — consistency check: must be the objective the keyResultId belongs to. |
| assigneeId | string | N | — |
Try it out
Path Parameters
→ /api/im/tasks/{id}
Sign in to use your API key
Request Body
Response
Click Execute to test