Get tasks via API

This commit shows how you can import all the task_runs from the application using the API