Modified API base and added the new keyword parameter 'wait_started'
Backup of work in progress