v34

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-02527773.5 KB
hyperion-problem-statement

post/api/hyperion/courses/{courseId}/problem-statements/refine/targeted

Path parameters

courseIdinteger required

Request body

problemStatementTextstring required

Original problem statement text to be refined (max 50,000 chars)

startLineinteger required

Start line number (1-indexed)

endLineinteger required

End line number (1-indexed, inclusive)

startColumninteger

Start column within start line (1-indexed, optional for character-level targeting)

endColumninteger

End column within end line (1-indexed, exclusive — points after the last selected character, optional for character-level targeting)

instructionstring required

Instruction describing what should change

Response

OK

refinedProblemStatementstring

Refined problem statement text