## Update `agents.routes.update(strpath_child_agent_uuid, RouteUpdateParams**kwargs) -> RouteUpdateResponse` **put** `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}` To update an agent route for an agent, send a PUT request to `/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}`. ### Parameters - **parent\_agent\_uuid:** `str` - **child\_agent\_uuid:** `str` - **child\_agent\_uuid:** `str` - **if\_case:** `str` Describes the case in which the child agent should be used - **parent\_agent\_uuid:** `str` - **route\_name:** `str` Route name - **uuid:** `str` Unique id of linkage ### Returns - `class RouteUpdateResponse` Information about an updated linkage - **child\_agent\_uuid:** `Optional[str]` Routed agent id - **parent\_agent\_uuid:** `Optional[str]` A unique identifier for the parent agent. - **rollback:** `Optional[bool]` - **uuid:** `Optional[str]` Unique id of linkage ### Example ```python from do_gradientai import GradientAI client = GradientAI() route = client.agents.routes.update( path_child_agent_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", path_parent_agent_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", ) print(route.child_agent_uuid) ```