Use api, rather than deadlines