API Cookbook


Whether you’re looking for help managing your Mode Workspace less manually, or just looking for inspiration getting started with the Mode API, these code examples are here to help. On this page, you’ll find a collection of our most frequently-requested code recipes for the API.

The scripts collected here make it easy to automate tasks from managing members to sharing reports and exporting data. You’ll also find examples to help you programmatically manage your reporting itself, whether that means moving reports in batches or updating query or Definition texts all in one fell swoop.

To take them for a spin yourself, read the instructions at the bottom of each example.