---
title: "Ocr Cleanup"
method: POST
path: "/api/v1/internal/cron/ocr-cleanup"
tags: ["cron"]
---

# Ocr Cleanup

`POST /api/v1/internal/cron/ocr-cleanup`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/internal/cron/ocr-cleanup`
- Auth: none declared

Apply OCR source/result/cache retention without deleting job audit data.

## Query parameters

- `limit` integer

## Headers

- `X-Cron-Secret` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
