v1

latestOpenAPI 3.0.32026-07-222111928.0 KB
Agents

Move Agent

Move an agent (and its connected workspace) to a different team. Pass dry_run=true to preview the closure without applying changes.

post/v2/agents/{agent_id}/move

Path parameters

agent_idstring uuid required

The ID of the agent to move.

Query parameters

boolean
OR
'true'
OR
'false'

When true, preview the closure and warnings without applying any changes.

Request body

target_team_idstring uuid required

The ID of the team to move the agent into.

move_learningsboolean

Whether to carry the agent's accumulated learnings across. Defaults to true.

bypass_standalone_gateboolean

When true, move the agent together with every connected queue, trigger, and handover peer instead of rejecting a non-standalone agent. Defaults to false.

Response

Default Response

source_team_idstring required
target_team_idstring required
root_agent_idstring required
total_case_itemsnumber required
total_runsnumber required
appliedboolean required