Uses AI to generate a concise title that describes the benefit or outcome of the conversation. The AI provider is determined by the institution’s summaryModel configuration. When ‘id’ is supplied, reads a single history record (input, inputs, output, outputs, code) and returns up to 200 chars. When ‘course_id’ is supplied, summarizes the first 2 + last 3 dialogues of the conversation (all dialogues if ≤5 total) and returns up to 50 chars.
JWT token passed in x-access-token header
Supply either 'id' to summarize a single history record (favorite), or 'course_id' to summarize a whole conversation.