Agent Versioning - Versions
Diff two versions
Changed onDeprecated. Kept working during the v1 coexistence window (~1 month). Migrate to GET /agent/{id}/diff?a=<revisionId>&b=<revisionId>. Will be removed at the sunset date.
Compare two version or draft revision records side-by-side by their IDs. The implementation tries published versions first and can fall back to the latest draft revision.
get/agent/{id}/versions/diff
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/versions/diff
- AuthHTTP bearer
Path parameters
idstring required
The agent ID.
Query parameters
versionAstring required
ID of the first version
versionBstring required
ID of the second version
Response
Diff returned successfully
Example response
{
"status": true
}Changes
- breaking
added the pattern
^[a-f\d]{24}$to thepathrequest parameterid - info
endpoint deprecated
- breaking
- info
endpoint reactivated
- info