Personas
Create scenario from transcript
Create a scenario draft by analyzing a conversation transcript. The system uses LLM to extract user intent, conversation goals, and user characteristics from the transcript, then generates an appropriate persona package.
The endpoint supports:
- Fetching transcript via sessionId from analytics service (RPC call)
- Direct transcript content via transcriptContent
- Optional flow context for enhanced persona generation
- Content safety validation (warnings only, non-blocking)
Priority: If both sessionId and transcriptContent are provided, sessionId takes precedence.
Returns a complete persona package and metadata about the analysis.
post/personas/from-transcript
Request
- Base URLhttps://api-trial.cognigy.ai/testing
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
projectIdstring
Project identifier (alternative to projectReference in body)
Request body
Response
Scenario created successfully from transcript
Changes
No recorded changes to this operation across all 1 revision of this API.