---
title: "Delete historical logs"
method: DELETE
path: "/api/logs/"
tags: ["logs"]
---

# Delete historical logs

`DELETE /api/logs/`

Deletes logs older than the specified retention period

## Query parameters

- `timestamp` integer, required

## Response `200`

OK

- object
  - `data` integer
  - `message` string
  - `success` boolean

## Changes

- **2025-05-23** `eb3d08e71881` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2025-05-23** `544096a3f194` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/logs/delete.md)

---

[API](https://skmtc.dev/labring/apis/ai-proxy-swagger-api.md) · [All operations](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/labring/ai-proxy-swagger-api/revisions/696faf563b42/schema)
