Skip to main content
POST
Apply Stored Changeset
Executes an APPROVED proposal through the same guarded, atomic write path as a direct apply, re-validated against current revisions. If the workspace drifted since submission, nothing is written and the proposal records CONFLICTED with structured conflicts. An already-APPLIED proposal replays idempotently; applying a proposal that is not APPROVED is a 409 error envelope. Honors the Idempotency-Key header. Requirements: instructions:write + workspace EDITOR or OWNER + a verified (claimed) account.

Request

string
required
The approved proposal. No body — the stored operations are what gets applied.

Response

object
The updated record: APPLIED on success, CONFLICTED on drift.
object
The apply result — same shape as Apply Changeset: {applied, changesetId, idempotentReplay, manualRevisions, pageRevisions, conflicts}.