Agent Versioning - Branches
Discard open draft
Changed onDiscard the open draft on this branch. Any unpublished edits are lost. The last committed revision remains the branch head.
delete/agent/{id}/branches/{branchId}/draft
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/branches/{branchId}/draft
- AuthHTTP bearer
Path parameters
idstring required
The agent ID.
branchIdstring required
The branch ID.
Response
Discarded.
Example response
{
"status": true,
"data": {
"discarded": true
}
}Changes
- info
endpoint added
- info