Get a service
/services/{serviceId}Use this to read a service's status, billing, addresses, power state and resources. The server state comes from a cache refreshed about every minute; stale is true when it is older than 5 minutes.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
services:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
serviceIdstring (uuid)RequiredThe service's id.
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK The service.
objectstringRequiredThe object's type. Always "service".
idstring (uuid)RequiredThe service's id.
typestringRequiredvps, dedicated or proxy.
One ofvpsdedicatedproxystatusstringRequiredpending (paid and waiting for set-up to start), provisioning, active, suspended, failed (set-up failed; staff are on it), terminating (deletion scheduled at deletesAt) or terminated.
One ofpendingprovisioningactivesuspendedfailedterminatingterminatedsuspensionReasonstring or nullRequiredWhy the service is suspended: overdue (an unpaid invoice) or other (contact support). Null unless suspended.
One ofoverdueotherdeletesAtstring (date-time) or nullRequiredWhen a terminating service's server will be deleted, or null.
planIdstringRequiredThe plan's id.
planNamestring or nullRequiredThe plan's name.
regionstring or nullRequiredThe region, or null for a proxy.
One ofmumbaisingaporelimburglabelstring or nullRequiredYour label for the service.
max length 253referencestring or nullRequiredYour own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.
min length 1, max length 100metadataobjectRequiredYour own key-value data on this object.
max 20 keysfirewallAvailablebooleanRequiredTrue when the service has a Shield firewall you can manage through the firewall operations.
billingobject or nullRequiredBilling details, for the account owner's tokens. Null for a delegate's token.
Show 6 child attributesHide 6 child attributes
cycleMonthsintegerRequiredThe billing cycle in months.
priceobject or nullRequiredThe renewal price per cycle, excluding GST, locked when the service was bought. Null when it cannot be read.
Show 2 child attributesHide 2 child attributes
amountintegerRequiredThe amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.
min -9007199254740991, max 9007199254740991currencystringRequiredThe ISO 4217 currency code, upper case.
pattern ^[A-Z]{3}$
currentPeriodStartstring (date)RequiredThe first day of the current period, a UTC calendar day.
paidThroughstring (date)RequiredThe last day paid for, a UTC calendar day. The renewal invoice for the next period is issued before it.
cancelAtPeriodEndbooleanRequiredTrue when the service will end on paidThrough instead of renewing.
endsOnstring (date) or nullRequiredThe day the service ends, when cancelAtPeriodEnd is true; otherwise null.
serverobject or nullRequiredFor vps and dedicated; null for proxy.
Show 8 child attributesHide 8 child attributes
powerStatestringRequiredrunning, stopped, building (being built or reinstalled), suspended, missing (the server cannot be found; staff are notified) or unknown.
One ofrunningstoppedbuildingsuspendedmissingunknownhostnamestring or nullRequiredThe hostname you set at order or reinstall.
ipv4array of stringRequiredThe server's IPv4 addresses, primary first.
ipv6array of stringRequiredThe server's IPv6 addresses.
imageobject or nullRequiredThe installed image, or null when not known.
Show 4 child attributesHide 4 child attributes
objectstringRequiredThe object's type. Always "image".
idstringRequiredThe image's id. Pass it as imageId.
namestringRequiredThe image's name, for showing to people.
familystringRequiredlinux or windows. A root password reset sets the password of Administrator on windows and of root otherwise.
One oflinuxwindows
resourcesobject or nullRequiredThe server's resources, or null when not known.
Show 4 child attributesHide 4 child attributes
cpuCoresinteger or nullRequiredVirtual CPU cores, or null when not known.
memoryMbinteger or nullRequiredMemory in MiB, or null.
diskGbinteger or nullRequiredDisk in GB, or null.
trafficGbinteger or nullRequiredMonthly traffic allowance in GB, or null for unmetered or unknown.
statusUpdatedAtstring (date-time) or nullRequiredWhen this state was read.
stalebooleanRequiredTrue when the state is more than 5 minutes old.
proxyobject or nullRequiredFor proxy; null otherwise.
Show 2 child attributesHide 2 child attributes
profilestringRequiredThe protection profile.
portsarray of ProxyPortRequiredThe protected ports.
Show 3 child attributesHide 3 child attributes
protocolstringRequiredtcp or udp.
One oftcpudpportStartintegerRequiredThe first port.
min 1, max 65535portEndintegerRequiredThe last port, equal to portStart for one port.
min 1, max 65535
createdAtstring (date-time)RequiredWhen the service was created.
livemodebooleanRequiredTrue for objects of your live account.
Every response
- 200OKThe service.
- 400Bad requestThe request is not valid. Codes: version_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: ip_not_allowed, api_access_disabled, scope_missing.
- 404Not foundNot found. Codes: not_found.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.