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