You should be able to do this using the platform API. In particular, we represent the type and number of dynos setup for an application as a resource called "formation". You can see how to list your current formation information here: https://devcenter.heroku.com/articles/platform-api-reference#formation-list...