Security enhancements to IP Vault and new Gemini 3.1 Flash Live STS model for Convo mode
curl --request POST \
--url https://pria.praxislxp.com/api/user/refresh/profile \
--header 'x-access-token: <api-key>'{
"success": true,
"token": "<string>",
"profile": {
"_id": "<string>",
"email": "<string>",
"fname": "<string>",
"lname": "<string>",
"picture": "<string>",
"accountType": "user",
"credits": 123,
"creditsUsed": 123,
"plan": "<string>",
"status": "<string>",
"customerId": "<string>",
"institution": {},
"remember_history_count": 123,
"browser_voice": "<string>",
"browser_voices": {},
"rt_voice": "<string>",
"use_location": true,
"use_stt": true,
"pin_ui": true,
"showSideBar": true,
"galleryAsGrid": true,
"showPriaOptions": true,
"ragOnlySearch": true,
"ragIgnore": true,
"dark_mode": true,
"max_dialogues": 123,
"mustChangePassword": true,
"updatePasswordOnSSO": true,
"resetCodeId": "<string>",
"referralId": "<string>",
"trial_end": "2023-11-07T05:31:56Z",
"trial_used": true,
"current_period_end": "2023-11-07T05:31:56Z",
"cancel_at_period_end": true,
"lxp_user_id": "<string>",
"lxp_partner_name": "<string>",
"lxp_role_name": "<string>",
"canvasApiToken": {},
"googleLoginToken": {},
"googleOAuthScopes": [
"<string>"
],
"institutionGoogleOAuthEnabled": true,
"institutionGoogleOAuthScopes": [
"<string>"
],
"institutionGoogleWorkspaceEnabled": true,
"institutionGoogleUseInstitutionAccount": true
}
}Retrieves the current user’s full profile including populated institution, account, and Google OAuth status. Proactively refreshes expired Google tokens when a refresh_token is available. Returns a fresh JWT token (sliding session) — store this token to extend the session without re-authentication.
curl --request POST \
--url https://pria.praxislxp.com/api/user/refresh/profile \
--header 'x-access-token: <api-key>'{
"success": true,
"token": "<string>",
"profile": {
"_id": "<string>",
"email": "<string>",
"fname": "<string>",
"lname": "<string>",
"picture": "<string>",
"accountType": "user",
"credits": 123,
"creditsUsed": 123,
"plan": "<string>",
"status": "<string>",
"customerId": "<string>",
"institution": {},
"remember_history_count": 123,
"browser_voice": "<string>",
"browser_voices": {},
"rt_voice": "<string>",
"use_location": true,
"use_stt": true,
"pin_ui": true,
"showSideBar": true,
"galleryAsGrid": true,
"showPriaOptions": true,
"ragOnlySearch": true,
"ragIgnore": true,
"dark_mode": true,
"max_dialogues": 123,
"mustChangePassword": true,
"updatePasswordOnSSO": true,
"resetCodeId": "<string>",
"referralId": "<string>",
"trial_end": "2023-11-07T05:31:56Z",
"trial_used": true,
"current_period_end": "2023-11-07T05:31:56Z",
"cancel_at_period_end": true,
"lxp_user_id": "<string>",
"lxp_partner_name": "<string>",
"lxp_role_name": "<string>",
"canvasApiToken": {},
"googleLoginToken": {},
"googleOAuthScopes": [
"<string>"
],
"institutionGoogleOAuthEnabled": true,
"institutionGoogleOAuthScopes": [
"<string>"
],
"institutionGoogleWorkspaceEnabled": true,
"institutionGoogleUseInstitutionAccount": true
}
}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.
JWT token passed in x-access-token header
Profile refreshed successfully
Whether the operation was successful
Fresh JWT token (sliding session). Each profile refresh extends the session by the configured expiration period (default 6 hours). Store this token and use it for subsequent API requests.
Full user profile object (User model fields merged with populated institution, plus Google OAuth flags). Sensitive fields (password, permissions, __v, created) are stripped.
Show child attributes
Was this page helpful?