---
title: "Receive Frontend Metric"
method: POST
path: "/v1/logs/metrics"
tags: ["Logs"]
---

# Receive Frontend Metric

`POST /v1/logs/metrics`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/v1/logs/metrics`
- Auth: none declared

## Request body

- FrontendMetric
  - `name` string, required
  - `duration` number, required
  - `timestamp` string, required
  - `details` object, nullable
  - `sessionId` string, nullable
  - `userId` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rubenayla/apis/partle-api.md) · [All operations](https://skmtc.dev/rubenayla/apis/partle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rubenayla/apis/partle-api/revisions/628cce2acee5?raw)
