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.
MCP tool: get_comments_by_user_type
Retrieves comments filtered by user type (internal/external) for a specific entity. Useful for separating internal team comments from customer-facing comments.
Example prompt
Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
| userType | string | Yes | The type of user to filter comments by |
| entityType | string | Yes | The type of entity to filter comments by (e.g., ticket, account) |
| entityId | string | Yes | The ID of the entity to filter comments by |
User types
Common user types include:internal- Team members and internal usersexternal- Customers and external usersagent- Support agentscustomer- End customers
Response fields
Below are the fields you may see in the response:| 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 |
| createdAt | string (ISO8601) | Creation timestamp |
| updatedAt | string (ISO8601) | Last update timestamp |
| author | string | Author display name |
| authorAvatarUrl | string | Author’s avatar URL |
| 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) |