---
title: "Remove old daemon job logs"
method: POST
path: "/api/logs/clean"
tags: ["maintenance"]
---

# Remove old daemon job logs

`POST /api/logs/clean`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- CleanJobLogsInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `days` integer, required

## Response `200`

OK

- CleanJobLogsOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `removed` integer, required

## Other responses

- `default`: Error

## Changes

- **2026-10-02** `f4a08e7ffd79`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/logs/clean/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) - [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/roborev/revisions/5803a85073e3?raw)
