Agent Versioning - Branches

Rename a non-default, non-archived branch. Main cannot be renamed; a name that is already in use on this agent returns 409 branch_name_exists.

patch/agent/{id}/branches/{branchId}

Request

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

Path parameters

idstring required

The agent ID.

branchIdstring required

The branch ID.

Request body

namestring required

Response

Renamed.

statusboolean

Example response

{
  "status": true
}

Changes