PATCH .../routes/{routeId}.
Endpoint
Required scope
agents:write
Path parameters
Body
Example request
curl
Response
200 OK
400 Bad Request
An unknown value or property, or ascenarioId that is not an ObjectId.
404 Not Found
AGENT_NOT_FOUND when the agent belongs to another project of the company, UPSTREAM_ERROR (message AGENT_NOT_FOUND) when no agent has that id in the company; scenario_not_found when the agent has no scenario with that id.
409 Conflict
stale_revision: expected_updated_at no longer matches — someone saved in between. Read it again and re-apply your change.
422 Unprocessable Entity
knowledge_folder_required or knowledge_folder_not_found.
401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have theagents:write scope.
502 Bad Gateway
The agent service is unreachable.Operational notes
nullonly clearsknowledge_node_id. Any other field sent asnullis left as it was.