---
title: "Turn telemetry on"
method: POST
path: "/api/telemetry/enable"
tags: ["Telemetry"]
---

# Turn telemetry on

`POST /api/telemetry/enable`

## Request

- Base URL: `http://localhost:3013`
- URL: `http://localhost:3013/api/telemetry/enable`
- Auth: HTTP bearer

Stores `ANONYMIZED_TELEMETRY=true` and applies it to the running server: the install ID is minted if needed and `telemetry.enabled` is sent once, so no restart is needed.

## Request body

- object
  - `via` 'banner' | 'settings' | 'benchmark'

## Response `200`

Telemetry is on

- object
  - `enabled` boolean, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Only a config admin can turn telemetry on

## Changes

- **2026-10-19** `f6ab201accbf`: 1 info
  - added the new `benchmark` enum value to the request property `via`
- **2026-10-12** `4096a267550c`: 1 info
  - endpoint added
- **2026-10-12** `90c376f780df`: 1 breaking
  - api path removed without deprecation
- **2026-10-12** `9ea4863df376`: 1 info
  - endpoint added
- **2026-10-12** `ecb3355b51a5`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/telemetry/enable/post.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) - [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/7e4c7198192a?raw)
