Before you begin
You need:- A Sprites 2 organization, created with Try the beta. See Get access.
- An SSH client, for the SSH examples.
- A token for your Sprites 2 organization, for the HTTP API examples. Create one in the Fly.io dashboard at
fly.io/dashboard/ORG/sprites.
my-org as the organization slug. Replace it with your Sprites 2 organization’s slug.
Two ways to control Sprites
SSH. Send commands to your organization’s control plane atmy-org@sprites.dev. There’s nothing to install:
HTTP API. For apps and scripts, use the JSON API. Set these variables once, and the examples on this page use them:
https://api.sprites.dev/openapi.json?version=beta-2026-12-01.
Create and use a Sprite
1
Create a Sprite
sprite user, sudo and common tools.2
Run a command
3
Open a shell
Connect straight to the Sprite. SCP and SFTP work at the same address:
default is the name of the cluster the Sprite was created in.4
Put a web page online
In the Sprite’s shell, register a service on port 8080. A service named The Sprite’s URL is This opens both URLs.Every other service you register gets its own URL in the form
http is the Sprite’s main web server:https://dev-ORGCODE.sprites.app/. Run sprite get dev to see the exact URL. The http service also answers at its own service URL, https://http--dev--default--my-org.sprites.app/. The URL is private, so only your organization can open it: a browser signed in to Fly.io, or a request with your token.To make it public:https://SERVICE--SPRITE--CLUSTER--ORG.sprites.app/, and you make each one public separately.5
Check its status
6
Delete it
Check responses for errors
Commands that change a Sprite, such as create, start, stop, exec, checkpoint and fork, stream their results as one JSON object per line. They return HTTP 200 even when they fail, so an error can arrive inside the stream:"type":"error". When an error includes a request_id, include it when you report a problem.
Errors that happen before the stream starts use normal HTTP status codes, such as 401 for a bad or expired token, 404 for an unknown Sprite and 429 when you’re rate limited.
Next steps
- Read the Sprites 2 overview for limits and what’s not in the beta yet.
- Try the Sprites 2 feature guides for forking, private networking, egress policies, scoped tokens and more.
- Run
ssh docs@sprites.devfor the complete Sprites 2 reference. You don’t need an account.