curl --request PUT \
--url https://pria.praxislxp.com/api/user/me \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"email": "jsmith@example.com",
"fname": "<string>",
"lname": "<string>",
"picture": "<string>",
"remember_history_count": 123,
"use_location": true,
"use_stt": true,
"dark_mode": true,
"pin_ui": true,
"showSideBar": true,
"galleryAsGrid": true,
"ragIgnore": true,
"ragKagMode": true,
"ragOnlySearch": true,
"browser_voice": "<string>",
"browser_voices": [
"<string>"
],
"mustChangePassword": true,
"updatePasswordOnSSO": true,
"rt_voice": "<string>",
"gemini_rt_voice": "<string>",
"xai_rt_voice": "<string>",
"mfaEnabled": true
}
'{
"success": true,
"message": "<string>"
}Update user profile or change password
Updates the current user’s profile fields or changes the user’s password. When resetCodeId is present in the request body, the endpoint operates in password-change mode and requires password (current) and newPassword fields. Otherwise, it updates profile fields validated against the authorized properties list (email, fname, lname, picture, remember_history_count, use_location, use_stt, dark_mode, pin_ui, showSideBar, galleryAsGrid, ragOnlySearch, ragIgnore, ragKagMode, browser_voice, browser_voices, mustChangePassword, updatePasswordOnSSO, rt_voice, gemini_rt_voice, xai_rt_voice, mfaEnabled). Any properties not in this list are rejected.
curl --request PUT \
--url https://pria.praxislxp.com/api/user/me \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"email": "jsmith@example.com",
"fname": "<string>",
"lname": "<string>",
"picture": "<string>",
"remember_history_count": 123,
"use_location": true,
"use_stt": true,
"dark_mode": true,
"pin_ui": true,
"showSideBar": true,
"galleryAsGrid": true,
"ragIgnore": true,
"ragKagMode": true,
"ragOnlySearch": true,
"browser_voice": "<string>",
"browser_voices": [
"<string>"
],
"mustChangePassword": true,
"updatePasswordOnSSO": true,
"rt_voice": "<string>",
"gemini_rt_voice": "<string>",
"xai_rt_voice": "<string>",
"mfaEnabled": true
}
'{
"success": true,
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Body
- Profile Update
- Password Change
Any combination of authorized user properties. Only fields from the authorized list are accepted.
User email address
First name
Last name
Profile picture URL
Number of history items to remember
Whether to use location services
Whether speech-to-text is enabled
Whether dark mode is enabled
Whether the UI sidebar is pinned
Whether to show the sidebar
Whether to display gallery as grid
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.
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
Selected browser voice for TTS
Available browser voices
Whether user must change password on next login
Reset password on SSO login
Real-time voice selection (OpenAI Realtime)
Real-time voice selection (Gemini Live)
Real-time voice selection (xAI Realtime)
Whether email multi-factor authentication is enabled for this user
Was this page helpful?