Fly.io
Manage Fly.io: apps, machines, volumes, secrets via the Machines API. Exposes 26 actions covering the API surface an agent needs - read and write.
What it can do
| Method | What it does |
|---|---|
flyio_apps_list | List all apps - GET /apps. |
flyio_app_get | Get one app by ID - GET /apps/{app_id}. |
flyio_app_create | Create a new app - POST /apps. |
flyio_app_delete | Delete an app - DELETE /apps/{app_id}. |
flyio_machines_list | List machines in an app - GET /apps/{app_id}/machines. |
flyio_machine_get | Get one machine - GET /apps/{app_id}/machines/{machine_id}. |
flyio_machine_create | Create a new machine - POST /apps/{app_id}/machines. |
flyio_machine_update | Update a machine configuration - POST /apps/{app_id}/machines/{machine_id}. |
flyio_machine_start | Start a stopped machine - POST /apps/{app_id}/machines/{machine_id}/start. |
flyio_machine_stop | Stop a running machine - POST /apps/{app_id}/machines/{machine_id}/stop. |
flyio_machine_restart | Restart a machine - POST /apps/{app_id}/machines/{machine_id}/restart. |
flyio_machine_wait | Wait for a machine to reach a state - POST /apps/{app_id}/machines/{machine_id}/wait. |
flyio_machine_exec | Execute a command on a machine - POST /apps/{app_id}/machines/{machine_id}/exec. |
flyio_machine_delete | Delete a machine - DELETE /apps/{app_id}/machines/{machine_id}. |
flyio_volumes_list | List volumes in an app - GET /apps/{app_id}/volumes. |
flyio_volume_get | Get one volume - GET /apps/{app_id}/volumes/{volume_id}. |
flyio_volume_create | Create a new volume - POST /apps/{app_id}/volumes. |
flyio_volume_extend | Extend (resize) a volume - POST /apps/{app_id}/volumes/{volume_id}/extend. |
flyio_volume_delete | Delete a volume - DELETE /apps/{app_id}/volumes/{volume_id}. |
flyio_secrets_list | List secrets in an app - GET /apps/{app_id}/secrets. |
flyio_secret_set | Set or update a secret - POST /apps/{app_id}/secrets. |
flyio_secret_delete | Delete a secret - DELETE /apps/{app_id}/secrets/{key}. |
flyio_leases_list | List leases in an app - GET /apps/{app_id}/leases. |
flyio_lease_get | Get one lease - GET /apps/{app_id}/leases/{lease_id}. |
flyio_lease_acquire | Acquire a lease on a machine - POST /apps/{app_id}/machines/{machine_id}/lease. |
flyio_lease_release | Release a lease - DELETE /apps/{app_id}/leases/{lease_id}. |
How to get credentials
This connector uses an API key / token. Create one in the provider dashboard, then paste it into FlyMyAI:
FLY_API_TOKEN- Runfly auth token, or Fly.io - Account - Access Tokens. (https://fly.io/user/personal_access_tokens)
Fields to fill in FlyMyAI
| FlyMyAI field | Where it comes from |
|---|---|
FLY_API_TOKEN | Run fly auth token, or Fly.io - Account - Access Tokens. |
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
4xxon writes - double-check required fields; the agent confirms before write actions.
Links
We love our partners - FlyMy.AI builds with the best. Thanks, Fly.io!