Skip to main content
The comment search API lets you find, filter, and analyze comments or notes attached to tickets or other entities using flexible Typesense-powered queries. You can search by text, filter by any comment property, and select exactly which fields you want in the response.
Note: Fallback search mode is not supported for comments. Only primary search mode is available.

Example use cases

  • Get all comments for a specific ticket
  • Find comments created by a specific user
  • List all pinned comments in the last 7 days
  • Get comments containing the word ‘urgent’
  • Find edited comments for a specific team

Comment search response fields

Below are all the fields you may see in a comment search result. Many are optional and will only appear if included in your include_fields parameter.
For a full list, see the CommentSearchResponseDto in the API reference.

Tip: Use the include_fields parameter to limit the response to only the fields you need for performance and clarity.

Notes

  • The document in each hit will match the schema for the selected collection (Ticket, Account, or Comment).
  • Field names in query parameters can be provided in camelCase and will be mapped to the correct Typesense field names automatically.
  • Filtering and sorting support all Typesense operators and syntax.
  • Only authorized users can access this endpoint; results are scoped to the user’s organization and teams.
For more details on available fields and advanced search options, refer to the Typesense documentation or your collection’s schema.