Servers
Servers: create, power, resize, snapshots and restores, graphs, logs and more. For the same in the control panel, see Manage a server.
Operations
| Operation | Request |
|---|---|
| List servers | GET / |
| Create a server | POST / |
| Get a server | GET / |
| Destroy a server | DELETE / |
| List a server's sites | GET / |
| Power on a server | POST / |
| Power off a server | POST / |
| Reboot a server | POST / |
| Resize a server | POST / |
| Retry a failed server setup | POST / |
| Restart PHP on a server | POST / |
| Check PHP security updates now | POST / |
| Get a server's graphs | GET / |
| List a server's snapshots and backups | GET / |
| Take a snapshot | POST / |
| Delete a snapshot | DELETE / |
| Restore a server from a snapshot | POST / |
| Get a server's logs and clean-up settings | GET / |
| Change a server's log clean-up | PUT / |
| Clear a server's logs | POST / |
| Get the connect command of your own server | GET / |
| Make a new connect command | POST / |
| Check the connection to your own server again | POST / |
| Get a server's Media Offload storage | GET / |
The Server object
A server: one machine on the cloud you chose (or one of your own), holding any number of WordPress sites.
| Field | Type and description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
id | string The server's id. | ||||||||
name | string The server's name, as shown in the panel. | ||||||||
status | string
Known values: | ||||||||
stage | string How far setup has got: Known values: | ||||||||
pendingAction | string or null A change in progress on the server ( Known values: | ||||||||
cloud | string Where the server runs: Known values: | ||||||||
region | string The location's id on its cloud, like fra1 (Frankfurt). | ||||||||
planId | string The plan's id (see the plans of each cloud). | ||||||||
priceMonthlyCents | integer What this server is billed each month, in US cents, before any offer: during a sale an invoice can be lower, never higher. It stays as bought when plan prices change. | ||||||||
currency | string Always Always | ||||||||
ipv4 | string or null The server's public IPv4 address. Null until it has one. | ||||||||
ipv6 | string or null The server's public IPv6 address. Null when it has none. | ||||||||
phpVersion | string The PHP version the server's sites run, like 8.3. | ||||||||
backupsEnabled | boolean Whether the whole server is backed up automatically: by its cloud, or by Rabbitflare once it has moved to Rabbitflare's own backups ( | ||||||||
automaticBackupsBy | string or null Who takes the server's automatic backups: Known values: | ||||||||
billing | object How the server is paid for. | ||||||||
method | string or null How the server is paid: Known values: | ||||||||
status | string or null The state of the server's monthly payment: Known values: | ||||||||
currentPeriodEnd | string or null An ISO 8601 time, in UTC When the period paid for ends (the next payment is due then). Null when not known. | ||||||||
pendingPlanId | string or null The plan a resize is waiting to move to, while a PayPal approval is outstanding. Null otherwise. | ||||||||
scheduledDeletionAt | string or null An ISO 8601 time, in UTC When the server will be destroyed if nothing changes (a suspended server, or a free trial that wasn't kept). Null otherwise. | ||||||||
trial | boolean A free trial server that hasn't been kept (paid for) yet. | ||||||||
specs | object or null Servers of your own: the machine as it reported itself. Null for servers bought from Rabbitflare (their plan says it all). | ||||||||
vcpus | integer Processor cores. | ||||||||
memoryGb | number Memory, in GB. | ||||||||
diskGb | number Disk size, in GB. | ||||||||
os | string The operating system, as the server reported it. | ||||||||
arch | string The processor architecture, like x86_64 or aarch64. | ||||||||
provider | string or null The hosting provider the machine was recognised as, when it was (like Amazon Web Services). Null otherwise. | ||||||||
siteCount | integer Sites on the server (staging copies aren't counted). | ||||||||
dataTransfer | object or null Amazon EC2 and Google Cloud servers: data transfer this month. Null on the other clouds, where it isn't billed by use. | ||||||||
period | string The month counted, as YYYY-MM. | ||||||||
usedBytes | integer Data the server sent this month so far (backups to Rabbitflare Backup in the server's own location don't count). | ||||||||
includedBytes | integer What the server's plan includes this month. | ||||||||
extraCentsPerGb | integer The price of each GB beyond what's included, in US cents. | ||||||||
currency | string Always Always | ||||||||
measuredAt | string or null An ISO 8601 time, in UTC When it was last measured (every hour). Null until the first time. | ||||||||
unpaidBill | boolean A data transfer bill that includes this server couldn't be charged: the server stays off until it's paid (in the panel's Billing). | ||||||||
phpSecurity | object Whether the server has every PHP security fix installed and running. Checked every few hours, and on demand. | ||||||||
state | string
Known values: | ||||||||
reason | string or null Why the state is Known values: | ||||||||
build | string or null The installed PHP build, like 8.3.6-0ubuntu0.24.04.13. Null until the first check. | ||||||||
packages | integer How many PHP packages are installed (PHP itself and its extensions). | ||||||||
fixes | array of objects Security fixes released for PHP that aren't installed yet. Show its 3 fields
| ||||||||
restart | array of strings Who still runs the build from before an update: the server's PHP, or a site's address. | ||||||||
auto | boolean Whether security fixes install themselves every day. | ||||||||
listsAt | string or null An ISO 8601 time, in UTC When the server last downloaded the lists of updates. Null when it never has. | ||||||||
securityAt | string or null An ISO 8601 time, in UTC When the list of security updates the server has was published. Null when it has none. | ||||||||
checkedAt | string or null An ISO 8601 time, in UTC When the server was last checked. Null until the first check. | ||||||||
error | string or null Why the latest check failed, when it failed after the last good one. Null otherwise. | ||||||||
security | object The server's security (Imunify360). | ||||||||
status | string Imunify360 on the server: Known values: | ||||||||
available | boolean Whether the server can run Imunify360 and it's open to the account. | ||||||||
lastError | string or null Why the last setup or change failed. Null when nothing failed. | ||||||||
readyAt | string or null An ISO 8601 time, in UTC When the server finished setting up (a server of your own: when it connected). Null until then. | ||||||||
createdAt | string An ISO 8601 time, in UTC When the server was created. | ||||||||
updatedAt | string An ISO 8601 time, in UTC When the server last changed. |
Example
{
"id": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
"name": "Production",
"status": "active",
"stage": "complete",
"pendingAction": null,
"cloud": "digitalocean",
"region": "fra1",
"planId": "business",
"priceMonthlyCents": 5200,
"currency": "usd",
"ipv4": "203.0.113.10",
"ipv6": "2001:db8::10",
"phpVersion": "8.3",
"backupsEnabled": true,
"automaticBackupsBy": "rabbitflare",
"billing": {
"method": "card",
"status": "active",
"currentPeriodEnd": "2026-12-18T08:46:49.000Z"
},
"pendingPlanId": null,
"scheduledDeletionAt": null,
"trial": false,
"specs": null,
"siteCount": 2,
"dataTransfer": null,
"phpSecurity": {
"state": "current",
"reason": null,
"build": "8.3.6-0ubuntu0.24.04.13",
"packages": 14,
"fixes": [],
"restart": [],
"auto": true,
"listsAt": "2026-11-18T06:12:04.000Z",
"securityAt": "2026-11-17T21:30:00.000Z",
"checkedAt": "2026-11-18T07:00:31.000Z",
"error": null
},
"security": {
"status": "on",
"available": true
},
"lastError": null,
"readyAt": "2026-11-18T08:51:12.000Z",
"createdAt": "2026-11-18T08:46:49.000Z",
"updatedAt": "2026-11-18T09:02:31.000Z"
} The PhpSecurity object
Whether the server has every PHP security fix installed and running. Checked every few hours, and on demand.
| Field | Type and description |
|---|---|
state | string
Known values: |
reason | string or null Why the state is Known values: |
build | string or null The installed PHP build, like 8.3.6-0ubuntu0.24.04.13. Null until the first check. |
packages | integer How many PHP packages are installed (PHP itself and its extensions). |
fixes | array of objects Security fixes released for PHP that aren't installed yet. |
name | string The package. |
installed | string The version installed now. |
fixed | string The version with the fix. |
restart | array of strings Who still runs the build from before an update: the server's PHP, or a site's address. |
auto | boolean Whether security fixes install themselves every day. |
listsAt | string or null An ISO 8601 time, in UTC When the server last downloaded the lists of updates. Null when it never has. |
securityAt | string or null An ISO 8601 time, in UTC When the list of security updates the server has was published. Null when it has none. |
checkedAt | string or null An ISO 8601 time, in UTC When the server was last checked. Null until the first check. |
error | string or null Why the latest check failed, when it failed after the last good one. Null otherwise. |
Example
{
"state": "current",
"reason": null,
"build": "8.3.6-0ubuntu0.24.04.13",
"packages": 14,
"fixes": [],
"restart": [],
"auto": true,
"listsAt": "2026-11-18T06:12:04.000Z",
"securityAt": "2026-11-17T21:30:00.000Z",
"checkedAt": "2026-11-18T07:00:31.000Z",
"error": null
} The ServerMetrics object
The server's graphs over a time range: processor, memory, disk, load and bandwidth. Empty until the server is running.
| Field | Type and description |
|---|---|
range | string The time the graphs cover: Known values: |
cpu | array of objects Processor use, in percent (0 to 100). |
t | integer The time of the reading, in Unix seconds. |
v | number The reading. |
memory | array of objects Memory in use, in percent. |
t | integer The time of the reading, in Unix seconds. |
v | number The reading. |
disk | array of objects Disk space in use, in percent. |
t | integer The time of the reading, in Unix seconds. |
v | number The reading. |
load | array of objects The load average over one minute. |
t | integer The time of the reading, in Unix seconds. |
v | number The reading. |
bandwidthIn | array of objects Data received, in megabits per second. |
t | integer The time of the reading, in Unix seconds. |
v | number The reading. |
bandwidthOut | array of objects Data sent, in megabits per second. |
t | integer The time of the reading, in Unix seconds. |
v | number The reading. |
notice | string or null A note about the graphs, for example while a new server's history is still being collected. Null when there's none. |
Example
{
"range": "1h",
"cpu": [
{
"t": 1763455200,
"v": 12.4
}
],
"memory": [
{
"t": 1763455200,
"v": 41.7
}
],
"disk": [
{
"t": 1763455200,
"v": 21.3
}
],
"load": [
{
"t": 1763455200,
"v": 0.18
}
],
"bandwidthIn": [
{
"t": 1763455200,
"v": 0.42
}
],
"bandwidthOut": [
{
"t": 1763455200,
"v": 1.35
}
],
"notice": null
} The Snapshot object
A copy of the whole server that it can be restored from: a snapshot, or an automatic backup, kept by the server's cloud or by Rabbitflare (takenBy).
| Field | Type and description |
|---|---|
id | string The snapshot's or backup's id: a number on some clouds, a UUID on others and for Rabbitflare's copies. Pass it as |
name | string Its name. An automatic backup without a name of its own is named by the day it was taken where the server is (its location's time zone), as the server's activity names it: |
kind | string
Known values: |
takenBy | string Who took it and keeps it: Known values: |
sizeGb | number Its size, in GB. |
createdAt | string An ISO 8601 time, in UTC When it was taken. |
Example
{
"id": "171824639",
"name": "Before the theme update",
"kind": "snapshot",
"takenBy": "cloud",
"sizeGb": 6.31,
"createdAt": "2026-11-17T22:14:05.000Z"
} The ServerLogs object
The server's logs: the room they take, and how they're cleaned up.
| Field | Type and description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
settings | object How the server cleans up its logs. | ||||||||||||||||
autoClean | boolean Whether old logs are cleaned up automatically, every hour. | ||||||||||||||||
keepDays | integer How many days old copies of logs are kept: 1, 3, 7, 14, 30, 90. | ||||||||||||||||
maxSizeMb | integer The size, in MB, a log may reach before it's rotated: 10, 50, 100, 250, 500, 1000. | ||||||||||||||||
freeSpace | boolean Whether space is freed up from logs when the disk is over 90% full. | ||||||||||||||||
state | string
Known values: | ||||||||||||||||
error | string or null Why the settings couldn't be put in place. Null otherwise. | ||||||||||||||||
usage | object or null How much room the logs take, read from the server. Null while the server isn't running or didn't answer (see | ||||||||||||||||
disk | object The server's disk. Show its 4 fields
| ||||||||||||||||
logsBytes | integer Space all logs take. | ||||||||||||||||
groups | array of objects The system's own logs, by group. Show its 6 fields
| ||||||||||||||||
sites | array of objects Each site's logs. Show its 7 fields
| ||||||||||||||||
lastAutoClean | object or null The last automatic clean-up. Null when there hasn't been one. Show its 2 fields
| ||||||||||||||||
autoCleanOn | boolean Whether the server's hourly clean-up is set up and on right now. | ||||||||||||||||
usageError | string or null Why |
Example
{
"settings": {
"autoClean": true,
"keepDays": 7,
"maxSizeMb": 100,
"freeSpace": true,
"state": "applied",
"error": null
},
"usage": {
"disk": {
"totalBytes": 85899345920,
"usedBytes": 18253611008,
"freeBytes": 67645734912,
"usedPercent": 21.3
},
"logsBytes": 412090368,
"groups": [
{
"id": "web",
"title": "Web server",
"bytes": 201326592,
"currentBytes": 12582912,
"oldBytes": 188743680,
"journalBytes": null
}
],
"sites": [
{
"siteId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"name": "Shop",
"stagingCopy": false,
"bytes": 52428800,
"phpBytes": 1048576,
"debugBytes": 50331648,
"oldBytes": 1048576
}
],
"lastAutoClean": {
"ranAt": "2026-11-18T08:00:03.000Z",
"freedBytes": 10485760
},
"autoCleanOn": true
},
"usageError": null
} The ServerLogSettings object
How the server cleans up its logs.
| Field | Type and description |
|---|---|
autoClean | boolean Whether old logs are cleaned up automatically, every hour. |
keepDays | integer How many days old copies of logs are kept: 1, 3, 7, 14, 30, 90. |
maxSizeMb | integer The size, in MB, a log may reach before it's rotated: 10, 50, 100, 250, 500, 1000. |
freeSpace | boolean Whether space is freed up from logs when the disk is over 90% full. |
state | string
Known values: |
error | string or null Why the settings couldn't be put in place. Null otherwise. |
Example
{
"autoClean": true,
"keepDays": 7,
"maxSizeMb": 100,
"freeSpace": true,
"state": "applied",
"error": null
} The ServerLogsCleared object
What clearing logs freed.
| Field | Type and description |
|---|---|
freedBytes | integer Space freed on the server's disk. |
Example
{
"freedBytes": 50331648
} The ServerConnection object
How to connect a server of your own: the command to run on it, and the ports to open.
| Field | Type and description |
|---|---|
command | string or null The one line to run on your server as root to connect it. It carries a one-time key: keep it private. Null once the server is connected. |
ports | array of objects The ports your server's firewall must allow from the internet. |
port | integer The port. |
protocol | string The protocol. Known values: |
purpose | string What it's for. |
Example
{
"command": "curl -fsSL https://app.rabbitflare.com/api/connect/3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d/EXAMPLE-ONE-TIME-KEY | sudo bash",
"ports": [
{
"port": 80,
"protocol": "TCP",
"purpose": "Web traffic (HTTP), and SSL certificate checks"
},
{
"port": 443,
"protocol": "TCP",
"purpose": "Web traffic (HTTPS)"
},
{
"port": 22022,
"protocol": "TCP",
"purpose": "SSH for the Rabbitflare control panel"
}
]
} The ServerMediaOffload object
Media Offload on a server: the storage included with it for its sites' media libraries, and what uses it.
| Field | Type and description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
serverId | string The server's id. | ||||||||
allowance | object or null The server's included storage. Null on servers of your own: storage is included with the servers Rabbitflare creates. | ||||||||
includedBytes | integer Storage included with the server, shared by its sites (decimal: 1 GB is 1,000,000,000 bytes). | ||||||||
usedBytes | integer Storage the server's sites use now. | ||||||||
sites | array of objects The sites using it, largest first. Show its 3 fields
| ||||||||
extraCentsPerGbMonth | number The price of each GB stored beyond what's included, per month, in US cents (it can have decimals). Billed after the month ends. | ||||||||
monthToDateCents | integer or null Extra storage this month so far, before it's billed, in US cents. Null for a token without | ||||||||
currency | string Always Always |
Example
{
"serverId": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
"allowance": {
"includedBytes": 100000000000,
"usedBytes": 12480000000,
"sites": [
{
"siteId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"name": "Shop",
"bytes": 12480000000
}
],
"extraCentsPerGbMonth": 2.085,
"monthToDateCents": 0,
"currency": "usd"
}
} Shared objects
Operations of other groups answer with these too, so each has a page of its own.
- The Site object
- A WordPress site on one of your servers.
- The ToolResult object
- The answer of a tool that ran: what it did.