Personas
Generate persona packages
Generate persona packages based on selected mission type and persona type with auto-discovery of AI agents and tools from the flow. This endpoint creates complete persona packages including scenario names, persona descriptions, missions, and success criteria.
post/personas/generate
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
Persona packages generated successfully
Changes
No recorded changes to this operation across all 1 revision of this API.