> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cube.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve or re-open a comment thread

Marks a thread resolved, or re-opens it. Author only — the embed user who started the thread.

The console surface is wider: there, a workbook editor may also resolve someone else's thread. That branch has no analogue here, because an embed viewer holds no workbook rights at all, so authorship is the whole rule.

Threads only — a reply has no resolve state of its own, and one carrying it would put two answers on the same thread, so `400` is returned for a reply's id. A thread whose root was deleted while replies survive is still resolvable, or it would sit in the unresolved list forever.


## OpenAPI

````yaml /api-reference/api.yaml post /api/v1/embed/dashboard/{publicId}/comments/{commentId}/resolve
openapi: 3.1.0
info:
  title: Cube Platform API
  version: 1.0.0
  description: >-
    Programmatically manage Cube: deployments and everything scoped to them

    (environments, folders, reports, workbooks, notifications, workspace, and
    agents),

    plus account-level users, groups, policies, embedding, and AI settings.
    Data-model

    authoring, dev mode, branches, and uploads live under /build/api/v1 — same
    host and

    token, routed to the build pods.
servers:
  - url: https://{tenant}.cubecloud.dev
    description: Your tenant host. Replace the whole host if you use a custom domain.
    variables:
      tenant:
        default: your-tenant
        description: Your Cube tenant subdomain
security:
  - bearerAuth: []
tags:
  - name: Deployments
  - name: Deployment Creation
  - name: Environments
  - name: Env Variables
  - name: Regions
  - name: Data Model
  - name: Data Model Uploads
  - name: GitHub
  - name: GitHub Connection
  - name: dbt Sync
  - name: Databricks Metric View Publication
  - name: Databricks Metric View Integration
  - name: Folders
  - name: Reports
  - name: Workbooks
  - name: Dashboard Exports
  - name: Notifications
  - name: Workspace
  - name: Users
  - name: Users Admin
  - name: User Attributes
  - name: User Attribute Values
  - name: Tenant Settings
  - name: OAuth Integrations
  - name: User OAuth Tokens
  - name: OIDC Token Configs
  - name: App Theme
  - name: Embed
  - name: Embed Tenants
  - name: Dashboard Embed Access
  - name: Usage Analytics
  - name: OpenAPI Spec
paths:
  /api/v1/embed/dashboard/{publicId}/comments/{commentId}/resolve:
    post:
      tags:
        - Embed
      summary: Resolve or re-open a comment thread
      operationId: setDashboardCommentResolved
      parameters:
        - in: path
          name: publicId
          required: true
          schema:
            type: string
        - in: path
          name: commentId
          required: true
          schema:
            type: number
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetEmbedDashboardCommentResolvedBody'
        description: SetEmbedDashboardCommentResolvedBody
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmbedDashboardCommentThreadDto'
          description: ''
components:
  schemas:
    SetEmbedDashboardCommentResolvedBody:
      properties:
        resolved:
          type: boolean
      required:
        - resolved
      type: object
    EmbedDashboardCommentThreadDto:
      properties:
        replies:
          items:
            $ref: '#/components/schemas/EmbedDashboardCommentDto'
          type: array
        resolvedAt:
          oneOf:
            - oneOf:
                - format: date
                  type: string
                - format: date-time
                  type: string
            - type: 'null'
        resolvedBy:
          oneOf:
            - type: integer
            - type: 'null'
        root:
          $ref: '#/components/schemas/EmbedDashboardCommentDto'
      required:
        - root
        - replies
      type: object
    EmbedDashboardCommentDto:
      properties:
        body:
          type: string
        createdAt:
          oneOf:
            - format: date
              type: string
            - format: date-time
              type: string
        dashboardId:
          type: string
        editedAt:
          oneOf:
            - oneOf:
                - format: date
                  type: string
                - format: date-time
                  type: string
            - type: 'null'
        id:
          type: integer
        isOwn:
          type: boolean
        removedAt:
          oneOf:
            - oneOf:
                - format: date
                  type: string
                - format: date-time
                  type: string
            - type: 'null'
        userId:
          oneOf:
            - type: integer
            - type: 'null'
      required:
        - id
        - dashboardId
        - body
        - createdAt
        - isOwn
      type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Token authentication. Send `Authorization: Bearer <YOUR_TOKEN>`.'

````