---
title: "Send client log"
method: POST
path: "/api/v1/server/logs/client"
tags: ["Logs"]
---

# Send client log

`POST /api/v1/server/logs/client`

## Request body

- SendClientLog
  - `level` 'error' | 'warn', required
  - `message` string, required
  - `meta` string — Additional information regarding this log
  - `stackTrace` string — Stack trace of the error if there is one
  - `url` string, required — URL of the current user page
  - `userAgent` string — User agent of the web browser that sends the message

## Response `204`

successful operation

---

[API](https://skmtc.net/cpy/apis/peertube.md) · [All operations](https://skmtc.net/cpy/apis/peertube/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpy/peertube/revisions/efe11b159e43/schema)
