use `input` helper in API docs as well