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
/api/meReturns 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
/api/instance/statusReturns 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" }
] }/api/check-slug?slug=my-nameChecks whether a subdomain slug is available.
Response
{ "available": true }n8n provisioning
/api/provision/freeProvisions a new n8n instance on the free plan.
Request body
{ "slug": "my-n8n", "n8nVersion": "1.123.37" }Response
{ "ok": true }/api/checkoutBuys 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
/api/provision/openclawProvisions 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
/api/instance/[id]/startStarts a stopped instance. Transitions STOPPED → PROVISIONING → RUNNING. Works for all products.
Response
{ "ok": true }/api/instance/[id]/stopStops a running instance. Pod scales to zero; data is preserved. Works for all products.
Response
{ "ok": true }/api/instance/[id]/upgradeUpgrades the service version. For n8n pass an n8n version; for OpenClaw pass an OpenClaw version.
Request body
{ "newVersion": "1.123.37" }Response
{ "ok": true }/api/instance/[id]/migrateMigrates 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" }/api/instance/[id]/deletePermanently deletes an instance. Removes all Kubernetes resources and data. Irreversible.
Response
{ "ok": true }Billing
/api/billing/topupsReports a bank transfer to your balance. Credited once Hillstribe confirms the payment.
Request body
{ "amountNpr": 1400, "paidReference": "FT2611210012345" }Response
{ "id": "clx...", "reference": "HT-7KQ4XM" }/api/billing/balanceYour current balance in USD.
Response
{ "balanceUsd": 12.5 }Notifications
/api/notificationsReturns 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 }/api/notifications/readMarks all notifications as read.
Response
{ "ok": true }Activity
/api/activityReturns 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 }