- 👋 Hello
- API Introduction
- API Reference
- User
- Balance
- Affiliate
- Invoices
- Support
- SSH Keys
- Servers
- Scale
- Addons
- Rescue
- List plansGET
- List serversGET
- Server statusGET
- Get a serverGET
- Server metricsGET
- BandwidthGET
- Deploy new serverPOST
- Start a serverPOST
- Restart a serverPOST
- Stop a serverPOST
- Power offPOST
- Cancel serverPOST
- Undo cancel requestDELETE
- Change passwordPUT
- Update hostnamePUT
- Update SSH KeysPATCH
- Modify ISOsPOST
- RestorePOST
- Renew serverPOST
- Reinstall ServerPOST
- Change Primary IPPOST
- Calculate renew amountPOST
- Plans
- Snapshots
- Backups
- Server Images
- Floating IPs
- IP Addresses
- Network Protection
- Orders
- ISOs
Server status
GET
https://api.vpsbg.eu/v1/servers/{id}/status
Servers
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
integerÂ
required
Header Params
Accept
stringÂ
required
Default:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.vpsbg.eu/v1/servers//status' \
--header 'Accept;'
Responses
🟢200Live information regarding your server - current resource usage, state and additional information.
application/json
Body
running
booleanÂ
required
suspended
booleanÂ
required
network_suspended
booleanÂ
required
rescue_mode
booleanÂ
required
dns_resolvers
array[string]
required
cpu
objectÂ
required
used
numberÂ
required
free
numberÂ
required
disk
objectÂ
required
used
integerÂ
required
limit
integerÂ
required
ram
objectÂ
required
used
number  | nullÂ
optional
limit
integer  | nullÂ
optional
bandwidth
objectÂ
required
used
numberÂ
required
limit
integerÂ
required
isos
objectÂ
required
primary
optional
secondary
optional
boot_from_iso
booleanÂ
required
Example
{
"running": true,
"suspended": false,
"network_suspended": false,
"rescue_mode": false,
"dns_resolvers": [
"9.9.9.9",
"208.67.222.222"
],
"cpu": {
"used": 1.7,
"free": 98.3
},
"disk": {
"used": 0,
"limit": 50
},
"ram": {
"used": 1288,
"limit": 2000
},
"bandwidth": {
"used": 0.03,
"limit": 5000
},
"isos": {
"primary": {
"id": 1,
"status": "downloaded",
"name": "AlmaLinux-9.5-x86_64-boot.iso",
"size": 1111998464,
"downloaded": 1111998464,
"created_at": "2025-02-03T10:58:19.000000Z",
"deletion_at": "2025-02-05T10:58:19.000000Z"
},
"secondary": null,
"boot_from_iso": false
}
}
🔴500Server Error
Modified at 2025-03-25 12:58:34