---
title: "(Internal) Recover clear determination"
method: POST
path: "/internal/project/{projectid}/jobs/{id}/clear-destination/recover"
tags: ["Internal"]
---

# (Internal) Recover clear determination

`POST /internal/project/{projectid}/jobs/{id}/clear-destination/recover`

## Request

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

Internal recovery endpoint to cancel stuck clear-destination workflows and restore sync schedules.

## Path parameters

- `projectid` string, required
- `id` integer, required

## Response `200`

successfully recovered

## Other responses

- `400`: failed to validate request
- `404`: job not found
- `500`: internal server error

## Changes

- **2026-04-22** `f1bcf21b1556`: 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
- **2026-02-07** `8881928f860b`: 3 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `500`

[Operation history](https://skmtc.dev/datazip-inc/apis/olake-ui-api/changes/internal/project/:projectid/jobs/:id/clear-destination/recover/post.md)

---

[API](https://skmtc.dev/datazip-inc/apis/olake-ui-api.md) - [All operations](https://skmtc.dev/datazip-inc/apis/olake-ui-api/llms.txt) - [OpenAPI document](https://skmtc.dev/datazip-inc/apis/olake-ui-api/revisions/6e70c7164502?raw)
