List personas and tasks
List the personas assigned to the calling user, each with the tasks it can do, to get the persona and task ids that every run needs.
Ask a persona a question
Create a conversation with a persona, open its live stream, send the question and read the answer as it is written: the same steps the Personaas app uses.
Continue a conversation
Send follow-up messages in the same conversation, read its history, list the user's conversations, and stop a run that is taking too long.
Send and receive files
Upload a file for a persona to read in a conversation, mention it in your next message, then list and download the files the persona produced.
Stream the answer
Show a persona's answer while it is being written, as the Personaas app does, by reading server-sent events from the conversation on either engine.
Find the right persona for a question
Send the user's question and let Personaas pick the best persona and task for it from those assigned to the user, then get the answer from them.
App rules
Security, behaviour, content and portability rules that every app built on the Personaas API must follow, with a checklist to run before release.