auto-document the options that are available on each api function