---
title: "Run a Predefined Scenario"
method: POST
path: "/api/digital-twin/scenarios/{scenario_id}/run"
tags: ["Digital Twin"]
---

# Run a Predefined Scenario

`POST /api/digital-twin/scenarios/{scenario_id}/run`

## 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/digital-twin/scenarios/{scenario_id}/run`
- Auth: none declared

Resolve the scenario's (switch, port) links against the current PostgreSQL topology, then dispatch them through monte_carlo_scenarios(). Override iterations / failure_rate via the request body.

## Path parameters

- `scenario_id` string, required

## Request body

- object

## Response `200`

Monte Carlo result + resolved link count + interpretation metadata

- 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)
