Lesson Player

The assistant chat history for the current user in this lesson, and their remaining quota. A lesson they never asked about answers an empty chat.

get/api/ai/lessons/{lessonId}/messages

Request

  • The document declares no server URL.
  • Auth: API key in cookie JWT

Path parameters

lessonIdinteger required

Response

The request has succeeded.

quotaExceededboolean required

The learner has used up today's questions (UTC day).

Changes

    • breaking

      the response's body type changed from array to object for status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added