Apply a workstream and deploy to an environment
Validate the source workstream, merge it into the environment, deploy its AI configuration and record deployment metadata. Requires changes.approve AND deploy.live for live, otherwise deploy.test. This is a real deployment, with no dry-run flag. A 409 merge conflict requires updating the workstream from the target and resolving it before retrying. A deployment failure may occur after the Git merge; inspect the environment and error before retrying.
Required permissions: changes.approve, deploy.live for live; deploy.test otherwise.
Authentication
Kinde access token with the configured LogicDialog audience and workspace membership/permissions. Channel API keys cannot authenticate management operations.
Path parameters
Query parameters
Explicit workstream branch. Writes reject main/live. Example: change/WORKSPACE/knowledge-update.