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

# List distinct comment labels

> Returns the sorted, distinct labels used on the comments of the requested products, lowercase and trimmed. Labels are product-scoped: this is the reuse list a reviewer picks from when annotating a turn, and the options of the session-list label filter. `productIds` is required; a product the caller cannot read yields 403.



## OpenAPI

````yaml https://api.galtea.ai/openapi.json get /comments/tags
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /comments/tags:
    get:
      tags:
        - comments
      summary: List distinct comment labels
      description: >-
        Returns the sorted, distinct labels used on the comments of the
        requested products, lowercase and trimmed. Labels are product-scoped:
        this is the reuse list a reviewer picks from when annotating a turn, and
        the options of the session-list label filter. `productIds` is required;
        a product the caller cannot read yields 403.
      operationId: listCommentTags
      parameters:
        - schema:
            type: array
            items:
              type: string
            description: Products whose comment labels to list. At least one is required.
          required: true
          description: Products whose comment labels to list. At least one is required.
          style: form
          explode: true
          name: productIds
          in: query
      responses:
        '200':
          description: Labels retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                example:
                  - hallucination
                  - tone
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````