Generate scenarios from uploaded transcripts
Generate 3 distinct simulation scenarios from previously uploaded and parsed transcript files. This is the third and final step in the three-step workflow.
The endpoint:
- Retrieves all uploaded files from Redis for the given requestId
- Combines all transcript content
- Validates minimum word count
- Calls the LLM via RPC to generate 3 scenarios
- Cleans up Redis data after successful generation
Each generated scenario includes a simulationName, personaName, personaDescription, mission, and success criteria - ready to be used for creating simulations.
Authorizations
JWT Bearer Token for authentication
Query Parameters
Project identifier
Body
Request ID from the create-request step (all files uploaded for this request are used)
Number of success criteria per scenario (required, 1-10)
1 <= x <= 10Project identifier
Optional flow reference (MongoDB ObjectId) for context-aware generation
^[a-fA-F0-9]{24}$