Diff two revisions or drafts
Compare 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.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Path parameters
id
The agent ID.
Query parameters
a
Left-hand side. Either a revisionId (24-hex ObjectId) or the token <branchId>:draft.
b
Right-hand side. Either a revisionId (24-hex ObjectId) or the token <branchId>:draft.
Response
Successful response.
status
data
Returned by GET /agent/{id}/diff.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error

