Agent Versioning - Branches
Rename a branch
Changed onRename 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 URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/branches/{branchId}
- AuthHTTP bearer
Path parameters
idstring required
The agent ID.
branchIdstring required
The branch ID.
Request body
Response
Renamed.
Example response
{
"status": true
}Changes
- info
endpoint added
- info