Skip to main content
PUT
/
api
/
user
/
me
Update user profile or change password
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

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'