---
title: "Generate an unsaved scenario draft from a captured session"
method: POST
path: "/v1/scenarios/draft-from-session"
tags: ["scenarios"]
---

# Generate an unsaved scenario draft from a captured session

`POST /v1/scenarios/draft-from-session`

## Request body

- ScenarioDraftFromSessionRequest
  - `session_id` string, uuid, required

## Response `200`

Successful Response

- ScenarioDraft
  - `name` string, required
  - `intent` string, required
  - `journey` string
  - `mock_world` object
  - `source` 'manual' | 'drafted'
  - `source_brief` string, nullable
  - `source_agent_id` string, uuid, nullable
  - `source_persona_id` string, uuid, nullable
  - `tags` string[]
  - `agent_ids` string[]
  - `source_agent_name` string, nullable
  - `source_persona_name` string, nullable

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
