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

# Get comment reaction summary

> Returns the stored like/dislike totals for an approved comment. `userReaction` is the caller's own reaction (`like`, `dislike`, or `null` when the caller has none or cannot be identified as a user or guest).



## OpenAPI

````yaml /api-reference/ai-cms/openapi.json get /articles/comments/{commentId}/reactionSummary
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Tags
    description: Tag management endpoints
paths:
  /articles/comments/{commentId}/reactionSummary:
    get:
      tags:
        - Articles
      summary: Get comment reaction summary
      description: >-
        Returns the stored like/dislike totals for an approved comment.
        `userReaction` is the caller's own reaction (`like`, `dislike`, or
        `null` when the caller has none or cannot be identified as a user or
        guest).
      parameters:
        - in: path
          name: commentId
          required: true
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
            example: '{{objectId}}'
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                success: true
                statusCode: 200
                message: Comment reaction summary retrieved successfully
                data:
                  commentId: '{{objectId}}'
                  likes: 2
                  dislikes: 0
                  userReaction: like
        '400':
          description: Bad request (invalid comment id)
          content:
            application/json:
              example:
                success: false
                statusCode: 400
                message: Invalid comment id
                data: null
        '404':
          description: >-
            Comment not found (only approved, non-deleted comments are
            summarised)
          content:
            application/json:
              example:
                success: false
                statusCode: 404
                message: Comment not found
                data: null
        '500':
          description: Server error
          content:
            application/json:
              example:
                success: false
                statusCode: 500
                message: Server Error
                data: null
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````