Skip to main content
PUT
Update user profile or change password

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json

Any combination of authorized user properties. Only fields from the authorized list are accepted.

email
string<email>

User email address

fname
string

First name

lname
string

Last name

picture
string

Profile picture URL

remember_history_count
integer

Number of history items to remember

use_location
boolean

Whether to use location services

use_stt
boolean

Whether speech-to-text is enabled

dark_mode
boolean

Whether dark mode is enabled

pin_ui
boolean

Whether the UI sidebar is pinned

showSideBar
boolean

Whether to show the sidebar

Whether to display gallery as grid

ragIgnore
boolean

Knowledge — retrieval mode (axis 1 of 2). When true, retrieval is skipped entirely and the LLM answers from its training only. Takes precedence over ragKagMode and ragOnlySearch. Maps to the UI's "Disabled" Knowledge mode.

ragKagMode
boolean

Knowledge — retrieval mode (axis 1 of 2). When true AND retrieval is on (ragIgnore=false) AND the user/institution is KAG-eligible, the knowledge-graph leg runs alongside the dense vector leg and the two are merged via Reciprocal Rank Fusion. NB. KAG is always an augmentation on top of RAG — there is no "KAG without RAG" mode. Maps to the UI's "RAG + KAG Fusion" Knowledge mode. When false with ragIgnore=false, behaviour is "RAG Only" (dense vector retrieval only).

Knowledge — output mode (axis 2 of 2, orthogonal to ragIgnore / ragKagMode). When true AND retrieval is on, Pria returns the raw vault chunks ("Search Only") instead of an LLM-rewritten answer. Combinable with ragKagMode (graph chunks included) and with vanilla RAG. No effect when ragIgnore=true. Knowledge mode combinations (frontend view): • ragIgnore=true → Disabled • ragIgnore=false, ragKagMode=false, ragOnly=false → RAG Only • ragIgnore=false, ragKagMode=true, ragOnly=false → RAG + KAG Fusion • ragIgnore=false, ragKagMode=false, ragOnly=true → RAG Only + Search Only • ragIgnore=false, ragKagMode=true, ragOnly=true → RAG + KAG Fusion + Search Only

browser_voice
string

Selected browser voice for TTS

browser_voices
string[]

Available browser voices

mustChangePassword
boolean

Whether user must change password on next login

updatePasswordOnSSO
boolean

Reset password on SSO login

rt_voice
string

Real-time voice selection (OpenAI Realtime)

gemini_rt_voice
string

Real-time voice selection (Gemini Live)

xai_rt_voice
string

Real-time voice selection (xAI Realtime)

mfaEnabled
boolean

Whether email multi-factor authentication is enabled for this user

Response

Profile updated or password changed successfully

success
boolean
Example:

true

message
string

Either 'Profile updated!' or 'Password Changes Successfully'