---
title: "Delete old AI content batches"
method: DELETE
path: "/aicontent/oldbatches"
tags: ["AI content"]
---

# Delete old AI content batches

`DELETE /aicontent/oldbatches`

Delete all AI content except the current batch

Remove all AI content entries except those with the current batch ID, optionally filtered by type

## Headers

- `project` string, required

## Request body

- object
  - `type` string
  - `currentBatchId` string, required

## Response `200`

Ok

- object
  - `deleted` unknown, required
  - `success` boolean, required

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/2bfe054193b5/schema)
