Point a channel at versions with weights
PUT
/harness/agents/{name}/channels/{channel}1 to 10 targets whose weights add up to 100. Refused by the environment's promotion gates when they apply.
Headers
Authorizationstring
Bearer <token>. A Hexel Studio access token for your organization.
X-Workspace-Idstring
The workspace the request acts in (ws_...). It never grants access by itself.
X-Environment-Idstring
The environment the request acts in (env_...). It never grants access by itself.
Body parameters
targetsarray of Target
Returns
200The agent with the channel changed.Agent
Errors
- default