---
title: "Create Scenario"
method: POST
path: "/api/v1/scenarios"
tags: ["actions"]
---

# Create Scenario

`POST /api/v1/scenarios`

## Request

- Base URL: `https://bazous.com` (the document declares no server; this is the origin it was published from)
- URL: `https://bazous.com/api/v1/scenarios`
- Auth: none declared. Required headers: `Idempotency-Key`

## Headers

- `Idempotency-Key` string, required

## Request body

- ScenarioRequest
  - `name` string, required
  - `description` string, nullable
  - `levers` ScenarioLever[], required
    - `id` string, required
    - `kind` 'split' | 'defer' | 'reserve', required
    - `label` string, required
    - `ref_id` string, nullable
    - `target` string, nullable
    - `amount` string, nullable
  - `low_point_before` string, nullable
  - `low_point_after` string, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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