Skip to main content
Changesets coordinate merges across multiple documents in a single operation. Instead of creating one merge request per document, you create one changeset, analyze it, and execute all merges atomically. This is the recommended approach when a feature branch touches many documents, especially when those documents are tracked in a database.

Parameters

Actions

Workflows

Option A — Database-scoped (recommended):
Option B — Manual:

Item Resolutions

When analyze returns items with status: "conflict", provide itemResolutions keyed by the changeset item ID (not the document ID):
Per-item resolution fields:
  • sectionResolutions — array of {sectionId, resolution: "source"|"target"}
  • tagResolution"source" or "target" for tag conflicts
  • resolvedPath — new path if there’s a path collision
  • documentDeletionResolution"delete" or "keep" if doc was deleted on one branch
  • scalarPropertyResolutionsRecord<columnId, "source"|"target"> for scalar property conflicts

Examples