Agent Versioning - Branches

Archive a branch

Changed on

Archive a branch. Main cannot be archived. The live branch cannot be archived; make another branch live first. Archived branches are hidden from list views but their revisions remain queryable by ID.

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

Request

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

Path parameters

idstring required

The agent ID.

branchIdstring required

The branch ID.

Response

Archived.

statusboolean

Example response

{
  "status": true,
  "data": {
    "archived": true
  }
}

Changes