Persona API
The Persona API provides read and update access to your AI Agent’s persona - the settings that define how the AI Agent communicates, configured in the dashboard under Config > Settings > Preferences. The persona controls the AI Agent’s personality, tone, emoji usage, and manners, so you can manage these settings programmatically instead of only through the dashboard.
The persona is a single configuration object per AI Agent. Agent identity settings (the Agent’s name and avatar) are not part of the persona and are not managed through these endpoints.
Endpoints
Two endpoints are available:
- Get persona (
GET /v2/persona): Returns the current persona configuration. - Update persona (
PATCH /v2/persona): Partially updates the persona. Only the fields included in the request body are changed; omitted fields keep their existing values. A field that is not part of the public persona schema returns a400.
Fields
The following fields are read through GET and can be written through PATCH:
For guidance on configuring these settings, see Persona and Personality setup.
Authentication
Requests are authenticated with a Bearer API key. See Authentication for details on generating and using API keys.