---
title: "Stream live tracing events (Enterprise)"
method: GET
path: "/api/live/tracing"
tags: ["Live Telemetry"]
---

# Stream live tracing events (Enterprise)

`GET /api/live/tracing`

## Request

- Base URL: `https://mail.example.com`
- URL: `https://mail.example.com/api/live/tracing`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
  - API key in query parameter `token`
- TypeScript: <https://skmtc.dev/stalwartlabs/apis/stalwart-management-api/docs/api/live/tracing/get.ts> (a function with typed inputs; its response is checked against the schema)

Opens a `text/event-stream` connection streaming server trace events in
real time. Requires `LiveTracing` permission; may be authenticated via
the `?token=` query parameter from `/api/token/tracing`. Enterprise only.

## Response `200`

Server-Sent Events stream of tracing events

## Other responses

- `401`: Missing or invalid credentials
- `403`: Authenticated principal lacks the required permission
- `404`: Enterprise feature not available in this edition

## Changes

- **2026-07-17** (v1) `a38a1bbfe8b2`: 1 info
  - endpoint added
- **2025-01-05** (v1) `fbbe298bfa82`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/stalwartlabs/apis/stalwart-management-api/changes/api/live/tracing/get.md)

---

[API](https://skmtc.dev/stalwartlabs/apis/stalwart-management-api.md) - [All operations](https://skmtc.dev/stalwartlabs/apis/stalwart-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stalwartlabs/apis/stalwart-management-api/revisions/a38a1bbfe8b2?raw)
