View current resource limits for your account.

This endpoint provides an overview of your current resource limits for various services like CPU, RAM, and disk space. It's useful for understanding how much of your allocated resources are consumed and how much remains. The endpoint also returns a unique requestId that may be needed for certain follow-up actions, such as initiating payments.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/cloud/limits
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/cloud/limits" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "limits": {
      "cpu": {
        "limit": 0,
        "used": 0,
        "available": 0
      },
      "ram": {
        "limit": 0,
        "used": 0,
        "available": 0
      },
      "disk": {
        "limit": 0,
        "used": 0,
        "available": 0
      },
      "floatingIp": {
        "limit": 0,
        "used": 0,
        "available": 0
      },
      "vm": {
        "limit": 0,
        "used": 0,
        "available": 0
      },
      "snapshot": {
        "limit": 0,
        "used": 0,
        "available": 0
      },
      "privateNetwork": {
        "limit": 0,
        "used": 0,
        "available": 0,
        "pendingRequest": "string"
      }
    },
    "hasPendingRequests": true,
    "pendingRequests": [
      "string"
    ]
  }
}