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

# List exception comments

> Use this endpoint to retrieve all comments for a specific exception. Comments provide an audit trail of team discussions and decisions.



## OpenAPI

````yaml /en/openapi/v3-current/matcher.yaml get /v1/exceptions/{exceptionId}/comments
openapi: 3.1.0
info:
  title: Matcher APIs
  description: >-
    Complete API reference for the Matcher reconciliation engine, providing
    automated transaction matching between Midaz Ledger and external systems.
  version: v2.1.1
  license:
    name: Elastic License 2.0
    url: https://www.elastic.co/licensing/elastic-license
servers:
  - url: https://matcher.sandbox.lerian.net
security: []
paths:
  /v1/exceptions/{exceptionId}/comments:
    get:
      tags:
        - Exception
      summary: List exception comments
      description: >-
        Use this endpoint to retrieve all comments for a specific exception.
        Comments provide an audit trail of team discussions and decisions.
      operationId: listComments
      parameters:
        - description: A unique identifier for tracing the request across services.
          in: header
          name: X-Request-Id
          schema:
            type: string
        - description: The unique identifier of the exception.
          in: path
          name: exceptionId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: List of comments for the exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCommentsResponse'
        '401':
          description: The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have permission to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Exception not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    ListCommentsResponse:
      description: List of comments for an exception
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/CommentResponse'
    ErrorResponse:
      description: Standard error response returned by all API endpoints
      type: object
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: HTTP status code as a string.
          example: '404'
        title:
          type: string
          description: Error type identifier.
          example: not_found
        message:
          type: string
          description: Human-readable error message with details.
          example: context not found
        error:
          type: string
          description: Deprecated. Error message for backward compatibility.
          deprecated: true
        details:
          description: Additional error context as key-value pairs
          additionalProperties: {}
          type: object
    CommentResponse:
      description: A comment on an exception
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the comment
          example: 019c96a0-2a10-7dfe-b5c1-8a1b2c3d4e5f
        exceptionId:
          type: string
          description: The exception this comment belongs to
        author:
          type: string
          description: Author of the comment
        content:
          type: string
          description: Comment text content
        createdAt:
          type: string
          format: date-time
          description: Timestamp when the comment was created
        updatedAt:
          type: string
          format: date-time
          description: Timestamp when the comment was last updated
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token authentication (format: "Bearer {token}")'

````