---
title: "Get Comment"
method: GET
path: "/api/v2/core/comments/{commentId}"
tags: ["Comment"]
---

# Get Comment

`GET /api/v2/core/comments/{commentId}`

Given a comment id, it returns all attributes of the comment

## Path parameters

- `commentId` string, required

## Query parameters

- `exclude` string
- `keyList` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- CommentSchema
  - `createdAt` integer, nullable — Comment creation timestamp
  - `entityType` string, nullable — Type of entity the comment is associated with
  - `commentId` integer, nullable — Comment ID
  - `isPrivate` boolean, nullable — Whether the comment is private
  - `entityId` integer, nullable — ID of the entity the comment is associated with
  - `createdBy` string, nullable — Email of the user who created the comment
  - `parentId` integer, nullable — ID of the parent comment
  - `groupId` string, nullable — Group ID
  - `updatedAt` integer, nullable — Comment update timestamp
  - `comment` string, nullable — Comment content in text (HTML) format

---

[API](https://skmtc.net/eightfold/apis/api-server-v2-service-service.md) · [All operations](https://skmtc.net/eightfold/apis/api-server-v2-service-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eightfold/api-server-v2-service-service/versions/0fb26f4e41bf/schema)
