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

# List Pattern Comments

> GET /patterns/{pattern_id}/comments — oldest-first, cursor-paginated
via app/pagination.py (same division of labor as list_patterns: the repo
returns the full, already-sorted list; this route windows it). 404s
(workspace-scoped, via _assert_pattern_exists) before anything else.



## OpenAPI

````yaml /openapi.json get /v1/patterns/{pattern_id}/comments
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/patterns/{pattern_id}/comments:
    get:
      tags:
        - patterns
      summary: List Pattern Comments
      description: |-
        GET /patterns/{pattern_id}/comments — oldest-first, cursor-paginated
        via app/pagination.py (same division of labor as list_patterns: the repo
        returns the full, already-sorted list; this route windows it). 404s
        (workspace-scoped, via _assert_pattern_exists) before anything else.
      operationId: list_pattern_comments_v1_patterns__pattern_id__comments_get
      parameters:
        - in: path
          name: pattern_id
          required: true
          schema:
            title: Pattern Id
            type: string
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
        - in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````