Documentation Index
Fetch the complete documentation index at: https://docs.thena.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get Comments on Entity
Retrieve all comments for a specific entity in the Thena platform.Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| entityType | string | Yes | The type of the entity (e.g., “ticket”, “conversation”) |
| entityId | string | Yes | The ID of the entity to get comments for |
| page | number | No | The page number for pagination (default: 0) |
| limit | number | No | Maximum number of comments to return (default: 10) |
Example prompt
Response fields
Each item in thedata array is a comment object with the following fields:
| Field | Type | Description |
|---|---|---|
| id | string | Comment unique ID |
| content | string | Plain text content of the comment |
| contentHtml | string | HTML formatted content |
| contentMarkdown | string | Markdown formatted content |
| contentJson | string | JSON formatted content for rich text |
| isEdited | boolean | Whether the comment has been edited |
| threadName | string | Name of the comment thread |
| commentVisibility | string | Visibility setting (public or private) |
| commentType | string | Type of comment (note, reply, comment, etc.) |
| isPinned | boolean | Whether the comment is pinned |
| sourceEmailId | string | Email ID if comment came from email |
| metadata | object | Additional metadata including mentions, userReactions, and sometimes replies |
| createdAt | string (ISO8601) | Creation timestamp |
| updatedAt | string (ISO8601) | Last update timestamp |
| author | string | Author display name |
| authorAvatarUrl | string | Author’s avatar URL |
| attachments | array | Array of attachment IDs |
| authorId | string | Author’s user ID |
| authorUserType | string | Author’s user type (e.g., ORG_ADMIN) |
| impersonatedUserEmail | string | Email of impersonated user |
| impersonatedUserName | string | Name of impersonated user |
| impersonatedUserAvatar | string | Avatar of impersonated user |
| deletedAt | string | Deletion timestamp (null if not deleted) |