Overview
The Xloud Cloud Platform exposes a comprehensive set of RESTful APIs that give you programmatic control over every infrastructure resource — compute instances, block storage volumes, networks, identity tokens, and more. All APIs use token-based authentication and return JSON-formatted responses.Prerequisites
- An active Xloud account with project membership
- API access enabled (contact your administrator if not available)
- API base URL:
https://api.<your-domain>or the internal endpoint provided during deployment
API Services
Authentication
Token-based auth, application credentials, and scoped tokens
Compute API
Instances, flavors, keypairs, and console access
Storage API
Volumes, snapshots, backups, and volume types
Networking API
Networks, subnets, routers, security groups, and floating IPs
Identity API
Projects, users, roles, domains, and service catalog
Automation
Scripting patterns, SDK usage, and webhook integration
Quick Reference
| Service | Base Path | Current Version |
|---|---|---|
| Identity (Keystone) | /identity/v3 | v3 |
| Compute (Nova) | /compute/v2.1 | v2.1 |
| Block Storage (Cinder) | /volume/v3 | v3 |
| Networking (Neutron) | /networking/v2.0 | v2.0 |
| Image Service (Glance) | /image/v2 | v2 |
| Object Storage (Swift) | /object-store/v1 | v1 |
| Object Storage (S3) | /s3 | S3 v4 |
Authentication Overview
All API calls require a valid token in theX-Auth-Token header. Obtain a token by authenticating against the Identity service:
Obtain authentication token
X-Subject-Token response header contains the token value. Use it in all subsequent API calls:
Use token in API calls
Response Format
All API responses use JSON. Standard HTTP status codes indicate success or failure:| Status | Meaning |
|---|---|
200 OK | Request succeeded. Response body contains the resource. |
201 Created | Resource created. Response body contains the new resource. |
202 Accepted | Asynchronous operation started. Poll the resource for status. |
204 No Content | Request succeeded. No response body (common for DELETE). |
400 Bad Request | Invalid request body or parameters. Check the error message. |
401 Unauthorized | Invalid or expired token. Re-authenticate. |
403 Forbidden | Valid token, but insufficient permissions for this operation. |
404 Not Found | Resource does not exist or is not visible to your project. |
409 Conflict | Operation conflicts with current resource state. |
429 Too Many Requests | Rate limit exceeded. Back off and retry. |
Next Steps
Authentication Guide
Start here — learn how to obtain tokens and use application credentials
Automation Patterns
Scripting, SDK usage, and CI/CD pipeline integration examples