---
title: "Generate Guide Scenarios"
method: POST
path: "/api/v1/admin/guides/{slug}/scenarios/generate"
tags: ["admin"]
---

# Generate Guide Scenarios

`POST /api/v1/admin/guides/{slug}/scenarios/generate`

## Request

- Base URL: `https://yondry.app` (the document declares no server; this is the origin it was published from)
- URL: `https://yondry.app/api/v1/admin/guides/{slug}/scenarios/generate`
- Auth: none declared

Generate (or regenerate) the three scenario plans for an existing guide:
classic_saturday, rainy_day, evening_out. Each is a real plan produced by
calling the live NL planner pipeline (Haiku + Sonnet + weather + Google
Places) anchored at the guide's lat/lon — not hand-written content.

Offline content step only, like /guides/generate. Overwrites any
previously generated scenario_plans for this guide.

## Path parameters

- `slug` string, required

## Headers

- `X-Admin-Key` string, nullable

## Response `200`

Successful Response

- GenerateScenariosResponse
  - `slug` string, required
  - `scenarios_generated` string[], required
  - `scenarios_failed` string[], required

## Other responses

- `422`: Validation Error

---

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