Set up API for exporting data from graph.