Please note these are private APIs, and they may change/break at any time. The AnkiWeb one is probably already broken.
I’m unsure about exposing this functionality publicly, as I can imagine scenarios such as a deck author deciding that the answer should automatically show after 5 seconds, and then confused users will end up writing in here.