Skip to main content
  • Method: getNodeDiff
  • Scope: run:read
  • Transports: HTTP RPC, WebSocket RPC
  • Request: { runId, nodeId, iteration? }
  • Response: GetNodeDiffRouteResult (payload is DiffBundle | GetNodeDiffStatPayload)
An attempt that is still in progress returns a live working-copy diff of its checkout (live: true) instead of AttemptNotFinished; live bundles bypass the node-diff cache because their content is mutable. Once the attempt finishes, the immutable base-to-pointer diff is computed and cached as before. Errors are versioned as v1 and include InvalidRequest, Unauthorized, Forbidden, RunNotFound, NodeNotFound, IterationNotFound, PayloadTooLarge, VcsError, and Internal.