Agents
Publish a version
Freeze a draft so it can be deployed.
POST
Publish Version
Publishing does not put the version in front of callers. It freezes the configuration so it can
never change again, which is what makes a later rollback mean something exact.
Make it live is the step callers feel.
V4 is already the version’s identity, so a label is description rather than a name.
Publishing and deploying in one call
409 version_immutable;
updating the agent branches a fresh draft instead. Only label and
notes can still be changed.Authorizations
Path Parameters
Body
application/json
Freeze a draft. make_live deploys it in the same call.
V<n> is already the version's identity, so label is description rather than
identification and forcing one only buys junk names.
Response
The frozen version. Publishing does NOT deploy unless you sent make_live: true.
One version in an agent's history.
Versions are identified by NUMBER: it is what every version read returns and what ?version= and /versions/{n} take.
Publish Version