Skip to main content
Heroku logo

Heroku

Manage Heroku: apps, dynos, config vars, releases, addons, pipelines. Exposes 40 actions covering the API surface an agent needs - read and write.

What it can do

MethodWhat it does
heroku_apps_listList all apps - GET /apps.
heroku_app_getGet one app - GET /apps/{id}.
heroku_app_createCreate a new app - POST /apps.
heroku_app_updateUpdate an app - PATCH /apps/{id}.
heroku_app_deleteDelete an app - DELETE /apps/{id}.
heroku_dynos_listList dynos (running processes) in an app - GET /apps/{app_id}/dynos.
heroku_dyno_getGet one dyno - GET /apps/{app_id}/dynos/{dyno_id}.
heroku_dyno_restartRestart a dyno or all dynos - POST /apps/{app_id}/dynos/{dyno_id}/actions/restart.
heroku_dyno_scaleScale dynos for a process type - PATCH /apps/{app_id}/formations/{type}.
heroku_config_vars_getGet all config vars (environment variables) for an app - GET /apps/{app_id}/config-vars.
heroku_config_vars_updateUpdate config vars - PATCH /apps/{app_id}/config-vars.
heroku_releases_listList releases (deployment history) - GET /apps/{app_id}/releases.
heroku_release_getGet one release - GET /apps/{app_id}/releases/{release_id}.
heroku_release_rollbackRollback to a previous release - POST /apps/{app_id}/releases.
heroku_addons_listList add-ons (services like databases, caching) for an app - GET /apps/{app_id}/addons.
heroku_addon_getGet one add-on - GET /apps/{app_id}/addons/{addon_id}.
heroku_addon_createAttach an add-on to an app - POST /apps/{app_id}/addons.
heroku_addon_updateUpdate an add-on - PATCH /apps/{app_id}/addons/{addon_id}.
heroku_addon_deleteDelete an add-on - DELETE /apps/{app_id}/addons/{addon_id}.
heroku_builds_listList builds (compilation jobs) for an app - GET /apps/{app_id}/builds.
heroku_build_getGet one build - GET /apps/{app_id}/builds/{build_id}.
heroku_build_createCreate a build from source archive - POST /apps/{app_id}/builds.
heroku_domains_listList custom domains for an app - GET /apps/{app_id}/domains.
heroku_domain_getGet one domain - GET /apps/{app_id}/domains/{domain_id}.
heroku_domain_createAdd a custom domain to an app - POST /apps/{app_id}/domains.
heroku_domain_deleteRemove a custom domain - DELETE /apps/{app_id}/domains/{domain_id}.
heroku_formations_listList formations (dyno type configuration) - GET /apps/{app_id}/formations.
heroku_formation_getGet one formation - GET /apps/{app_id}/formations/{process_type}.
heroku_formation_updateUpdate a formation - PATCH /apps/{app_id}/formations/{process_type}.
heroku_collaborators_listList collaborators on an app - GET /apps/{app_id}/collaborators.
heroku_collaborator_getGet one collaborator - GET /apps/{app_id}/collaborators/{collaborator_id}.
heroku_collaborator_createInvite a collaborator to an app - POST /apps/{app_id}/collaborators.
heroku_collaborator_deleteRemove a collaborator - DELETE /apps/{app_id}/collaborators/{collaborator_id}.
heroku_pipelines_listList pipelines (CI/CD workflow containers) - GET /pipelines.
heroku_pipeline_getGet one pipeline - GET /pipelines/{pipeline_id}.
heroku_pipeline_createCreate a pipeline - POST /pipelines.
heroku_pipeline_deleteDelete a pipeline - DELETE /pipelines/{pipeline_id}.
heroku_log_session_createCreate a log session to tail app logs - POST /apps/{app_id}/log-sessions.
heroku_account_getGet authenticated account info - GET /account.
heroku_account_updateUpdate account settings - PATCH /account.

How to get credentials

This connector uses an API key / token. Create one in the provider dashboard, then paste it into FlyMyAI:

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
HEROKU_API_TOKENHeroku - Account settings - API Key, or heroku authorizations:create.

Troubleshooting

  • 401 Unauthorized / 403 Forbidden - the token is wrong, expired, or missing a required scope; regenerate it.
  • 429 Too Many Requests - provider rate limit; retry after a short backoff.
  • Unexpected 4xx on writes - double-check required fields; the agent confirms before write actions.
We love our partners - FlyMy.AI builds with the best. Thanks, Heroku!