Loading…
Loading documentation...
Complete REST API documentation for the Servers Are Up platform. Pick a category to browse its endpoints.
Manage a personal resource pool and multiple apps per managed Docker server. Read current plan availability before purchasing. A queued operation or completed Checkout is not proof of paid, usable resources. Full request schemas are published at /openapi.v1.json.
/api/v1Send an authenticated GET request to /api/v1/environment using a Bearer API token.
Read your personal subscription, capacity and usage. Requires billing:read. Organization tokens cannot access a personal pool.
curl -X GET "https://serversareup.com/api/v1/environment" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/environment/plans?packs=1 using a Bearer API token.
Read current plans, resource packs and purchase availability. Requires billing:read.
curl -X GET "https://serversareup.com/api/v1/environment/plans?packs=1" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/environment/subscribe using a Bearer API token.
Start or resume the exact hosted Checkout with billing:write + instances:write, current account-holder legal authorization and a stable Idempotency-Key. A complete session returns payment/subscription status without another checkout URL. Poll /environment for activation.
curl -X POST "https://serversareup.com/api/v1/environment/subscribe" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"Send an authenticated POST request to /api/v1/environment/provision using a Bearer API token.
Allocate an eligible product from your funded personal pool. Requires billing:write + instances:write, current legal authorization and a stable Idempotency-Key. HTTP201 returns an order and instance; check delivery and access separately.
curl -X POST "https://serversareup.com/api/v1/environment/provision" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"Send an authenticated GET request to /api/v1/environment/subscription?subscriptionId=:id using a Bearer API token.
Read retained billing and server status with billing:read. Add transitionId to follow an exact receipt, including canceled-pool cleanup. pending:true means work remains. This read does not contact Stripe or initiate a charge.
curl -X GET "https://serversareup.com/api/v1/environment/subscription?subscriptionId=:id" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated PATCH request to /api/v1/environment/subscription using a Bearer API token.
Pause, resume or schedule cancellation of a personal pool with billing:write and a stable Idempotency-Key. HTTP202 retains asynchronous work; poll the exact receipt. Only verified pool-funded servers are affected. Resume requires a paid current period and never silently purchases another one. Cancellation removes funded servers after the paid period ends; back up data first.
{
"action": "pause",
"subscriptionId": "<your-subscription-id>"
}curl -X PATCH "https://serversareup.com/api/v1/environment/subscription" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "pause",
"subscriptionId": "<your-subscription-id>"
}'Send an authenticated GET request to /api/v1/instances/:id/managed-docker/workloads using a Bearer API token.
List apps, host limits, deployment states and verified web addresses. Requires instances:read. Secret environment values are never returned.
curl -X GET "https://serversareup.com/api/v1/instances/:id/managed-docker/workloads" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/instances/:id/managed-docker/workloads using a Bearer API token.
Create or configure an app. Requires instances:write and a stable 8–128 character Idempotency-Key. Omit environment to keep existing variables; send an object to replace them, or {} to clear them. HTTP202 returns commandId, workloadId, generation and statusUrl; poll that URL until the app is READY. For Docker, source is {kind: "oci", image: "your-image@sha256:your-digest"}. For a public repository with no Dockerfile, source is {kind: "github-railpack", repository: "https://github.com/owner/repository", commitSha: "<40-character-commit>", contextPath: "."}: Railpack builds that exact commit on your own host and sets PORT to internalPort. The GitHub example requires your authorized installation/repository and exact commit; replace every placeholder with your actual values.
{
"workloadKey": "my-github-app",
"source": {
"kind": "github",
"installationId": "<installation-id>",
"repositoryId": "<repository-id>",
"repository": "https://github.com/your-account/your-repository",
"branch": "main",
"commitSha": "<40-character-commit>",
"dockerfilePath": "Dockerfile",
"dockerfileSha256": "<64-character-digest>",
"contextPath": "."
},
"internalPort": 8080,
"healthPath": "/health"
}curl -X POST "https://serversareup.com/api/v1/instances/:id/managed-docker/workloads" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"workloadKey": "my-github-app",
"source": {
"kind": "github",
"installationId": "<installation-id>",
"repositoryId": "<repository-id>",
"repository": "https://github.com/your-account/your-repository",
"branch": "main",
"commitSha": "<40-character-commit>",
"dockerfilePath": "Dockerfile",
"dockerfileSha256": "<64-character-digest>",
"contextPath": "."
},
"internalPort": 8080,
"healthPath": "/health"
}'Send an authenticated DELETE request to /api/v1/instances/:id/managed-docker/workloads/:workloadKey using a Bearer API token.
Permanently delete one app and its data, preserving the server and sibling apps. Requires instances:write and a stable Idempotency-Key. HTTP202 queues teardown; poll statusUrl until that app is absent. Deleted names stay reserved.
curl -X DELETE "https://serversareup.com/api/v1/instances/:id/managed-docker/workloads/:workloadKey" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"List, inspect, update metadata, power, resize, rebuild and delete virtual machines. A rebuild reinstalls the operating system a server was bought with.
/api/v1| Name | Type | Required |
|---|---|---|
| id | string | No |
Send an authenticated GET request to /api/v1/instances using a Bearer API token.
List all your instances
{
"instances": [
{
"id": "ins_abc123",
"name": "web-server-1",
"status": "running",
"plan": "catalog-product-slug",
"region": "us-east-1",
"ipv4": "<assigned-ipv4>",
"ipv6": "<assigned-ipv6>",
"createdAt": "2024-12-01T10:00:00Z"
}
]
}curl -X GET "https://serversareup.com/api/v1/instances" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated PATCH request to /api/v1/instances/:id using a Bearer API token.
Update name, tags, or metadata
{
"name": "web-server-1",
"tags": [
"production",
"web"
]
}{
"id": "ins_abc123",
"name": "web-server-1",
"tags": [
"production",
"web"
]
}curl -X PATCH "https://serversareup.com/api/v1/instances/:id" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "web-server-1",
"tags": [
"production",
"web"
]
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated GET request to /api/v1/instances/:id/status using a Bearer API token.
Live VM status + RRD point
{
"id": "ins_abc123",
"status": "running",
"uptime": 86400
}curl -X GET "https://serversareup.com/api/v1/instances/:id/status" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| timeframe | string | No |
Send an authenticated GET request to /api/v1/instances/:id/metrics using a Bearer API token.
Time-series CPU / RAM / disk / net
{
"data": [
{
"time": 1707000000,
"cpu": 0.12,
"mem": 0.45,
"netin": 1024000,
"netout": 512000
}
]
}curl -X GET "https://serversareup.com/api/v1/instances/:id/metrics" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/power using a Bearer API token.
Start / stop / restart
{
"action": "start"
}{
"taskId": "task_123",
"status": "in-progress"
}curl -X POST "https://serversareup.com/api/v1/instances/:id/power" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "start"
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/rebuild using a Bearer API token.
Reinstall the operating system a server was bought with, from its current image. Queues a provider command and answers 202. A Linux plan server keeps its data volume, addresses and SSH host key and gets a new password, shown on its page once the rebuild finishes. Asking for another OS answers 400; a server from an older plan answers 501.
{
"confirm": "REBUILD",
"os": "ubuntu-24.04"
}{
"success": true,
"accepted": true,
"pending": true,
"os": "ubuntu-24.04",
"status": "CREATING",
"commandId": "cmd_123",
"commandStatus": "PENDING",
"replayed": false
}curl -X POST "https://serversareup.com/api/v1/instances/:id/rebuild" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"confirm": "REBUILD",
"os": "ubuntu-24.04"
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/resize using a Bearer API token.
Move a server from the Linux plans to a larger plan of its family. Queues a provider command and answers 202. The server restarts once on the new plan's vCPUs and memory, and its data volume and filesystem grow in place. A server keeps its disk, so a plan with less storage answers 409. A server on its own subscription moves to the new plan's price: the prorated difference is charged once the new size is running, and if the card is not charged the resize is reverted and the command fails with ERR_LINUX_VM_RESIZE_PAYMENT. A server in a Virtual Datacenter plan needs room in its pool, or answers 409. A server paid with account credit, and a server from another family, answer 501.
{
"plan": "linux-pro"
}{
"accepted": true,
"pending": true,
"instanceId": "inst_123",
"status": "resizing",
"fromPlan": "linux-standard",
"plan": "linux-pro",
"commandId": "cmd_123",
"commandStatus": "PENDING",
"replayed": false,
"message": "Resize accepted and queued for the provider worker."
}curl -X POST "https://serversareup.com/api/v1/instances/:id/resize" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"plan": "linux-pro"
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/reset-password using a Bearer API token.
Reset the OS root / admin password
{
"password": "optional-custom-pw"
}{
"success": true,
"username": "root",
"password": "generated-pw-here"
}curl -X POST "https://serversareup.com/api/v1/instances/:id/reset-password" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"password": "optional-custom-pw"
}'Send an authenticated POST request to /api/v1/bulk/power using a Bearer API token.
Power action across up to 50 instances
{
"actions": [
{
"id": "ins_abc123",
"action": "stop"
}
]
}{
"results": [
{
"id": "ins_abc123",
"taskId": "task_126",
"status": "in-progress"
}
]
}curl -X POST "https://serversareup.com/api/v1/bulk/power" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"actions": [
{
"id": "ins_abc123",
"action": "stop"
}
]
}'Run shell commands inside the guest and read/write files — backed by a guest agent channel.
/api/v1| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/exec using a Bearer API token.
Run a shell command in the VM
{
"command": "uname -a",
"timeoutMs": 15000
}{
"exitCode": 0,
"stdout": "Linux web-server-1 6.8.0 ...\n",
"stderr": ""
}curl -X POST "https://serversareup.com/api/v1/instances/:id/exec" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"command": "uname -a",
"timeoutMs": 15000
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| path | string | Yes |
Send an authenticated GET request to /api/v1/instances/:id/files using a Bearer API token.
Read a file from the VM
{
"path": "/etc/hostname",
"content": "web-server-1\n"
}curl -X GET "https://serversareup.com/api/v1/instances/:id/files" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated PUT request to /api/v1/instances/:id/files using a Bearer API token.
Write a file into the VM
{
"path": "/root/app.env",
"content": "FOO=bar"
}{
"success": true,
"path": "/root/app.env"
}curl -X PUT "https://serversareup.com/api/v1/instances/:id/files" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"path": "/root/app.env",
"content": "FOO=bar"
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/console using a Bearer API token.
Open an owner-bound noVNC browser console session (5-minute expiry)
{
"type": "novnc",
"iframeUrl": "/openstack-console-proxy/session-id/",
"expiresIn": 300
}curl -X POST "https://serversareup.com/api/v1/instances/:id/console" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"Taking or deleting a snapshot, and taking a backup, queues a provider command and answers 202. A server keeps at most three snapshots. Restoring a snapshot of a server from the Linux plans answers 202 too: the system disk returns to the snapshot and the password to the one the server had then, and the data volume keeps its contents. Scheduling backups is not in the API yet.
/api/v1| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated GET request to /api/v1/instances/:id/snapshots using a Bearer API token.
List the server’s snapshots
{
"snapshots": []
}curl -X GET "https://serversareup.com/api/v1/instances/:id/snapshots" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/snapshots using a Bearer API token.
Take a snapshot. Queues a provider command and answers 202.
{
"accepted": true,
"pending": true,
"instanceId": "inst_123",
"status": "SNAPSHOTTING",
"commandId": "cmd_123",
"commandStatus": "PENDING",
"replayed": false,
"message": "Snapshot creation accepted and queued for the provider worker."
}curl -X POST "https://serversareup.com/api/v1/instances/:id/snapshots" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| snapshotId | string | Yes |
Send an authenticated DELETE request to /api/v1/instances/:id/snapshots/:snapshotId using a Bearer API token.
Delete a snapshot. Answers 202 while its image and volume snapshots are removed.
{
"accepted": true,
"pending": true,
"instanceId": "inst_123",
"snapshotId": "snap_123",
"status": "deleting",
"commandId": "cmd_123",
"commandStatus": "PENDING",
"replayed": false,
"message": "Snapshot deletion accepted and queued for the provider worker."
}curl -X DELETE "https://serversareup.com/api/v1/instances/:id/snapshots/:snapshotId" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| snapshotId | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/snapshots/:snapshotId/restore using a Bearer API token.
Restore a snapshot of a server from the Linux plans. Queues a provider command and answers 202. The server keeps its addresses, data volume and SSH host key; its system disk returns to the snapshot and its password to the one it had then, shown on its page when the restore finishes. Another server answers 501.
{
"accepted": true,
"pending": true,
"instanceId": "inst_123",
"snapshotId": "snap_123",
"status": "restoring",
"commandId": "cmd_123",
"commandStatus": "PENDING",
"replayed": false,
"message": "Snapshot restore accepted and queued for the provider worker."
}curl -X POST "https://serversareup.com/api/v1/instances/:id/snapshots/:snapshotId/restore" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated GET request to /api/v1/instances/:id/backups using a Bearer API token.
List stored OpenStack backup metadata (200); this is not proof that restore is available
{
"backups": [],
"count": 0
}curl -X GET "https://serversareup.com/api/v1/instances/:id/backups" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/backups using a Bearer API token.
Take a backup. Queues a provider command and answers 202.
{
"accepted": true,
"pending": true,
"instanceId": "inst_123",
"status": "SNAPSHOTTING",
"commandId": "cmd_123",
"commandStatus": "PENDING",
"replayed": false,
"message": "Backup creation accepted and queued for the provider worker."
}curl -X POST "https://serversareup.com/api/v1/instances/:id/backups" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"View your SDN virtual networks and subnets; open / close ports through the SAU edge.
/api/v1Send an authenticated GET request to /api/v1/networks using a Bearer API token.
List your virtual networks, subnets, and firewall rules
{
"networks": [
{
"id": "vnet_abc123",
"name": "production",
"subnets": [
{
"cidr": "10.x.x.x/24"
}
]
}
]
}curl -X GET "https://serversareup.com/api/v1/networks" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated GET request to /api/v1/instances/:id/domains using a Bearer API token.
List the custom domains of a server, with the DNS records each one still needs. Scope network:read.
{
"domains": [
{
"id": "domain-id",
"hostname": "app.example.com",
"kind": "custom",
"routing": "edge",
"status": "pending_verification",
"verification": {
"name": "_sau-verify.app.example.com",
"value": "sau-verify-token"
},
"edgeRecord": {
"type": "CNAME",
"name": "app.example.com",
"value": "custom.serversareup.com"
},
"rootRecord": {
"type": "A",
"name": "app.example.com",
"value": "4.154.80.172"
},
"acmeDelegation": {
"type": "CNAME",
"name": "_acme-challenge.app.example.com",
"target": "selector.acme-dns.serversareup.com"
}
}
],
"count": 1
}curl -X GET "https://serversareup.com/api/v1/instances/:id/domains" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/domains using a Bearer API token.
Attach a domain you own ({ domain }). A web app domain is served through the SAU edge with its own publicly trusted certificate: create the TXT record and both CNAME records in the response, then verify. 409 ERR_CUSTOM_DOMAIN_UNSUPPORTED names apps that record their own address at install. Scope network:write.
{
"domain": "app.example.com"
}{
"domain": {
"id": "domain-id",
"hostname": "app.example.com",
"status": "pending_verification"
},
"verification": {
"name": "_sau-verify.app.example.com",
"value": "sau-verify-token"
},
"edgeRecord": {
"type": "CNAME",
"name": "app.example.com",
"value": "custom.serversareup.com"
},
"rootRecord": {
"type": "A",
"name": "app.example.com",
"value": "4.154.80.172"
},
"acmeDelegation": {
"type": "CNAME",
"name": "_acme-challenge.app.example.com",
"target": "selector.acme-dns.serversareup.com"
}
}curl -X POST "https://serversareup.com/api/v1/instances/:id/domains" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "app.example.com"
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| domainId | string | Yes |
Send an authenticated GET request to /api/v1/instances/:id/domains/:domainId using a Bearer API token.
Read one domain. A web app domain reads status publishing until its certificate and route are live, then active; lastError explains a failed attempt. Scope network:read.
{
"domain": {
"id": "domain-id",
"hostname": "app.example.com",
"status": "active",
"publishedAt": "2026-09-30T02:00:00.000Z",
"certificateNotAfter": "2026-12-29T01:00:00.000Z",
"lastError": null
}
}curl -X GET "https://serversareup.com/api/v1/instances/:id/domains/:domainId" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| domainId | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/domains/:domainId/verify using a Bearer API token.
Check the TXT ownership record. A web app domain answers 202 and is then published by the platform; a server with its own public IP gets the A record to add. verified: false means the record is not visible yet. Scope network:write.
{
"verified": true,
"publishing": true,
"commandId": "command-id"
}curl -X POST "https://serversareup.com/api/v1/instances/:id/domains/:domainId/verify" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| domainId | string | Yes |
Send an authenticated DELETE request to /api/v1/instances/:id/domains/:domainId using a Bearer API token.
Remove a domain. A published web app domain answers 202 while its route, edge block and certificate are withdrawn; any other is removed at once. Scope network:write.
{
"ok": true,
"withdrawing": true,
"commandId": "command-id"
}curl -X DELETE "https://serversareup.com/api/v1/instances/:id/domains/:domainId" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated GET request to /api/v1/instances/:id/port-forwards using a Bearer API token.
Read owned forward intent and recorded local publication. published does not prove fresh or independent external reachability.
{
"forwards": [
{
"externalPort": 30807,
"targetPort": 80,
"protocol": "tcp",
"requestedActive": true,
"active": false,
"enabled": false,
"publicationStatus": "pending",
"observedAt": null,
"commandId": "command-id",
"commandStatus": "PENDING",
"errorCode": null,
"firewall": {
"allowedSources": [
"0.0.0.0/0"
],
"effectiveSources": [
"0.0.0.0/0"
],
"status": "enforced"
}
}
],
"count": 1,
"limit": 50
}curl -X GET "https://serversareup.com/api/v1/instances/:id/port-forwards" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated POST request to /api/v1/instances/:id/port-forwards using a Bearer API token.
Queue an Azure TCP forward within your allocated block (currently 30201–39999). HTTP202 is acceptance, not completed delivery.
{
"externalPort": 30807,
"targetPort": 80,
"protocol": "tcp"
}{
"accepted": true,
"pending": true,
"commandId": "command-id",
"commandStatus": "PENDING",
"portForwardId": "forward-id"
}curl -X POST "https://serversareup.com/api/v1/instances/:id/port-forwards" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"externalPort": 30807,
"targetPort": 80,
"protocol": "tcp"
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
| externalPort | number | Yes |
| protocol | string | Yes |
Send an authenticated DELETE request to /api/v1/instances/:id/port-forwards using a Bearer API token.
Queue owned port removal; verify the command and actual absence before treating cleanup as complete.
{
"accepted": true,
"pending": true,
"commandId": "command-id",
"commandStatus": "PENDING",
"portForwardId": "forward-id"
}curl -X DELETE "https://serversareup.com/api/v1/instances/:id/port-forwards" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated PATCH request to /api/v1/instances/:id/port-forwards using a Bearer API token.
Set who may connect to a forward: up to 20 IPv4 addresses or networks, or null for anyone. The Azure edge drops every other address before it reaches your environment. Answers 202 with the command that applies the list, and 200 when the forward already has it. firewall.effectiveSources is the list the edge holds (0.0.0.0/0 while it holds none), so it changes once the command has applied the new one. 409 ERR_FORWARD_SOURCES_ENTRY_POINT: the port is a server's own way in, limited where it is turned on; 409 ERR_FORWARD_SOURCES_PATH: the port does not pass the edge's gateway.
{
"externalPort": 30807,
"protocol": "tcp",
"allowedSources": [
"198.51.100.7",
"203.0.113.0/24"
]
}{
"success": true,
"forward": {
"externalPort": 30807,
"protocol": "tcp",
"targetPort": 22
},
"firewall": {
"allowedSources": [
"0.0.0.0/0"
],
"effectiveSources": [
"0.0.0.0/0"
],
"status": "pending"
}
}curl -X PATCH "https://serversareup.com/api/v1/instances/:id/port-forwards" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"externalPort": 30807,
"protocol": "tcp",
"allowedSources": [
"198.51.100.7",
"203.0.113.0/24"
]
}'Read-only status for deployments and preview environments. Neither is created through this API.
/api/v1| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated GET request to /api/v1/deploy/:id using a Bearer API token.
Read legacy deployment/instance status
{
"id": "dep_abc123",
"status": "running"
}curl -X GET "https://serversareup.com/api/v1/deploy/:id" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/preview-environments using a Bearer API token.
List preview environments
{
"previews": []
}curl -X GET "https://serversareup.com/api/v1/preview-environments" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Public catalog discovery requires no token and is rate limited by IP. Each product reports its current availability; listing a product does not make it purchasable.
/api/v1| Name | Type | Required |
|---|---|---|
| type | string | No |
Send an authenticated GET request to /api/v1/catalog using a Bearer API token.
List source targets with exact public availability; only purchasable targets may enter checkout
{
"products": [
{
"id": "linux-starter",
"type": "VM",
"catalogType": "INSTANCE_PLAN",
"name": "Linux Starter",
"commercialAvailability": {
"target": "public-self-service",
"state": "available",
"purchasable": true,
"fulfillmentMode": "automatic",
"checkoutHref": "/products/linux-starter",
"browseHref": "/products/linux-starter"
}
}
]
}curl -X GET "https://serversareup.com/api/v1/catalog" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Subscribe to emitted instance events instead of polling. Accepted values: *, instance.created, instance.deleted. Each delivery is signed with HMAC-SHA256.
/api/v1Send an authenticated GET request to /api/v1/webhooks using a Bearer API token.
List webhooks
{
"count": 1,
"limit": 50,
"webhooks": [
{
"id": "wh_abc123",
"name": "prod-alerts",
"url": "https://hooks.example.com/in",
"events": [
"instance.created"
],
"unsupportedEvents": [],
"isActive": true,
"failureCount": 0,
"lastTriggeredAt": null,
"lastError": null,
"createdAt": "2026-08-24T12:00:00.000Z"
}
]
}curl -X GET "https://serversareup.com/api/v1/webhooks" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/webhooks using a Bearer API token.
Create a webhook
{
"name": "prod-alerts",
"url": "https://hooks.example.com/in",
"events": [
"instance.created"
]
}{
"success": true,
"webhook": {
"id": "wh_xyz789",
"name": "prod-alerts",
"url": "https://hooks.example.com/in",
"events": [
"instance.created"
],
"isActive": true,
"createdAt": "2026-08-24T12:00:00.000Z",
"secret": "whsec_shown_once"
}
}curl -X POST "https://serversareup.com/api/v1/webhooks" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "prod-alerts",
"url": "https://hooks.example.com/in",
"events": [
"instance.created"
]
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated DELETE request to /api/v1/webhooks using a Bearer API token.
Delete a webhook
{
"success": true
}curl -X DELETE "https://serversareup.com/api/v1/webhooks" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"Read-only access to your usage telemetry, reservations, and active subscriptions.
/api/v1| Name | Type | Required |
|---|---|---|
| since | string | No |
| until | string | No |
Send an authenticated GET request to /api/v1/usage using a Bearer API token.
Aggregate bandwidth, subscriptions, and invoices
{
"bandwidth": {
"in": 10240000,
"out": 5120000
},
"subscriptions": [],
"invoices": []
}curl -X GET "https://serversareup.com/api/v1/usage" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/reservations using a Bearer API token.
List your reservations
{
"reservations": [
{
"id": "rsv_abc123",
"plan": "catalog-product-slug",
"term": "12mo"
}
]
}curl -X GET "https://serversareup.com/api/v1/reservations" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Identity, SSH keys, and the token that called the API. Create tokens in Account > API Keys.
/api/v1Send an authenticated GET request to /api/v1/account using a Bearer API token.
Get identity and the scopes of the authenticated token
{
"id": "usr_abc123",
"email": "[email protected]",
"name": "Jane Doe",
"role": "USER",
"resources": {
"instances": 3,
"sshKeys": 2,
"orders": 5
},
"token": {
"id": "tok_123",
"scopes": [
"instances:read",
"instances:write"
]
}
}curl -X GET "https://serversareup.com/api/v1/account" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/ssh-keys using a Bearer API token.
List SSH keys
{
"sshKeys": [
{
"id": "ssh_abc123",
"name": "laptop-key",
"fingerprint": "SHA256:abc123...",
"createdAt": "2024-11-01T10:00:00Z"
}
]
}curl -X GET "https://serversareup.com/api/v1/ssh-keys" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/ssh-keys using a Bearer API token.
Upload a public key
{
"name": "work-laptop",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample..."
}{
"id": "ssh_xyz789",
"name": "work-laptop",
"fingerprint": "SHA256:xyz789...",
"createdAt": "2024-12-01T14:30:00Z"
}curl -X POST "https://serversareup.com/api/v1/ssh-keys" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "work-laptop",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample..."
}'| Name | Type | Required |
|---|---|---|
| id | string | Yes |
Send an authenticated DELETE request to /api/v1/ssh-keys/:id using a Bearer API token.
Remove a key
{
"success": true
}curl -X DELETE "https://serversareup.com/api/v1/ssh-keys/:id" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"Send an authenticated GET request to /api/v1/version using a Bearer API token.
API version probe
{
"version": "v1"
}curl -X GET "https://serversareup.com/api/v1/version" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Manage Resource Groups, tags, CanNotDelete/ReadOnly locks, RBAC, Managed Cloud Storage hosted via Microsoft Azure, Multi-Model Cloud Databases, Key Vault KMS, Cloud Identity (OIDC/SCIM/ZTNA), Cloud SIEM & SOAR, Serverless/Workflows/IoT, Governance, Recovery Vaults, and 112 Cloud & SaaS offerings. Requires cloud:read for GET queries and cloud:write (plus your environment AI write guardrail when called by an agent) for mutations.
/api/v1Send an authenticated GET request to /api/v1/resource-manager using a Bearer API token.
Read Resource Groups, universal tags, management locks, RBAC assignments, diagnostics, quotas, Portal/AI write guardrails, or export Declarative JSON / Terraform HCL (?section=groups|tags|locks|rbac|diagnostics|quotas|settings|export). Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/resource-manager" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/resource-manager using a Bearer API token.
Create or update Resource Groups, tag bindings, CanNotDelete / ReadOnly locks, RBAC assignments, diagnostic sinks, or Portal/AI write guardrails (READ_ONLY, SAFE_MUTATIONS, FULL_AUTONOMOUS). Scope cloud:write.
{
"action": "upsert-resource-group",
"name": "rg-prod-us",
"location": "us-central-sau-1",
"tags": {
"env": "prod"
}
}curl -X POST "https://serversareup.com/api/v1/resource-manager" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "upsert-resource-group",
"name": "rg-prod-us",
"location": "us-central-sau-1",
"tags": {
"env": "prod"
}
}'Send an authenticated GET request to /api/v1/blob-storage using a Bearer API token.
List Managed Cloud Storage plans hosted via Microsoft Azure (250 GiB to 25 TiB + 5 GiB free tier), containers, encrypted blobs, WORM retention policies, and BYO Azure Storage Accounts. Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/blob-storage" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/blob-storage using a Bearer API token.
Purchase or switch Azure-backed Cloud Storage plans, create containers, upload double-encrypted blobs (SAU AES-256-GCM + Azure SSE), mint scoped HMAC-SHA256 SAS links, or apply immutable WORM / legal-hold locks. Scope cloud:write.
{
"action": "create-container",
"name": "backups-prod",
"accessTier": "COOL",
"redundancy": "GRS",
"immutableDays": 365
}curl -X POST "https://serversareup.com/api/v1/blob-storage" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "create-container",
"name": "backups-prod",
"accessTier": "COOL",
"redundancy": "GRS",
"immutableDays": 365
}'Send an authenticated GET request to /api/v1/cosmos using a Bearer API token.
List SAU Multi-Model Cloud Databases (JSONB document, SQL, key-value, graph, and pgvector) and RU consumption. Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/cosmos" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/cosmos using a Bearer API token.
Create databases/containers, upsert or query documents and vector embeddings, or rotate keys. Scope cloud:write.
curl -X POST "https://serversareup.com/api/v1/cosmos" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"Send an authenticated GET request to /api/v1/vault/secrets using a Bearer API token.
List envelope-encrypted secrets and version metadata in SAU Key Vault. Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/vault/secrets" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/vault/secrets using a Bearer API token.
Create, rotate, or soft-delete versioned Key Vault secrets. Scope cloud:write.
curl -X POST "https://serversareup.com/api/v1/vault/secrets" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY"Send an authenticated GET request to /api/v1/entra-suite using a Bearer API token.
Inspect OIDC/OAuth2 applications, Service Principals, SCIM 2.0 connectors, Conditional Access, ZTNA, PIM & CIEM (and /bastion for Browser Bastion sessions). Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/entra-suite" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/sentinel using a Bearer API token.
Read Cloud SIEM detection rules, MITRE ATT&CK incidents, and SOAR playbooks (also see /defender-purview for CSPM posture, DLP sensitivity labels, and EASM scans). Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/sentinel" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/apim using a Bearer API token.
Inspect API Gateway routes, rate limits, and edge WAF policies (also see /cloud-dns for authoritative DNS zones and atomic SDN state rollback points). Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/apim" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/serverless-compute using a Bearer API token.
List serverless functions, cron triggers, batch pools, and confidential enclave workloads (also see /workflows, /service-bus, /app-config, /container-registry, and /iot-chaos). Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/serverless-compute" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated GET request to /api/v1/cloud-services using a Bearer API token.
Browse all 112 first-party SAU Cloud Services and Managed SaaS offerings and active tenant subscriptions (also see /governance for budgets & advisories and /recovery-vault for off-host GRS vaults). Scope cloud:read.
curl -X GET "https://serversareup.com/api/v1/cloud-services" \
-H "Authorization: Bearer ${SAU_API_TOKEN}"Send an authenticated POST request to /api/v1/cli/exec using a Bearer API token.
Execute any sau CLI command line over HTTPS using the same parser, output formatters, RBAC scopes, management locks, and AI write guardrails as the local sau binary.
{
"line": "group list -o json"
}curl -X POST "https://serversareup.com/api/v1/cli/exec" \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_KEY" \
-H "Content-Type: application/json" \
-d '{
"line": "group list -o json"
}'