Skip to main content
PUT
/
api
/
user
/
institution
Update institution settings
curl --request PUT \
  --url https://pria.praxislxp.com/api/user/institution \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "conversationModel": "<string>",
  "maxCompletionTokens": 123,
  "reasoningEffort": "<string>",
  "extendedContext": true,
  "about": "<string>",
  "personalisationAsked": true,
  "disableToolUseInstructions": true,
  "kmeanScore": 123,
  "ragLimitChunks": 123,
  "toolsDisabled": true
}
'
{
  "success": true,
  "message": "Institution updated!"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json

Any combination of authorized institution properties

conversationModel
string

Default conversation model for the institution

maxCompletionTokens
integer

Maximum completion tokens for AI responses

reasoningEffort
string

Reasoning effort level (none, low, medium, high, max)

extendedContext
boolean

Whether extended context is enabled

about
string

About text for the institution

personalisationAsked
boolean

Whether personalisation has been asked

disableToolUseInstructions
boolean

Whether to disable tool use instructions

kmeanScore
number

K-means score threshold for RAG

ragLimitChunks
integer

Maximum number of RAG chunks to retrieve

toolsDisabled
boolean

Whether tools are disabled for AI conversations

Response

Institution updated successfully

success
boolean
Example:

true

message
string
Example:

"Institution updated!"