---
title: DataHub
slug: api-docs/datahub
description: DataHub endpoints for Litmus Edge: topics, schemas, routes, transforms, and outbound publishers. Reference with live execution on api.litmus.io.
docTags: 
createdAt: 2026-05-11T22:09:06.623Z
---

# DataHub (LE)

16 endpoints. REST under `/datahub/...`. Internal data routing and storage configuration - controls where DeviceHub tag values are persisted and which retention applies.

:::BlockQuote
**Run these endpoints:** open the [DataHub folder on api.litmus.io](https://api.litmus.io/view/2s9Y5R1RvG#eadfdbe0-2550-47ff-bbfb-168a3155ebb0).
:::

## Capabilities

- Configure / inspect the embedded time-series store
- Manage cloud storage targets (S3 / Azure Blob / GCS) for tag-data offload
- Set retention policies
- Trigger / monitor batch exports

## Typical operations

| Endpoint                              | Purpose                     |
| ------------------------------------- | --------------------------- |
| `GET /datahub/config`                 | Current data routing config |
| `PUT /datahub/config`                 | Update config               |
| `GET /datahub/cloud-storages`         | List cloud storage targets  |
| `POST /datahub/cloud-storages`        | Add a cloud storage target  |
| `PUT /datahub/cloud-storages/{id}`    | Update                      |
| `DELETE /datahub/cloud-storages/{id}` | Remove                      |
| `GET /datahub/retention`              | Retention policy            |
| `PUT /datahub/retention`              | Update retention            |

:::BlockQuote
DataHub is distinct from **Integration** (`/cc/v2`). DataHub stores edge-local; Integration streams out to external systems.
:::

