Skip to content
  • Auto
  • Light
  • Dark

Delete

Delete Agent Route for an Agent
agents.routes.delete(strchild_agent_uuid, RouteDeleteParams**kwargs) -> child_agent_uuidstrparent_agent_uuidstrRouteDeleteResponse
delete/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}

To delete an agent route from a parent agent, send a DELETE request to /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}.

Parameters
parent_agent_uuidstr
child_agent_uuidstr
Returns
RouteDeleteResponseclass

Information about a removed linkage

Hide ParametersShow Parameters
child_agent_uuidstr
optional

Routed agent id

parent_agent_uuidstr
optional

Pagent agent id

from do_gradientai import GradientAI

client = GradientAI()
route = client.agents.routes.delete(
    child_agent_uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
    parent_agent_uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
)
print(route.child_agent_uuid)
200 Example
{
  "child_agent_uuid": "\"123e4567-e89b-12d3-a456-426614174000\"",
  "parent_agent_uuid": "\"123e4567-e89b-12d3-a456-426614174000\""
}