Get Personas

GET

Generate personas based on specified traits and levels.

Parameters:

  • levels_per_trait: Number of levels for each trait
  • trait_keys: Comma-separated list of trait keys

Returns: JSONResponse with:

  • all_combinations_index: List of trait level combinations
  • traits_lookup_map: Dictionary of traits and their levels
  • personas_full_string_definition: List of persona descriptions

Raises:

  • HTTPException 500: If persona generation fails

Query parameters

levels_per_traitintegerRequired
trait_keysstringRequired

Response

This endpoint returns any.