v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Transcript Scenario Generation

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:

  1. Retrieves all uploaded files from Redis for the given requestId
  2. Combines all transcript content
  3. Validates minimum word count
  4. Calls the LLM via RPC to generate 3 scenarios
  5. 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.

post/v1/generate-from-transcript

Query parameters

projectIdstring

Project identifier

Request body

projectIdstring

Project identifier

requestIdstring required

Request ID from the create-request step (all files uploaded for this request are used)

flowReferencestring

Optional flow reference (MongoDB ObjectId) for context-aware generation

numberOfSuccessCriteriainteger required

Number of success criteria per scenario (required, 1-10)

Response

Scenarios generated successfully

successboolean required