---
title: "Restart Worker"
method: POST
path: "/admin/scaling/workers/{worker_id}/restart"
tags: ["admin-scaling"]
---

# Restart Worker

`POST /admin/scaling/workers/{worker_id}/restart`

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/admin/scaling/workers/{worker_id}/restart`
- Auth: HTTP bearer

Restart a worker's process (NOT pod restart).

This kills the uvicorn process and restarts it.
Downloaded models are preserved.

Requires superuser access (validated in frontend).

## Path parameters

- `worker_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
