ai-controller

POST /api/ai/generate-refinement-suggestions/{note}

Changed on

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/ai/generate-refinement-suggestions/{note}
  • Auth
    none declared

Path parameters

noteinteger required

Request body

stemstring

MCQ question stem (markdown allowed)

choicesstring[]

MCQ response choices (markdown allowed)

correctAnswerIndexinteger

Zero-based index of the correct choice, when known

selectedChoiceIndexinteger

Zero-based index of the learner's selected choice, when known

clarificationstring

Optional clarification explicitly reviewed by the learner

testedFocusstring

Optional description of what the question was testing

Response

OK

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • warning

      removed the request property

    • warning

      removed the request property