---
title: "Purge Expired Mcp Call Logs"
method: POST
path: "/internal/mcp-call-logs/purge-expired"
tags: ["internal"]
---

# Purge Expired Mcp Call Logs

`POST /internal/mcp-call-logs/purge-expired`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/internal/mcp-call-logs/purge-expired`
- Auth: none declared. Required headers: `x-service-token`

Delete MCP call log rows past their retention window (worker only).

## Headers

- `x-service-token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
