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

# Get comment

> Requires access to the issue's project. Returns the comment's reply relationship, source metadata, and shallow parent comment context when present.



## OpenAPI

````yaml /openapi.json get /api/orgs/{id}/issues/{issueId}/comments/{commentId}
openapi: 3.1.0
info:
  title: Atoll API
  version: 1.0.0
  description: >-
    REST API for Atoll project management, agent collaboration, strategy
    tracking, and integrations.
servers:
  - url: https://atollhq.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Projects
  - name: Project access
  - name: Issues
  - name: Issue details
  - name: Milestones
  - name: Strategy
  - name: Members and agents
  - name: Planning
  - name: Setup
  - name: Integrations and billing
  - name: Notifications and public
  - name: Private inbox
paths:
  /api/orgs/{id}/issues/{issueId}/comments/{commentId}:
    get:
      tags:
        - Issue details
      summary: Get comment
      description: >-
        Requires access to the issue's project. Returns the comment's reply
        relationship, source metadata, and shallow parent comment context when
        present.
      operationId: get_api_orgs_id_issues_issueId_comments_commentId
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: id identifier
        - name: issueId
          in: path
          required: true
          schema:
            type: string
          description: issueId identifier
        - name: commentId
          in: path
          required: true
          schema:
            type: string
          description: commentId identifier
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                required:
                  - comment
                properties:
                  comment:
                    $ref: '#/components/schemas/Comment'
                additionalProperties: false
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    Comment:
      type: object
      additionalProperties: true
      required:
        - id
        - issue_id
        - body
      properties:
        id:
          type: string
          format: uuid
        issue_id:
          type: string
          format: uuid
        body:
          type: string
        author_id:
          type: string
          nullable: true
        author_type:
          type: string
          enum:
            - human
            - agent
        reply_to_comment_id:
          type: string
          format: uuid
          nullable: true
        source_metadata:
          allOf:
            - $ref: '#/components/schemas/CommentSourceMetadata'
          nullable: true
        reply_to_comment:
          allOf:
            - $ref: '#/components/schemas/CommentReplyParent'
          nullable: true
          description: >-
            Shallow parent context. It does not recursively embed another
            parent.
    CommentSourceMetadata:
      type: object
      additionalProperties: false
      required:
        - harness
      anyOf:
        - required:
            - thread_id
        - required:
            - session_id
      properties:
        harness:
          type: string
          minLength: 1
          maxLength: 64
          pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
          examples:
            - codex
            - claude-code
        thread_id:
          type: string
          minLength: 1
          maxLength: 255
        session_id:
          type: string
          minLength: 1
          maxLength: 255
        host_id:
          type: string
          minLength: 1
          maxLength: 255
      description: >-
        Hidden routing provenance for agent-authored comments. Omit this object
        unless the host exposes a real thread or session ID, and never invent
        one. Contains harness identifiers only; never include credentials,
        prompts, or arbitrary runtime state.
    CommentReplyParent:
      type: object
      additionalProperties: true
      required:
        - id
        - body
        - author_type
        - source_metadata
      properties:
        id:
          type: string
          format: uuid
        author_id:
          type: string
          nullable: true
        author_type:
          type: string
          enum:
            - human
            - agent
        body:
          type: string
        source_metadata:
          allOf:
            - $ref: '#/components/schemas/CommentSourceMetadata'
          nullable: true
        deleted_at:
          type: string
          format: date-time
          nullable: true
      description: Nonrecursive parent context for a one-level comment reply.
    Error:
      type: object
      description: >-
        Common error responses contain error. Shared missing-auth and
        unknown-API responses also contain a stable code.
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
      examples:
        - error: Unauthorized
          code: unauthorized
        - error: Not found
          code: not_found
      additionalProperties: true
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid authentication
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Authenticated but not allowed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found or not visible
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_atoll_<key>

````