Overview
REST API reference for creating and managing Sprites, connectors, exec sessions, checkpoints, and network policy.
Sprites are persistent Linux environments that hibernate when idle and wake automatically on demand. Use the API to create sandboxes, run commands, expose controlled network access, and preserve state with checkpoints.
Base URL
All requests are made against:
https://api.sprites.dev/v1
Authentication
Authenticate every request with a Sprites API token using the
Authorization: Bearer <token>
header.
Resources
Browse the generated endpoint reference by resource area.
Orchestration
Sprites
Provision and manage isolated Linux sandboxes with persistent filesystems.
Integrations
Connectors
Give sprites policy-controlled access to external APIs without exposing provider tokens.
Commands
Exec
Execute commands inside sprites via WebSocket. Stream stdin/stdout and manage processes.
Services
Manage persistent background services running in sprites.
Filesystem
Read, write, and manage files within sprites.
Storage
Checkpoints
Create point-in-time snapshots and restore to previous states.
Networking
Network Policy
Control outbound network access with DNS-based filtering rules.
Quick Start
Configure a client, create a Sprite, and run your first command.
export SPRITES_TOKEN=acme/1ef8/...
curl -X POST "https://api.sprites.dev/v1/sprites" \
-H "Authorization: Bearer $SPRITES_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"my-sprite"}'
echo 'print(2+2)' | curl -X POST "https://api.sprites.dev/v1/sprites/my-sprite/exec?cmd=python&stdin=true" \
-H "Authorization: Bearer $SPRITES_TOKEN" \
--data-binary @-
curl -X DELETE "https://api.sprites.dev/v1/sprites/my-sprite" \
-H "Authorization: Bearer $SPRITES_TOKEN"