Skip to main content

Get Personas

GET 

/api/v1/personas

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

Request

Responses

Successful Response