Skip to main content
POST

Authorizations

Authorization
string
header
required

JWT Bearer Token for authentication

Query Parameters

projectId
string

Project identifier (alternative to projectReference in body)

Body

application/json
projectReference
string

Project reference for context identification (alternative to projectId query parameter)

sessionId
string

Session identifier to retrieve transcript from analytics service. If provided, takes precedence over transcriptContent.

transcriptContent
object

Direct transcript content. Optional if sessionId is provided.

flowId
string

Optional: Flow ID to associate with and extract agent context for enhanced generation

numberOfSuccessCriteria
integer
default:5

Optional: Number of success criteria to generate (default: 5, min: 1, max: 10)

Required range: 1 <= x <= 10
analysisOptions
object

Optional analysis configuration

Response

Scenario created successfully from transcript

success
boolean
required

Whether the generation was successful

personaPackage
object
required

Generated persona package

metadata
object
required

Analysis metadata

Last modified on July 2, 2026