Skip to main content
GET
/
lesson
/
{lessonId}
Get feedback by lesson ID
curl --request GET \
  --url https://qti.alpha-1edtech.ai/api/lesson/{lessonId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "userId": "<string>",
    "feedback": "<string>",
    "type": "QUESTION",
    "lessonId": "<string>",
    "questionId": "<string>",
    "humanApproved": true
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

lessonId
string
required

The lesson ID to fetch feedback for

Response

Successfully retrieved lesson feedback

userId
string
required

Identifier of the user who submitted the feedback

feedback
string
required

The feedback content provided by the user

type
enum<string>
required

Type of feedback - either for a specific question or for the entire lesson

Available options:
QUESTION,
LESSON
lessonId
string
required

Identifier of the lesson this feedback refers to (required)

questionId
string

Identifier of the specific question this feedback refers to (optional, for question-level feedback)

humanApproved
boolean

Whether the feedback has been reviewed and approved by a human