---
title: "Internal Cleanup Expired Multipart Uploads"
method: POST
path: "/internal/cleanup_expired_multipart_uploads"
---

# Internal Cleanup Expired Multipart Uploads

`POST /internal/cleanup_expired_multipart_uploads`

## Request

- Base URL: `https://api.tellers.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tellers.ai/internal/cleanup_expired_multipart_uploads`
- Auth: none declared

Internal-only maintenance endpoint.

Run on a schedule by ``cron_job_hourly``; kept as its own route so it can be
driven by hand with different limits.

Expose this router only via an internal ingress/LB (VPC-only).

## Query parameters

- `limit` integer
- `grace_seconds` integer

## Response `200`

Successful Response

- CleanupExpiredMultipartUploadsResponse
  - `cleaned_count` integer, required

## Other responses

- `422`: Validation Error

---

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