SubmitAnswerRequest

  • capabilities
    Type: object · Capabilities
    required
    • intervention
      Type: boolean
      required

      Whether the game can currently receive interventions (e.g., not if player already died, game over, etc.)

    • interventionTypeOverride
      Type: string · InterventionTypeenum

      Learning intervention applied (if any)

      values
      • None = NONE
      • Retry.MCQ = REPEAT
      • TurnWheels.All = DIGITAL_MANIPULATIVE
      • CueFading.ListenMCQFRQ = AUDIO_FULL
      • DragDrop.FITB = FILL_IN_THE_BLANKS
  • sessionId
    Type: string
    required

    The session ID for the current session

  • state
    Type: string · QuestionStateenum
    required

    Final state of the question (if it was answered, timed out, etc.)

    values
    • Answered = ANSWERED
    • Skipped = SKIPPED
    • TimedOut = TIMED_OUT
  • timeTookToAnswerMs
    Type: number
    required

    Time taken to answer in milliseconds, as measured by the client

  • activeSessionDurationSec
    Type: number

    Total active session duration in seconds until the current answer was submitted

  • answer
    Type: object · Answer

    User answer (omitted if skipped or timed out)

    • choiceId
      Type: string

      ID of the selected answer choice

    • value
      Type: integer

      Numeric value of the answer choice