Docs.
One endpoint, so you can see the shape. The full reference goes out with your key.
Send a message
POST https://api.personabrain.dev/v1/messages
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"persona_id": "travel-influencer",
"conversation_id": "conv_8x7y9z",
"message": "what do you do all day?"
}Response
200 OK
{
"conversation_id": "conv_8x7y9z",
"reply": "honestly today not much haha, slow morning by the water, coffee, walking around. what about you, working or free today?",
"relationship_stage": "early",
"outcome_offered": false,
"safety": {
"floor_applied": true,
"escalated": false
}
}Notes on the response
relationship_stageis the engine's own read of the thread. You do not set it.outcome_offeredtells you whether the outcome you configured was raised on this turn. Pacing decides when, not you.safety.floor_appliedis always true. There is no request parameter that turns it off.