Litmus Edge Manager API Documentation (2.31.x)

Litmus Edge Manager (LEM) is the fleet management plane for Litmus Edge. One LEM instance oversees many edge devices across companies, sites, and projects: it provisions new edges, deploys applications and updates, takes and restores backups, manages licenses and users, and centralizes Digital Twin asset models. This page indexes 304 endpoints across the fleet API and the admin console.

Authentication and base URLs

LEM uses an admin API token rather than OAuth2. Generate one in the LEM Admin Console under Settings, then Tokens, and send it as the X-AuthToken header. The token does not expire automatically; revoke it from the Admin Console when no longer needed.

One important quirk: LEM exposes three distinct URL prefixes, and each category of endpoint belongs to exactly one of them. Check which prefix an endpoint uses before constructing the URL.

{{LEM_URL}}/api/v1/...

Main fleet API, about 158 endpoints.

X-AuthToken
{{LEM_URL}}/mpcs/...

Marketplace catalog management, 16 endpoints. The one prefix that authenticates with Authorization instead of X-AuthToken.

Authorization Marketplace Catalog in API collection
{{LEM_adminURL}}/admin/v1/...

Admin console, served on port 8446, about 144 endpoints.

X-AuthToken

API sections

Companies

The top of the fleet hierarchy: list and manage companies and their projects.

View in API collection

Edge Lifecycle Management

Everything done to an edge through LEM: device inventory, zero-touch activation, application deployment, backups and restores, alerts, per-edge users and RBAC, licenses, certificates, software updates, remote access (WireGuard), and AI/ML model distribution.

View in API collection

Digital Twins / Asset Management

Fleet-wide DT2 asset models: define an asset hierarchy once and use it across every edge in the fleet.

View in API collection

Admin Console

Administration of the LEM instance itself: settings, users and teams, tokens, Docker registry, license server management, data lifecycle (partitions, archive, purge), instance alerts, integrations (Kafka, ClickHouse, Syslog, git tracking, AI assistant), and system logs.

View in API collection

The whole product in one place: Litmus Edge Manager in the API collection.

Two RBAC scopes, two APIs

LEM has two separate user-management surfaces, and confusing them is the most common mistake when working with this API:

Common multi-step tasks

The complete list of guides is on the workflows page.

Reference material