Loading…
Loading documentation...
Coming-soon Python SDK — use the REST API v1 or sau CLI today
Coming soon — A
serversareupPyPI package is not published yet. Use the REST API v1,sauCLI, or MCP server for automation today. The examples below show the intended interface.
# COMING SOON — no serversareup SDK package is published on PyPI today.
Requires Python 3.8 or higher (when shipped).
from serversareup import Client
# Using an API key directly
client = Client(api_key="sau_YOUR_API_KEY")
# Using an environment variable (recommended)
import os
client = Client(api_key=os.environ["SAU_API_KEY"])
The future SDK must mirror the accepted REST contract; it must not invent convenience methods for Coming-soon routes.
| Capability | Current REST status |
|---|---|
| List and inspect existing instances | GET routes are available |
| Update name or tags | PATCH instance detail is available; a hostname field answers 400 |
| Start, stop, or restart | Power POST is available |
| Recoverable deletion | DELETE instance detail returns 202 |
| Create an instance | Coming soon; collection POST is 405 and deploy POST is 501 |
| Raw config or ISO operations | 501 on OpenStack |
| Resize | 202 with the provider command: a Linux plan server moves to a larger plan of its family; another server answers 501 |
| Rebuild | 202 with the provider command: the OS a server was bought with is reinstalled (Windows, and the Linux plans) |
| Clone | Coming soon; returns 409 without creating a clone |
| Snapshot or backup creation | 202 with the provider command; reads are metadata only |
| Block volumes | No customer /api/v1/volumes route exists |
No executable instance-creation or block-volume SDK method is documented. Use the REST reference for accepted operations and export critical guest data to storage you control.
from serversareup.exceptions import (
AuthenticationError,
NotFoundError,
RateLimitError,
ValidationError,
)
try:
instance = client.instances.get("ins_invalid")
except NotFoundError:
print("Instance not found")
except AuthenticationError:
print("Invalid API key")
except RateLimitError as e:
print(f"Rate limited. Retry after {e.retry_after}s")
except ValidationError as e:
print(f"Invalid request: {e.message}")
import asyncio
from serversareup import AsyncClient
async def main():
client = AsyncClient(api_key="sau_YOUR_API_KEY")
instances = await client.instances.list()
for inst in instances:
print(inst.name)
await client.close()
asyncio.run(main())
Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.