Base URL
Authentication
All endpoints require anX-API-Key header with your API key.
See Authentication for details.
Required Headers
| Header | When Required | Description |
|---|---|---|
X-API-Key | All endpoints | Your API key for authentication |
X-Project-ID | Mutating endpoints (POST, DELETE, PATCH) | Project ID for write operations |
Content-Type | Requests with a body | Must be application/json |
400 Bad Request if X-Project-ID is missing.
Request Format
- All request bodies must be JSON with
Content-Type: application/json - Query parameters are used for filtering and pagination
- Path parameters use UUIDs (e.g.,
/api/v1/vms/{id})
Response Format
All responses follow a consistent structure:Success Response
List Response
Error Response
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Resource created |
400 | Invalid request parameters |
401 | Authentication required |
403 | Access denied or billing validation failed |
404 | Resource not found |
429 | Rate limit exceeded |
500 | Internal server error |
503 | Resources temporarily unavailable |
Pagination
List endpoints support pagination via query parameters:| Parameter | Default | Description |
|---|---|---|
limit | 20 | Maximum items to return |
offset | 0 | Number of items to skip |
Available Endpoints
Virtual Machines
Volumes
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/volumes | List volumes |
POST | /api/v1/volumes | Create a volume |
GET | /api/v1/volumes/{id} | Get volume details |
DELETE | /api/v1/volumes/{id} | Delete a volume |
PATCH | /api/v1/volumes/{id} | Resize a volume |
POST | /api/v1/volumes/{id}/attach | Attach to a VM |
POST | /api/v1/volumes/{id}/detach | Detach from a VM |
Snapshots
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/snapshots | List snapshots |
POST | /api/v1/snapshots | Create a snapshot |
GET | /api/v1/snapshots/{id} | Get snapshot details |
DELETE | /api/v1/snapshots/{id} | Delete a snapshot |
POST | /api/v1/snapshots/{id}/restore | Restore a snapshot |
PATCH | /api/v1/snapshots/{id}/rename | Rename a snapshot |
Backups
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/backups | List backups |
POST | /api/v1/backups | Create a backup |
GET | /api/v1/backups/{id} | Get backup details |
DELETE | /api/v1/backups/{id} | Delete a backup |
POST | /api/v1/backups/{id}/restore | Restore a backup |
GET | /api/v1/backup-schedules | List backup schedules |
POST | /api/v1/backup-schedules | Create a schedule |
GET | /api/v1/backup-schedules/{id} | Get schedule details |
DELETE | /api/v1/backup-schedules/{id} | Delete a schedule |
PATCH | /api/v1/backup-schedules/{id} | Update a schedule |