Overview
Polystack exposes OpenStack-compatible RESTful APIs. These APIs 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 Polystack 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
Quick Reference
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:Next Steps
Authentication Guide
Start here — learn how to obtain tokens and use application credentials
