# ai_analytics_orgs_users_chat_history_list API viewset for retrieving and filtering chat message history. This viewset provides endpoints for retrieving chat message history within an organization, with extensive filtering options by date range, user, topic, mentor, and sentiment. Permissions: - Restricted to platform administrators only Endpoint: GET /api/ai-analytics/orgs/{org}/users/{user_id}/chat-history/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `end_date` (string) - `filter_user_id` (string) - `mentor` (string) - `page` (integer) A page number within the paginated result set. - `page_size` (integer) Number of results to return per page. - `sentiment` (string) - `start_date` (string) - `topics` (string) ## Path parameters: - `org` (string, required) - `user_id` (string, required) ## Response 200 fields (application/json): - `count` (integer, required) Example: 123 - `next` (string,null) Example: "http://api.example.org/accounts/?page=4" - `previous` (string,null) Example: "http://api.example.org/accounts/?page=2" - `results` (array, required) - `results.id` (string, required) - `results.messages` (string, required) - `results.topics` (array, required) - `results.topics.name` (string, required) - `results.sentiment` (string, required) - `results.mentor` (string, required) - `results.student` (string, required) - `results.email` (string, required) - `results.model` (string, required) - `results.rating` (integer, required) - `results.platform` (string, required) - `results.lti_email` (string, required) Email claim from LTI1.3 JWT if an LTI user and available - `results.lti_username` (string, required) Username claim from LTI1.3 JWT if an LTI user and available - `results.inserted_at` (string, required) - `results.has_document` (boolean) - `results.memory_tracked` (boolean) - `results.llm_name` (string,null) - `results.llm_provider` (string,null) - `results.metadata` (any,null) - `results.tools` (array)