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"
}'参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| title | string | N | — | |
| metadata | object | N | — | |
| 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