Agent Versioning - Revisions
Diff two revisions or drafts
Changed onCompare any two references on this agent and return per-section diffs. Each side (a and b) is either a revisionId or the string <branchId>:draft to reference the open draft on a branch. Sides may cross branches. Both references must resolve to configs on the same agent.
get/agent/{id}/diff
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/diff
- AuthHTTP bearer
Path parameters
idstring required
The agent ID.
Query parameters
astring required
Left-hand side. Either a revisionId (24-hex ObjectId) or the token <branchId>:draft.
bstring required
Right-hand side. Either a revisionId (24-hex ObjectId) or the token <branchId>:draft.
Response
Successful response.
Example response
{
"status": true
}Changes
- info
endpoint added
- info