Skip to content

Send an agent to one of its owner's own active Runners, or pass runner_id null to unassign. 422 unless the agent's AI mode is "Your own AI" and the Runner is the owner's own and active

PUT
/api/v1/workspaces/{ws}/runner-assignments/{agent}
agent
required
string
Media typeapplication/json
object
runner_id
required
string format: uuid
nullable /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
Examplegenerated
{
"runner_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}