---
title: "Clear all log entries"
method: POST
path: "/v1/logs/clear"
tags: ["Logs"]
---

# Clear all log entries

`POST /v1/logs/clear`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/logs/clear`
- Auth: HTTP bearer

## Response `200`

Logs cleared

- object
  - `ok` true, required
  - `cleared` integer, required

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
