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

# Resolve or reopen a file output comment

> Mark a review comment on a readable file output resolved or open.



## OpenAPI

````yaml https://api.tembo.io/public-api/openapi/public patch /v1/artifacts/{artifactId}/comments/{commentId}
openapi: 3.1.0
info:
  title: Tembo Public API
  description: >-
    Manage automations, sessions, repositories, and organization resources with
    the Tembo API.
  version: 1.0.0
servers:
  - url: https://api.tembo.io
    description: Tembo API
  - url: https://{deployment-origin}/api/public-api
    description: Self-hosted Tembo
    variables:
      deployment-origin:
        default: tembo.example.com
        description: Hostname of your self-hosted Tembo deployment
security: []
paths:
  /v1/artifacts/{artifactId}/comments/{commentId}:
    patch:
      tags:
        - Artifacts
      summary: Resolve or reopen a file output comment
      description: Mark a review comment on a readable file output resolved or open.
      operationId: updateArtifactComment
      parameters:
        - in: path
          name: artifactId
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          required: true
        - in: path
          name: commentId
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                resolved:
                  type: boolean
              required:
                - resolved
              additionalProperties: false
      responses:
        '200':
          description: Resolve or reopen a file output comment
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  createdAt:
                    type: string
                    format: date-time
                  authorName:
                    type: string
                  content:
                    type: string
                  quote:
                    type:
                      - string
                      - 'null'
                  resolvedAt:
                    anyOf:
                      - type: string
                        format: date-time
                      - type: 'null'
                required:
                  - id
                  - createdAt
                  - authorName
                  - content
                  - quote
                  - resolvedAt
                additionalProperties: false
        '400':
          description: >-
            Invalid request or missing required organization or user
            information.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Artifact, session, or backing asset not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Artifact operation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
      security:
        - apiKey: []
      x-codeSamples:
        - lang: typescript
          label: TypeScript SDK
          source: >
            import Tembo from '@tembo-io/sdk';


            const client = new Tembo();


            const comment = await
            client.artifacts.comments.update('7c9e6679-7425-40de-944b-e07fc1f90ae7',
            {
              artifactId: '7c9e6679-7425-40de-944b-e07fc1f90ae7',
              resolved: false,
            });
        - lang: rust
          label: Rust SDK
          source: |
            use tembo_rs::*;

            let client = Tembo::from_env()?;

            let response = client
                .artifacts()
                .comments()
                .update(
                    "7c9e6679-7425-40de-944b-e07fc1f90ae7",
                    "7c9e6679-7425-40de-944b-e07fc1f90ae7",
                    CommentsUpdateBody::new(false),
                )
                .send()
                .await?;
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.