Documentation/Embed SDK

Iframe embed

<iframe
  src="https://api.unimoni.example.com/embed/chart?metric=system_cpu_usage_percent&last=1h&token=JWT"
  width="600"
  height="300"
  frameborder="0"
></iframe>

URL parameters

  • metric — bare name
  • last — 15m / 1h / 6h / 24h
  • step — 15s / 30s / 1m / 5m
  • token — a JWT, fetched from your backend via /api/v1/embed/tokens

Sizes

The iframe respects width and height. Inside, Recharts with ResponsiveContainer adapts to the container.

Themes

?theme=light (default) or ?theme=dark. The palette adapts to the partner's background.