INhillstribe docsDashboard →

API Reference

Programmatic access to your Hillstribe account and instances.

Authentication

All endpoints require authentication via session cookie (automatically sent by the browser when logged in). API key authentication is coming soon.

Base URL: https://app.hillstribe.tech

All responses are JSON. Errors return { "error": "..." } with an appropriate HTTP status code.

Account

GET/api/me

Returns the current authenticated user's profile and subscription details.

Response

{ "user": { "id": "clx...", "email": "user@example.com", "name": "Jane Doe", "role": "CUSTOMER" },
  "subscription": { "id": "clx...", "status": "ACTIVE" } }

Instance status

GET/api/instance/status

Returns all active instances for the current user with their current status.

Response

{ "instances": [
    { "id": "clx...", "slug": "my-n8n", "status": "RUNNING",
      "url": "https://my-n8n.eu-1.hillstribe.tech", "n8nVersion": "1.123.37" }
  ] }
GET/api/check-slug?slug=my-name

Checks whether a subdomain slug is available.

Response

{ "available": true }

n8n provisioning

POST/api/provision/free

Provisions a new n8n instance on the free plan.

Request body

{ "slug": "my-n8n", "n8nVersion": "1.123.37" }

Response

{ "ok": true }
POST/api/checkout

Buys a paid plan: the first month is paid from your balance and the instance is deployed. Returns where to go next. 402 if the balance is too low.

Request body

{ "planId": "clx...", "addonIds": [], "slug": "my-n8n",
  "n8nVersion": "1.123.37", "customDomain": null }

Response

{ "url": "https://app.hillstribe.tech/dashboard/products/n8n?checkout=success&instance=...", "paid": true }

OpenClaw provisioning

POST/api/provision/openclaw

Provisions a new OpenClaw instance on the free plan. Pass at least one LLM API key.

Request body

{ "slug": "my-agent", "version": "latest",
  "anthropicApiKey": "sk-ant-...",
  "openaiApiKey": null, "geminiApiKey": null, "openrouterApiKey": null }

Response

{ "ok": true, "url": "https://my-agent.eu-1.hillstribe.tech" }

Instance lifecycle

POST/api/instance/[id]/start

Starts a stopped instance. Transitions STOPPED → PROVISIONING → RUNNING. Works for all products.

Response

{ "ok": true }
POST/api/instance/[id]/stop

Stops a running instance. Pod scales to zero; data is preserved. Works for all products.

Response

{ "ok": true }
POST/api/instance/[id]/upgrade

Upgrades the service version. For n8n pass an n8n version; for OpenClaw pass an OpenClaw version.

Request body

{ "newVersion": "1.123.37" }

Response

{ "ok": true }
POST/api/instance/[id]/migrate

Migrates the instance to a different cluster/region. Requires a recent S3 backup. Returns migration job result.

Request body

{ "toClusterId": "clx..." }

Response

{ "jobId": "clx...", "step": "DONE" }
POST/api/instance/[id]/delete

Permanently deletes an instance. Removes all Kubernetes resources and data. Irreversible.

Response

{ "ok": true }

Billing

POST/api/billing/topups

Reports a bank transfer to your balance. Credited once Hillstribe confirms the payment.

Request body

{ "amountNpr": 1400, "paidReference": "FT2611210012345" }

Response

{ "id": "clx...", "reference": "HT-7KQ4XM" }
GET/api/billing/balance

Your current balance in USD.

Response

{ "balanceUsd": 12.5 }

Notifications

GET/api/notifications

Returns unread notifications for the current user.

Response

{ "notifications": [
    { "id": "clx...", "type": "INSTANCE_READY", "title": "Your instance is ready",
      "body": "my-n8n is up and running.", "read": false, "createdAt": "..." }
  ], "unreadCount": 1 }
POST/api/notifications/read

Marks all notifications as read.

Response

{ "ok": true }

Activity

GET/api/activity

Returns paginated activity log for the current user. Supports ?page=1&category=INSTANCE.

Response

{ "logs": [
    { "id": "clx...", "category": "INSTANCE", "level": "info",
      "message": "Instance "my-n8n" is now running", "createdAt": "..." }
  ], "total": 42, "page": 1 }