---
title: "Reset pod GPUs"
method: POST
path: "/pods/{id}/reset-gpu"
tags: ["Support API Key Authentication"]
---

# Reset pod GPUs

`POST /pods/{id}/reset-gpu`

## Request

- Base URL: `https://lium.io/api`
- URL: `https://lium.io/api/pods/{id}/reset-gpu`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Start a reset of a running pod's GPUs (DAH-4658): the pod's container is stopped, the GPUs are reset and the container is started again. Every process in the pod stops; files are kept. `gpu_indices` are the pod's own indices (as `nvidia-smi` shows them inside the pod); omit them to reset every GPU of the pod. The answer is `status: running` with a `request_id`: poll `GET /pods/{id}/reset-gpu/{request_id}` for the result. Errors name their reason in `error.code`.

## Path parameters

- `id` string, uuid, required

## Request body

- ResetPodGpuRequest
  - `gpu_indices` integer[], nullable

## Response `202`

The reset started; poll its request_id

- ResetPodGpuResponse: POST answers `running`; GET polls by request_id until `done`, `failed` or `timeout`.
  - `pod_id` string, uuid, required
  - `request_id` string, required
  - `status` 'running' | 'done' | 'failed' | 'timeout', required
  - `ok` boolean, nullable
  - `container_restarted` boolean, nullable
  - `gpus` PodGpuResetOutcome[]
    - `index` integer, required
    - `uuid` string, required
    - `result` 'reset' | 'latch_cleared' | 'failed', required
    - `detail` string, nullable
  - `error` GpuResetError
    - `code` string, required
    - `message` string, required

## Other responses

- `400`: invalid_gpu_index, pod_not_running
- `404`: Pod not found
- `409`: pod_broken, manual_rental, reset_not_supported, operation_in_progress
- `422`: Validation Error
- `429`: Rate limit
- `503`: gpu_reset_unavailable: the validator cannot take the request now

## Changes

- **2026-10-23** `0531bf348672`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lium/apis/lium-backend-api/changes/pods/:id/reset-gpu/post.md)

---

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