Update Task by ID
PUT/tasks/{task_id}
Update mutable fields for a task by its unique ID.
Update Task by ID
curl http://localhost:5003/tasks/$TASK_ID \
-X PUT \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $AGENTEX_SDK_API_KEY" \
-d '{}'{
"id": "id",
"cleaned_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"params": {
"foo": "bar"
},
"status": "CANCELED",
"status_reason": "status_reason",
"task_metadata": {
"foo": "bar"
},
"updated_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
{
"id": "id",
"cleaned_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"name": "name",
"params": {
"foo": "bar"
},
"status": "CANCELED",
"status_reason": "status_reason",
"task_metadata": {
"foo": "bar"
},
"updated_at": "2019-12-27T18:11:19.117Z"
}