A REST API, the same as the portal's
The portal, the command line and the AI assistant all use the same REST API, described in OpenAPI. Nothing is reserved for the web interface: whatever you do in a few clicks, you can script.
Each organisation creates its application credentials in the portal and can revoke them at any time. Their role limits what a script can do, and the token is shown only once, when it is created.
Terraform and OpenTofu
The PYSOFT provider describes your VMs, security groups, public IPs and load balancers as code: you version your infrastructure, review it before applying it and recreate it identically.
Existing resources can be imported. A flavour change is made in place, and the VM restarts. Volumes, VPNs, Kubernetes and S3 storage will come next.
Security and limits
Calls go over HTTPS, and every token is verified by the platform itself. Each identity is limited to 20 requests per second, with a reserve of 100, so that a runaway script bothers no one.