# ai_mentor_orgs_users_recommend_courses_retrieve Retrieve recommended courses for a specific user. Args: request: The HTTP request containing query parameters. org: The organization/tenant identifier. user_id: The ID of the user to get recommendations for. Returns: Response: A list of recommended courses. Raises: BadRequest: If the query parameters are invalid. NotFound: If the OpenAI API key for the tenant is not found. TooManyRequests: If rate limits are exceeded. ServerError: If there's an error processing the AI response. Endpoint: GET /api/ai-mentor/orgs/{org}/users/{user_id}/recommend-courses/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `include_learner_skills` (boolean) Include available learner skills for search - `include_main_courses` (boolean) Include courses from the main tenant - `rank_by_difficulty` (boolean) Rank by course difficulty - `return_course_data` (boolean) Return course data - `return_number` (integer) Number of courses to return - `search_terms` (string) Terms to be searched ## Path parameters: - `org` (string, required) - `user_id` (string, required) ## Response 200 fields (application/json): - `courses` (array, required)