Agent Versioning - Branches

Make a branch live

Changed on

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

Request

  • Base URL
    https://api.smallest.ai/atoms/v1
  • URL
    https://api.smallest.ai/atoms/v1/agent/{id}/branches/{branchId}/live
  • Auth
    HTTP bearer

Path parameters

idstring required

The agent ID.

branchIdstring required

The branch ID.

Response

Branch is now live.

statusboolean

Example response

{
  "status": true
}

Changes