Skip to main content

Documentation Index

Fetch the complete documentation index at: https://superdoc-nick-sd-3220-overlapping-suggestion-contract.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Summary

Retrieve a single comment thread by ID.
  • Operation ID: comments.get
  • API member path: editor.doc.comments.get(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a CommentInfo object with the comment text, author, date, and thread metadata.

Input fields

FieldTypeRequiredDescription
commentIdstringyes

Example request

{
  "commentId": "comment-001"
}

Output fields

FieldTypeRequiredDescription
addressCommentAddressyesCommentAddress
address.entityIdstringyes
address.entityType"comment"yesConstant: "comment"
address.kind"entity"yesConstant: "entity"
anchoredTextstringno
commentIdstringyes
createdTimenumberno
creatorEmailstringno
creatorNamestringno
deletedTextanyno
importedIdstringno
isInternalbooleanno
parentCommentIdstringno
statusenumyes"open", "resolved"
targetTextTargetnoTextTarget
target.kind"text"noConstant: "text"
target.segmentsTextSegment[]no
target.storyStoryLocatornoStoryLocator
textstringno
trackedChangebooleanno
trackedChangeAnchorKeyanyno
trackedChangeDisplayTypeanyno
trackedChangeLinkCommentTrackedChangeLink \nullnoOne of: CommentTrackedChangeLink, null
trackedChangeStoryStoryLocator \nullnoOne of: StoryLocator, null
trackedChangeTextanyno
trackedChangeTypeenumno"insert", "delete", "format"

Example response

{
  "address": {
    "entityId": "entity-789",
    "entityType": "comment",
    "kind": "entity"
  },
  "commentId": "comment-001",
  "importedId": "imp-001",
  "parentCommentId": "comment-000",
  "status": "open"
}

Pre-apply throws

  • TARGET_NOT_FOUND

Non-applied failure codes

  • None

Raw schemas

{
  "additionalProperties": false,
  "properties": {
    "commentId": {
      "type": "string"
    }
  },
  "required": [
    "commentId"
  ],
  "type": "object"
}
{
  "additionalProperties": false,
  "properties": {
    "address": {
      "$ref": "#/$defs/CommentAddress"
    },
    "anchoredText": {
      "type": "string"
    },
    "commentId": {
      "type": "string"
    },
    "createdTime": {
      "type": "number"
    },
    "creatorEmail": {
      "type": "string"
    },
    "creatorName": {
      "type": "string"
    },
    "deletedText": {
      "type": [
        "string",
        "null"
      ]
    },
    "importedId": {
      "type": "string"
    },
    "isInternal": {
      "type": "boolean"
    },
    "parentCommentId": {
      "type": "string"
    },
    "status": {
      "enum": [
        "open",
        "resolved"
      ]
    },
    "target": {
      "$ref": "#/$defs/TextTarget"
    },
    "text": {
      "type": "string"
    },
    "trackedChange": {
      "type": "boolean"
    },
    "trackedChangeAnchorKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "trackedChangeDisplayType": {
      "type": [
        "string",
        "null"
      ]
    },
    "trackedChangeLink": {
      "oneOf": [
        {
          "$ref": "#/$defs/CommentTrackedChangeLink"
        },
        {
          "type": "null"
        }
      ]
    },
    "trackedChangeStory": {
      "oneOf": [
        {
          "$ref": "#/$defs/StoryLocator"
        },
        {
          "type": "null"
        }
      ]
    },
    "trackedChangeText": {
      "type": [
        "string",
        "null"
      ]
    },
    "trackedChangeType": {
      "enum": [
        "insert",
        "delete",
        "format"
      ]
    }
  },
  "required": [
    "address",
    "commentId",
    "status"
  ],
  "type": "object"
}