Agent Versioning - Branches
Create a branch
Changed onFork a new branch from an existing branch. The source branch must have at least one committed revision. Branch names are unique per agent; the name Main is reserved for the default branch. Creating from a branch whose latest draft is still scanning returns 409 source_scanning.
post/agent/{id}/branches
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/branches
- AuthHTTP bearer
Path parameters
idstring required
The agent ID.
Request body
Response
Branch created.
Example response
{
"status": true
}Changes
- info
endpoint added
- info