---
title: "Lease a pending support recovery command"
method: POST
path: "/onprem/v1/recovery/poll"
tags: ["onprem", "onprem", "__public__"]
---

# Lease a pending support recovery command

`POST /onprem/v1/recovery/poll`

## Headers

- `X-Definite-License` string, nullable

## Response `200`

Success

- SuccessResponseRecoveryCommandPollResponse
  - `success` true, required — Flag for it request was successful
  - `data` RecoveryCommandPollResponse, required
    - `command` RecoveryCommandDelivery
      - `id` union, required
        - string, uuid
        - string
      - `command_type` 'restart_api' | 'restart_component' | 'cluster_status' | 'cleanup_stale_pods' | 'reset_db_connections' | 'remediate_storage', required
      - `params` object
      - `expires_at` string, date-time, required
  - `meta` ResponseMeta
    - `requestId` string — Unique request identifier for tracing
    - `timestamp` string, date-time — Response timestamp (UTC)
    - `durationMs` integer, nullable — Request processing time in milliseconds

## Other responses

- `401` — Auth Invalid Token
- `403` — Forbidden Insufficient Permissions
- `404` — Resource Not Found
- `422` — Validation Failed
- `426` — Business Quota Exceeded
- `429` — Rate Limit Exceeded
- `500` — Internal Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/3943d8deb3be/schema)
