---
title: "POST /Telemetries/"
method: POST
path: "/Telemetries/"
tags: ["Telemetries"]
---

# POST /Telemetries/

`POST /Telemetries/`

Create telemetry record

## Request body

- Telemetry
  - `eventType` 'Start' | 'End', required — The event type of the telemetry.
  - `timestamp` string, date-time, required — The timestamp of the telemetry.
  - `firstCall` boolean — Whether current activity is the first activity in the call chain.
  - `metadata` Metadata
    - `activityName` 'pf.flow.test' | 'pf.flow.node_test' | 'pf.flow._generate_tools_meta', required — The name of the activity.
    - `activityType` string, required — The type of the activity.
    - `completionStatus` 'Success' | 'Failure' — The completion status of the activity.
    - `durationMs` integer — The duration of the activity in milliseconds.
    - `errorCategory` string — The error category of the activity.
    - `errorType` string — The error type of the activity.
    - `errorTarget` string — The error target of the activity.
    - `errorMessage` string — The error message of the activity.
    - `errorDetails` string — The error details of the activity.

## Response `200`

Create telemetry record

## Other responses

- `400` — Input payload validation failed
- `403` — Telemetry is disabled or X-Remote-User is not set.

---

[API](https://skmtc.net/azure/apis/prompt-flow-service.md) · [All operations](https://skmtc.net/azure/apis/prompt-flow-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/prompt-flow-service/versions/04d616ce43c8/schema)
