Attach a subagent
Let the agent delegate to another agent. Idempotent: attaching an agent that is already allowed returns changed: false.
The subagent must be in the same workspace as the agent, or shared with that workspace. Whether the agent may also clone itself is metadata.subagent.allow_self_clone on PATCH /agents/{agent_id}.
PUT
cURL
Authorizations
A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.