v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Agent Versioning - Revisions

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.

get/agent/{id}/diff

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.

statusboolean

Example response

{
  "status": true
}