---
title: "POST /api/lsp/restart"
method: POST
path: "/api/lsp/restart"
---

# POST /api/lsp/restart

`POST /api/lsp/restart`

## Request body

- LspRestartRequest — Request to restart LSP servers.
  - `serverIds` string[], nullable

## Response `200`

Restart LSP servers

- LspRestartResponse — Response from restart operation.
  - `errors` object
  - `restarted` string[], required
  - `success` boolean, required

---

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