---
title: Analytics
slug: api-docs/analytics
description: Analytics endpoints for Litmus Edge: upload TensorFlow models, configure inference pipelines, and inspect predictions. Reference with live execution on api.litmus.io.
docTags: 
createdAt: 2026-05-11T22:09:52.039Z
---

# Analytics (LE)

39 endpoints in 4.0.x. REST under `/analytics/...`. Run real-time computations on DeviceHub tag values - thresholds, aggregations, custom Python, and TensorFlow inference.

:::BlockQuote
**Run these endpoints:** open the [Analytics folder on api.litmus.io](https://api.litmus.io/view/2s9Y5R1RvG#cb468825-dca2-4803-94b7-fcafa4a08169).
:::

## Capabilities

- **Processors**: per-tag or per-group calculation jobs (sliding-window aggregates, custom expressions)
- **Groups**: group multiple tags for batch processing
- **AI Models**: upload TensorFlow models, run inference against tag values

## Typical operations

### Processors

| Endpoint                                | Purpose |
| --------------------------------------- | ------- |
| `GET /analytics/processors`             | List    |
| `POST /analytics/processors`            | Create  |
| `PUT /analytics/processors/{id}`        | Update  |
| `DELETE /analytics/processors/{id}`     | Delete  |
| `POST /analytics/processors/{id}/start` | Start   |
| `POST /analytics/processors/{id}/stop`  | Stop    |

### Groups

| Endpoint                        | Purpose |
| ------------------------------- | ------- |
| `GET /analytics/groups`         | List    |
| `POST /analytics/groups`        | Create  |
| `PUT /analytics/groups/{id}`    | Update  |
| `DELETE /analytics/groups/{id}` | Delete  |

### AI Model upload (resumable, 3 steps)

| Step           | Method | Endpoint                                               |
| -------------- | ------ | ------------------------------------------------------ |
| Clear          | DELETE | `/analytics/v2/upload_model/v2`                        |
| Create session | POST   | `/analytics/v2/upload_model/v2` (body: `{size, name}`) |
| Upload bytes   | PUT    | `/analytics/v2/upload_model/v2/resume/{id}`            |

See [Upload Analytics Model workflow](#).
