---
title: "Reset local sandbox to initial state"
method: POST
path: "/local-sandbox/{local_sandbox_id}/reset"
tags: ["local-sandbox"]
---

# Reset local sandbox to initial state

`POST /local-sandbox/{local_sandbox_id}/reset`

## Request

- Base URL: `https://api.klavis.ai`
- URL: `https://api.klavis.ai/local-sandbox/{local_sandbox_id}/reset`
- Auth: HTTP bearer

Resets the state of the local sandbox VM and all its servers to their initial state.

## Path parameters

- `local_sandbox_id` string, required: The ID of the local sandbox to reset

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-15** `1497930e0a0e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai/changes/local-sandbox/:local_sandbox_id/reset/post.md)

---

[API](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai.md) - [All operations](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/klavis-ai/apis/klavis-ai-https-www-klavis-ai/revisions/1f05ced7280f?raw)
