Skip to main content

Summary

List all tracked changes in the document.
  • Operation ID: trackChanges.list
  • API member path: editor.doc.trackChanges.list(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a TrackChangesListResult with tracked change entries, total count, and raw imported Word OOXML revision IDs (w:id) when available.

Input fields

FieldTypeRequiredDescription
limitintegerno
offsetintegerno
typeenumno"insert", "delete", "format"

Example request

{
  "limit": 50,
  "offset": 0
}

Output fields

FieldTypeRequiredDescription
evaluatedRevisionstringyes
itemsobject[]yes
pagePageInfoyesPageInfo
page.limitintegeryes
page.offsetintegeryes
page.returnedintegeryes
totalintegeryes

Example response

{
  "evaluatedRevision": "rev-001",
  "items": [
    {
      "address": {
        "entityId": "entity-789",
        "entityType": "trackedChange",
        "kind": "entity"
      },
      "author": "Jane Doe",
      "handle": {
        "ref": "handle:abc123",
        "refStability": "stable",
        "targetKind": "text"
      },
      "id": "id-001",
      "type": "insert",
      "wordRevisionIds": {
        "delete": "example",
        "insert": "example"
      }
    }
  ],
  "page": {
    "limit": 50,
    "offset": 0,
    "returned": 1
  },
  "total": 1
}

Pre-apply throws

  • INVALID_INPUT

Non-applied failure codes

  • None

Raw schemas

{
  "additionalProperties": false,
  "properties": {
    "limit": {
      "description": "Maximum number of tracked changes to return.",
      "type": "integer"
    },
    "offset": {
      "description": "Number of tracked changes to skip for pagination.",
      "type": "integer"
    },
    "type": {
      "description": "Filter by change type: 'insert', 'delete', or 'format'.",
      "enum": [
        "insert",
        "delete",
        "format"
      ]
    }
  },
  "type": "object"
}
{
  "additionalProperties": false,
  "properties": {
    "evaluatedRevision": {
      "type": "string"
    },
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "$ref": "#/$defs/TrackedChangeAddress"
          },
          "author": {
            "type": "string"
          },
          "authorEmail": {
            "type": "string"
          },
          "authorImage": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "excerpt": {
            "type": "string"
          },
          "handle": {
            "$ref": "#/$defs/ResolvedHandle"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "enum": [
              "insert",
              "delete",
              "format"
            ]
          },
          "wordRevisionIds": {
            "additionalProperties": false,
            "description": "Raw imported Word OOXML revision IDs (`w:id`) from the source document when available. This is provenance metadata, not the canonical SuperDoc tracked-change ID. Replacements may include both `insert` and `delete` IDs.",
            "properties": {
              "delete": {
                "description": "Raw imported Word OOXML revision ID (`w:id`) from a `<w:del>` element when this logical change includes a deletion.",
                "type": "string"
              },
              "format": {
                "description": "Raw imported Word OOXML revision ID (`w:id`) from a `<w:rPrChange>` element when this logical change includes a formatting revision.",
                "type": "string"
              },
              "insert": {
                "description": "Raw imported Word OOXML revision ID (`w:id`) from a `<w:ins>` element when this logical change includes an insertion.",
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "id",
          "handle",
          "address",
          "type"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "page": {
      "$ref": "#/$defs/PageInfo"
    },
    "total": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "evaluatedRevision",
    "total",
    "items",
    "page"
  ],
  "type": "object"
}