---
title: "Trigger Demo Scenario"
method: POST
path: "/api/demo/trigger"
tags: ["Demo"]
---

# Trigger Demo Scenario

`POST /api/demo/trigger`

## Request

- Base URL: `https://api.fiber.ac` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fiber.ac/api/demo/trigger`
- Auth: none declared

Inject a pre-defined failure scenario into the simulator for demonstration purposes. Available scenarios: 'degradation' (4 ports on leaf-015 with degrading optics), 'thermal' (48 ports on leaf-020 with thermal stress), 'failure' (1 port on spine-003 at end-of-life), 'cpo_bank_failure' (all 6 ports of shared laser bank 0 on spine-cpo-050 — fires the correlated bank-failure rule), 'cpo_fau_drift' (FAU alignment drift on spine-cpo-051), 'cpo_die_thermal' (ASIC die thermal runaway on spine-cpo-052), 'reset' (clear all overrides). Admin only.

## Query parameters

- `scenario` string: degradation | thermal | failure | cpo_bank_failure | cpo_fau_drift | cpo_die_thermal | reset

## Response `200`

Confirmation with scenario name and number of overrides applied

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fiber-ac/apis/fiber-api.md) · [All operations](https://skmtc.dev/fiber-ac/apis/fiber-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fiber-ac/apis/fiber-api/revisions/58267250d793?raw)
