---
title: "Cli Telemetry"
method: POST
path: "/v1/cli/telemetry"
tags: ["cli"]
---

# Cli Telemetry

`POST /v1/cli/telemetry`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/cli/telemetry`
- Auth: none required
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/cli/telemetry/post.ts> (a function with typed inputs; its response is checked against the schema)

Receive CLI telemetry and forward to Datadog.

Optionally enriched with user info if X-API-Key header is provided.
Geographic info derived from request IP by Datadog.

## Request body

- CliTelemetryEvent: CLI telemetry event payload.
  - `event` string, required
  - `installation_id` string, required
  - `cli_version` string, required
  - `os_type` string, nullable
  - `os_platform` string, nullable
  - `os_arch` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

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

---

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