Skip to content
statance
MenuClose

Legacy API

Compatibility notes for the original Statance agent and API endpoints, which remain supported.

Statance keeps the original API on api.statance.com so agents and scripts written against it keep working. New integrations should use the v1 REST API.

Agent endpoints

PUT /receive/system/{general,cpu,memory,disk,network,processes,addons} with JSON bodies containing userToken (your API key) and token (per-server token). Data from separate requests in the same minute is merged.

Dashboard endpoints (session cookie)

  • GET /distribute/servers, /distribute/server?serverId=
  • GET /distribute/graph/{cpu,memory,disk,network}?serverId=&days=
  • GET /distribute/list/processing?serverId=, /distribute/list/recent-alerts?serverId=
  • GET /distribute/recipients, /distribute/alerts
  • POST /receive/alerts/{submit,update,delete}, /receive/recipients/{submit,update,delete}, /receive/server/delete

Account endpoints

/account/{login,register,logout,info,plans,change-plan,change-settings,change-key,delete,forgot-password} and /stripe/{create-checkout-session,portal,setup}.

Agent downloads

  • https://dashboard.statance.com/agent/dl/statance.sh — now installs the current agent while keeping the server token
  • https://dashboard.statance.com/agent/versions.json and /agent/dl/latest.zip — the original agent’s auto-updater now receives version 1.2.0, which upgrades it to the current agent on its own and keeps the server’s token and history. The 2019 agent is no longer offered for download.

Differences

  • reCAPTCHA is no longer required on /account/login and /account/register; requests are rate limited instead.
  • The old dashboard at dashboard.statance.com redirects to the new app at statance.com/app.
  • Graph history is limited by your plan’s retention.