Skip to main content
POST
Generate an unsaved scenario draft from a captured session

Authorizations

x-api-key
string
header
required

Body

application/json
session_id
string<uuid>
required

Response

Successful Response

name
string
required
Required string length: 1 - 255
intent
string
required
Required string length: 1 - 500
journey
string
default:""
Maximum string length: 20000
source
enum<string>
default:manual
Available options:
manual,
drafted
source_brief
string | null
Maximum string length: 2000
source_agent_id
string<uuid> | null
source_persona_id
string<uuid> | null
tags
string[]
agent_ids
string<uuid>[]
source_agent_name
string | null
source_persona_name
string | null