Skip to main content
POST
Classify viewer intent after Q&A

Body

application/json
userResponse
string
required

The viewer's spoken or typed response

Minimum string length: 1
promptText
string
required

The prompt that was shown to the viewer (e.g. "Would you like to continue?")

Minimum string length: 1
didNavigateToNewSlide
boolean
default:false

Whether the viewer was navigated to a different slide to answer their question

currentSlideTitle
string

Title of the slide currently displayed (used for context when classifying)

Response

Classification result

intent
enum<string>
required

continue — resume the presentation from the current slide. go_back — return to the slide before the Q&A detour (only when didNavigateToNewSlide is true). question — the viewer has a new question.

Available options:
continue,
go_back,
question
shouldContinue
boolean
required

true when intent is continue or go_back, false when question