API Reference
Update a task
PUT
/api/tasks/{id}
Updates task metadata and/or creates a new version if yaml_content is provided.
Operation IDupdateTask
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Request body
This request body is required.
Content typeapplication/json
requestobject5 properties
namestringdescriptionstringyaml_contentstringconnector_refsarray<string>Array items
itemstringchange_summarystringSuccess response body
200Task updated with current YAML content
Task updated with current YAML content
Content typeapplication/json
responseobject8 properties
idintegernamestringdescriptionstring | nullcurrent_versionintegerstatusstringcreated_atstring · date-timeupdated_atstring · date-timecurrent_yamlstring | nullError responses
400Validation error
Validation error
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "VALIDATION_ERROR",
"message": "Invalid input"
}404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}