v64

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-07155145130.9 KB
ai-controller

Export refinement-layout AI request JSON

Returns the OpenAI structured-response request body for note refinement layout generation (breakdown) without calling OpenAI. Optional MCQ question context uses the same question-aware instruction builder as generate-refinement-suggestions.

post/api/ai/export-refinement-layout-request/{note}

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

testedFocusstring

Optional description of what the question was testing

Response

OK