---
title: "The suspension ledger of one organization: the active episode's engine resources (stop/restart progress) or recent history"
method: GET
path: "/operator/organizations/{organizationId}/suspension"
tags: ["Operator"]
---

# The suspension ledger of one organization: the active episode's engine resources (stop/restart progress) or recent history

`GET /operator/organizations/{organizationId}/suspension`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/operator/organizations/{organizationId}/suspension`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Path parameters

- `organizationId` string, uuid, required

## Response `200`

Suspension

- object
  - `active` object, nullable, required
    - `id` string, uuid, required
    - `reason` 'operator' | 'non_payment' | 'trial_expired', required
    - `startedAt` string, required: ISO-8601 timestamp
    - `snapshotted` boolean, required: false: the worker has not yet recorded which engine resources this episode covers
    - `resources` object[], required
      - `id` string, uuid, required
      - `kind` 'app' | 'preview' | 'service' | 'wordpress' | 'database' | 'internal_service', required
      - `engineResourceId` string, required
      - `resourceId` string, uuid, nullable, required
      - `resourceLabel` string, nullable, required
      - `wasRunning` boolean, required
      - `stopState` 'pending' | 'done' | 'failed' | 'skipped', required
      - `stopAttempts` integer, required
      - `stopError` string, nullable, required
      - `stopAt` string, nullable, required: ISO-8601 timestamp
      - `restartState` 'pending' | 'done' | 'failed' | 'skipped', required
      - `restartAttempts` integer, required
      - `restartError` string, nullable, required
      - `restartAt` string, nullable, required: ISO-8601 timestamp
  - `history` object[], required: most recent past episodes, newest first; empty while one is active
    - `id` string, uuid, required
    - `reason` 'operator' | 'non_payment' | 'trial_expired', required
    - `startedAt` string, required: ISO-8601 timestamp
    - `endedAt` string, nullable, required: ISO-8601 timestamp

## Other responses

- `400`: Invalid request (code invalid_request)
- `403`: An action on an operator-console session older than 5 minutes (code forbidden, details.reauthenticate: sign in again at /admin/login), or an operator removed since the session was resolved
- `404`: Not found (code not_found); also the answer to any request without a live operator-console session (no admin cookie, a dashboard session, an API/MCP key or OAuth token, or a caller who is not a platform operator)
- `429`: Too many requests (code rate_limited); see Retry-After
- `501`: Not available on this server (code not_configured)

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
