---
title: "Introduce or restore an incident across all current teams"
method: POST
path: "/api/control/incidents/all"
tags: ["Operator"]
---

# Introduce or restore an incident across all current teams

`POST /api/control/incidents/all`

## Request

- Base URL: `https://sim.animahealth.com`
- URL: `https://sim.animahealth.com/api/control/incidents/all`
- Auth: HTTP bearer

expectedWorlds must match the current registered team worlds returned by GET /api/control/teams; otherwise 409 with no changes. Applies atomically to all reviewed teams. Excludes the default seed world and future teams. Restoring a service clears the incident but does not undo generated work such as demand-surge requests.

## Request body

- object
  - `id` 'pathology-outage' | 'staff-shortage' | 'robot-failure' | 'demand-surge' | 'wearable-disconnect' | 'winter-pressure' | 'pharmacy-shortage' | 'cyber-readonly', required
  - `enabled` boolean, required
  - `expectedWorlds` string[], required

## Response `200`

Success

- object
  - `id` string, required
  - `enabled` boolean, required
  - `affectedTeams` integer, required
  - `worlds` string[], required

## Other responses

- `400`: Invalid input or unsupported workflow
- `401`: Missing or invalid credentials
- `403`: Scope, origin or operator restriction
- `404`: Unknown resource
- `409`: Stale version, invalid transition or unavailable capacity
- `413`: Request exceeds this operation's body-size limit
- `429`: Deployment has reached its 5,000-team capacity
- `500`: Internal simulation error

---

[API](https://skmtc.dev/animahealth/apis/nhs-sim-api.md) - [All operations](https://skmtc.dev/animahealth/apis/nhs-sim-api/llms.txt) - [OpenAPI document](https://skmtc.dev/animahealth/apis/nhs-sim-api/revisions/c7803d7a3e58?raw)
