---
title: "Track CLI installation event"
method: POST
path: "/api/v1/cli/telemetry"
tags: ["Telemetry"]
---

# Track CLI installation event

`POST /api/v1/cli/telemetry`

## Request

- Base URL: `http://:8080`
- URL: `http://:8080/api/v1/cli/telemetry`
- Auth: none declared

Track CLI installation event.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: May mutate server state.

## Headers

- `Accept` string

## Request body `*/*`

- TrackInstallRequest: TrackInstallRequest schema
  - `arch` string, required: CPU architecture. Valid values: amd64, arm64, unknown
  - `duration` integer: Installation duration in seconds
  - `error` string, nullable: Error message if installation failed
  - `event_type` string, required: Type of installation event
  - `os` string, required: Operating system identifier. Valid values: ubuntu, debian, centos, fedora, rhel, alpine, arch, opensuse, sles, amzn, ol, rocky, almalinux, raspbian, pop, mint, manjaro, kali, nixos, gentoo, void, slackware, clear-linux-os, unknown
  - `version` string, required: Semantic version string (e.g. 1.2.3 or 1.2.3-beta.1)

## Response `201`

Created

- TrackInstallResponse: TrackInstallResponse schema
  - `message` string
  - `status` string

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `500`: Internal Server Error _(panics)_
- `default`

## Changes

- **2026-04-26** `09f18af670c4`: 5 breaking, 3 warning, 3 info
  - the request property `arch` became required
  - the request property `event_type` became required
  - the request property `os` became required
  - the request property `version` became required
  - …7 more
- **2026-04-02** `2beb810c5221`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nixopus/apis/nixopus-api/changes/api/v1/cli/telemetry/post.md)

---

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