misc

Inverse-apply a prior env_sync transaction. Safety gates: ownership, idempotency, descendant-conflict (force opt-out).

Inverse-apply a prior env_sync transaction. Safety gates: ownership, idempotency, descendant-conflict (force opt-out).

post/api/mcp/tools/env_sync_txn_rollback

Request

  • Base URL: https://api.ainote.dev
  • URL: https://api.ainote.dev/api/mcp/tools/env_sync_txn_rollback
  • Auth: API key in header Authorization

Request body

txn_idstring uuid required
include_descendantsboolean
forceboolean
device_idstring

Optional calling device id for audit attribution. The X-Ainote-Device-Id header is the canonical source; this argument is the backwards-compatible fallback for clients that predate the header. If both are sent and disagree, the request is rejected (DEVICE_MISMATCH).

Response

Tool executed successfully

Changes

No recorded changes to this operation across all 1 revision of this API.