- Docs
- API reference
- Plans, templates and system API
Plans, templates and system API
List plans and OS templates, read the version and license status, and check health with the PikoStack hosting API.
Plans#
GET /api/v1/plans · readonly
[
{"id": "piko.small", "name": "piko.small", "vcpus": 1, "memory_mb": 2048, "disk_gb": 40}
]
Only plans whose name starts with the configured prefix (piko. by default) are listed.
Templates#
GET /api/v1/templates · readonly
[
{
"id": "b0e1...", "key": "ubuntu-24.04", "name": "Ubuntu 24.04 LTS",
"os_distro": "ubuntu", "os_version": "24.04", "login_user": "ubuntu",
"min_disk_gb": 10, "size_bytes": 612368384
}
]
Use key as template_id when creating or rebuilding servers.
Version#
GET /api/v1/version · readonly
Returns build information: version, commit and build date.
License#
GET /api/v1/license · readonly
{
"claims": {
"license_id": "LIC-2026-000123", "customer": "Example Hosting", "edition": "hosting",
"max_nodes": 4, "max_servers": 0, "issued_at": "2026-11-23T00:00:00Z", "expires_at": "2027-11-23T00:00:00Z"
},
"valid": true, "in_grace": false, "fingerprint_ok": true, "checked_at": "2026-11-23T12:00:00Z"
}
max_servers: 0 means unlimited.
POST /api/v1/license/reload · admin
Re-reads the license file, the same as systemctl reload pikod.
Health#
| Endpoint | Auth | Returns |
|---|---|---|
GET /healthz |
None | 200 while pikod runs |
GET /readyz |
None | 200 when the cloud backend is reachable, 503 otherwise |
Something unclear or wrong on this page? Tell us. © 2026 PikoStack.