The personas endpoints give you programmatic access to everything Polysona knows about a persona: the structured psychological profile, voice nuances, platform accounts, interview logs, and a scored QA simulation across 20 representative follower archetypes. All data is parsed at request time from PLOON-format Markdown files on disk — there is no caching layer.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LilMGenius/polysona/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/personas
Returns all persona directories found underpersonas/, sorted alphabetically by ID. The name field is read from the name: key in each persona’s persona.md file. If that file is missing, the directory name is used as a fallback.
The persona’s directory name under
personas/. Used as the :id path parameter for all other persona endpoints.The value of the
name: key from the persona’s persona.md. Falls back to the directory name if the file is absent.GET /api/personas/:id
Returns the full parsed PLOON data for a single persona, combining all three source files:persona.md, nuance.md, and accounts.md. Each file is parsed independently and returned under its respective key. If a file does not exist in the persona directory, the corresponding key is returned as an empty object {}.
Returns 404 if the persona directory does not exist or is empty.
The persona directory name (e.g.
default). Must match an existing subdirectory under personas/.The persona directory name.
Display name from
persona.md. Falls back to id if not set.Parsed contents of
persona.md. Structure depends on the sections and tables defined in that file. Returns {} if the file does not exist.Parsed contents of
nuance.md. Contains voice register, platform tone rules, and phrasing preferences. Returns {} if the file does not exist.Parsed contents of
accounts.md. Contains role model references and virtual follower profiles. Returns {} if the file does not exist.GET /api/personas/:id/interview-log
Returns the parsed interview log entries from the## interview-log section of a persona’s persona.md. Each entry corresponds to a date-stamped line in the PLOON source (lines starting with ~YYYY-MM-DD:).
Returns 404 if the persona’s persona.md file does not exist.
The persona directory name.
The persona ID as provided in the path parameter.
Array of log entries parsed from the
## interview-log section of persona.md.GET /api/personas/:id/qa-simulation
Runs a scored QA simulation for a persona against all 20 follower archetypes. Each archetype receives a score across five dimensions. Scores are deterministic — the same persona ID, follower ID, dimension, and content name always produce the same score, making results reproducible and diffable. Returns404 if none of the three PLOON files (persona.md, nuance.md, accounts.md) exist for the given persona ID.
The persona directory name.
Optional content name string. Including this parameter makes scores specific to that piece of content — useful when simulating how a particular post would perform across follower types. If omitted, scores reflect the persona alone.
The persona ID used in the simulation.
The
content query parameter value, or an empty string if not provided.All 20 follower archetypes with scores, sorted by
total descending (highest total first).The five follower objects with the highest
total scores. Same shape as individual entries in followers.ISO 8601 timestamp of when the simulation was run.
Follower Archetypes Reference
All 20 archetypes used in every simulation:| ID | Label | Age | Gender | Occupation |
|---|---|---|---|---|
| f01 | 20s female office worker | 24 | F | office |
| f02 | 30s male developer | 32 | M | dev |
| f03 | 40s self-employed | 43 | M | self |
| f04 | startup founder | 29 | M | founder |
| f05 | general follower | 27 | F | general |
| f06 | 20s male student | 21 | M | student |
| f07 | 30s female marketer | 35 | F | marketing |
| f08 | 40s male executive | 47 | M | executive |
| f09 | 20s female creator | 23 | F | creator |
| f10 | 30s male engineer | 31 | M | engineer |
| f11 | 50s female entrepreneur | 52 | F | entrepreneur |
| f12 | 20s non-binary designer | 26 | NB | design |
| f13 | 30s male product manager | 34 | M | pm |
| f14 | 40s female educator | 41 | F | education |
| f15 | 20s male gamer | 22 | M | gaming |
| f16 | 30s female researcher | 33 | F | research |
| f17 | 40s male consultant | 44 | M | consulting |
| f18 | 20s female influencer | 25 | F | influencer |
| f19 | 30s male journalist | 37 | M | media |
| f20 | 50s male investor | 55 | M | investor |