Add
Add Agent Route to an Agent
post/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
To add an agent route to an agent, send a POST request to /v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
.
Path Parameters
parent_agent_uuid: string
child_agent_uuid: string
Body Parameters
if_case: optional string
Returns
curl https://api.digitalocean.com/v2/gen-ai/agents/$PARENT_AGENT_UUID/child_agents/$CHILD_AGENT_UUID \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
{
"child_agent_uuid": "123e4567-e89b-12d3-a456-426614174000",
"parent_agent_uuid": "123e4567-e89b-12d3-a456-426614174000"
}
Returns Examples
{
"child_agent_uuid": "123e4567-e89b-12d3-a456-426614174000",
"parent_agent_uuid": "123e4567-e89b-12d3-a456-426614174000"
}