Skip to content
Hexel StudioDocs

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

Bearer <token>. A Hexel Studio access token for your organization.

The workspace the request acts in (ws_...). It never grants access by itself.

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

channelsmap[array of Target]
created_atstringdate-time
idstring
latest_versionintegerint32
namestring
registry_agent_idoptional string

Errors

  • default