---
title: "Reap Orphans Endpoint"
method: POST
path: "/api/internal/flows/reap-orphans"
tags: ["Flows"]
---

# Reap Orphans Endpoint

`POST /api/internal/flows/reap-orphans`

Cron-only: crash flow runs stuck in RUNNING past their own flow's
timeout x retries envelope + alert #alerts (T-1305).

Internal endpoint. Called by the `prefect-orphan-reaper` CronJob every
15 minutes. Idempotent. No app-level auth: the public gateways
(ingress-public/*.yaml) 404 the /api/internal/ prefix, so only
cluster-internal callers reach it.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
