API referenceSections

Servers the caller may place a customer on, with their load

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/provisioning/servers

Servers the caller may place a customer on, with their load

Permissions: plan.manage.

Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Servers

Content type: application/json

object
  • items array<PlacementServer> required
    • id string required
    • name string required
    • hostname string optional

      Only for the server's own tenant

    • public_ip string optional
    • maintenance string required
    • online boolean required
    • accepts_new boolean required
    • accounts integer required

      The caller's live accounts on it

    • sites integer optional

      All sites on it; only for the server's own tenant

    • cpu_percent number | null required
    • mem_used_mb integer | null required
    • mem_total_mb integer | null required
    • disk_free_mb integer | null required
    • disk_total_mb integer | null required
Example
{
  "items": [
    {
      "id": "string",
      "name": "string",
      "hostname": "string",
      "public_ip": "string",
      "maintenance": "string",
      "online": true,
      "accepts_new": true,
      "accounts": 0,
      "sites": 0,
      "cpu_percent": 0,
      "mem_used_mb": 0,
      "mem_total_mb": 0,
      "disk_free_mb": 0,
      "disk_total_mb": 0
    }
  ]
}

429 Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required

default Error

Content type: application/json

Fields of Error are shown above.