canvas polls
canvas polls¶
Manage Canvas polls
Synopsis¶
Manage Canvas polls, poll choices, poll sessions, and poll submissions.
Polls allow instructors to gather feedback and assess understanding through interactive question-and-answer activities.
Examples:
canvas polls list
canvas polls get 1023
canvas polls create --question "What is your favourite language?"
canvas polls choices list --poll-id 1023
canvas polls sessions list --poll-id 1023
canvas polls sessions open --poll-id 1023 --session-id 55
Options¶
Options inherited from parent commands¶
--as-user int Masquerade as another user (admin feature, requires permission)
--columns strings Select specific columns to display (comma-separated)
--config string config file (default is $HOME/.canvas-cli/config.yaml)
--dry-run Print curl commands instead of executing requests
--filter string Filter results by text (case-insensitive substring match)
--instance string Canvas instance URL (overrides config)
--limit int Limit number of results for list operations (0 = unlimited)
--no-cache Disable caching of API responses
-o, --output string Output format: table, json, yaml, csv (default "table")
--quiet Suppress informational messages, only output data and errors
--show-token Show actual token in dry-run output (default: redacted)
--sort string Sort results by field (prefix with - for descending, e.g., -name)
-v, --verbose Enable verbose output
SEE ALSO¶
- canvas - Canvas LMS CLI - Interact with Canvas from the command line
- canvas polls choices - Manage poll choices
- canvas polls create - Create a poll
- canvas polls delete - Delete a poll
- canvas polls get - Get a poll
- canvas polls list - List polls
- canvas polls sessions - Manage poll sessions
- canvas polls submissions - Manage poll submissions
- canvas polls update - Update a poll