Poll and survey results
get_survey_resultsRead all surveys in a room with their status and aggregate results to report polls, quizzes, ratings, and word clouds, and to get survey IDs for closing.
Instructions
Read every survey in a room with its id, kind, status (draft, live or closed) and aggregate results: polls and quizzes are kind=choice with counts per option (a closed quiz also has correct_option_id), ratings have counts and an average, word clouds have words with counts and no options. Use it to report results and to get the survey_id that close_survey takes. Quiz answer keys appear only after a survey closes; no participant identities are ever returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Six-character room code, for example ABC234 |