Skip to main content
Reference06 / API

API reference

The same operations the dashboard and CLI perform, over HTTP. Authenticate with an API key as a bearer token.

Endpoints

REST endpoints exposed by the HiheMAX Dock API
MethodPathReturns
GET/v1/accountThe authenticated account, its workspaces and current plan.
GET/v1/plansEvery plan with its flat price in the request currency.
POST/v1/deployCreate a deployment for a project. Returns immediately with a build id.
GET/v1/deploymentsDeployment history for a project, newest first.
GET/v1/deployments/:id/statusBuild state, duration and the resulting address.
GET/v1/deployments/:id/logsBuild and runtime logs for a deployment.
POST/v1/deployments/:id/rollbackRestore a previous deployment, configuration included.
GET/v1/envEnvironment variables for a project. Secret values are never returned.
PUT/v1/envCreate or update environment variables as a set.
DELETE/v1/envRemove named environment variables from a project.

Errors

401

Missing or invalid API key.

404

No such project or deployment.

429

Rate limited. Back off and retry.