Skip to content
  • Auto
  • Light
  • Dark

Routes

Routes

Add Agent Route to an Agent
client.agents.routes.add(stringchildAgentUuid, RouteAddParams { body_parent_agent_uuid, child_agent_uuid, if_case, route_name } params, RequestOptionsoptions?): RouteAddResponse { child_agent_uuid, parent_agent_uuid }
post/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
Delete Agent Route for an Agent
client.agents.routes.delete(stringchildAgentUuid, RouteDeleteParams { parent_agent_uuid } params, RequestOptionsoptions?): RouteDeleteResponse { child_agent_uuid, parent_agent_uuid }
delete/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
Update Agent Route for an Agent
client.agents.routes.update(stringchildAgentUuid, RouteUpdateParams { body_parent_agent_uuid, child_agent_uuid, if_case, 2 more } params, RequestOptionsoptions?): RouteUpdateResponse { child_agent_uuid, parent_agent_uuid, rollback, uuid }
put/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
View Agent Routes
client.agents.routes.view(stringuuid, RequestOptionsoptions?): RouteViewResponse { children }
get/v2/gen-ai/agents/{uuid}/child_agents