v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Agent Versioning - Branches

Make a branch live

Make this branch the live branch. Its headRevisionId becomes the config that serves production traffic. The previously-live branch becomes not-live automatically. The branch must be non-archived, must have at least one committed (security-passed) revision, and its head revision must have passed the security scan.

post/agent/{id}/branches/{branchId}/live

Path parameters

idstring required

The agent ID.

branchIdstring required

The branch ID.

Response

Branch is now live.

statusboolean

Example response

{
  "status": true
}