---
title: "Keep Crawl"
method: POST
path: "/api/v1/crawl/{crawl_id}/keep"
---

# Keep Crawl

`POST /api/v1/crawl/{crawl_id}/keep`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/crawl/{crawl_id}/keep`
- Auth: none declared

Keep a one-shot crawl: it becomes a project, with this run as its
first. Nothing is re-fetched and nothing moves -- only the flag that
hid it and the expiry that would have deleted it.

## Path parameters

- `crawl_id` string, required

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Request body

- KeepRequest
  - `name` string, nullable
  - `schedule` string, nullable
  - `retention` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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