Personas
Bulk generate separated personas and missions
Generate separated persona and mission information for all provided persona types and mission types. Returns personas and missions in separated structures for independent management.
Key Feature: This endpoint generates ALL combinations of provided persona types and mission types, returning them in a structured format where:
- Personas are keyed by persona type name
- Missions are keyed by mission type name
post/personas/generate-bulk
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
Bulk personas and missions generated successfully
Example response
{
"personas": {
"Customer Support Agent": [
{
"simulationName": "Customer Issue Resolution",
"personaName": "Sarah",
"personaDescription": "Experienced support agent..."
}
]
},
"missions": {
"Technical Support": [
{
"mission": "Resolve customer technical issue",
"successCriteria": [
{
"type": "goal",
"params": {
"description": "Issue resolved"
}
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.