Fly.io Machines API skill
Call the Fly.io Machines API to create, start, stop, and destroy VMs programmatically.
What it says
The document its publisher serves
What it declares
name: fly-machines-apidescription: Call the Fly.io Machines API to create, start, stop, and destroy VMs programmatically.license: Apache-2.0
the skill
Read from the publisher's own address, not re-hosted.
# Fly.io Machines API Machines are fast-booting VMs. The REST API creates and controls them directly, without flyctl. ## Base URL and authentication ``` https://api.machines.dev/v1 ``` Every request needs a Fly.io API token: ``` Authorization: Bearer <FLY_API_TOKEN> ``` Create a token with `fly tokens create org <org-slug>`, and scope it to the narrowest org or app that will do the work. ## Machine lifecycle Machines belong to an app, so create the app first, then machines within it. ```sh curl -X POST "https://api.machines.dev/v1/apps/$APP/machines" \ -H "Authorization: Bearer $FLY_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{"config": {"image": "flyio/fastify-functions", "guest": {"cpu_kind": "shared", "cpus": 1, "memory_mb": 256}}}' ``` The same collection supports the rest of the lifecycle: - `GET /apps/{app}/machines` — list - `GET /apps/{app}/machines/{id}` — inspect one - `POST /apps/{app}/machines/{id}/start` — start - `POST /apps/{app}/machines/{id}/stop` — stop - `DELETE /apps/{app}/machines/{id}` — destroy ## Specification The OpenAPI document is the authoritative reference, and is machine-readable: ``` https://docs.machines.dev/openapi.json ``` Prose documentation: <https://docs.fly.io/machines/api> ## Choosing between Machines and Sprites Machines are the primitive for running an application in production. Sprites are a persistent development environment built on top of the same platform — if an agent needs a place to work rather than a place to serve traffic, see <https://fly.io/sprites>.
What this is
Document
text/markdown; profile="urn:air:agent-skills"last seen 2026-10-04
These are the publisher's own words, read from what they serve at their own address.
Terms
A description, not an offer
The publisher has signed no standing terms for this, so anything said here about price describes what they charge rather than binding them to it. Agreeing terms is between you and them.
Where it lives
The publisher's own address
https://fly.io/agent-skills/fly-machines-api/SKILL.md
This catalog links to it and never serves a copy, so what you get is whatever fly.io is serving now.
In its own words
What its publisher says you would ask it
- create, start and stop a Fly Machine over HTTP
- deploy a container to multiple regions programmatically
- how do I call the Fly.io Machines API