Retrieve settings for the current institution
curl --request POST \
--url https://pria.praxislxp.com/api/user/settings \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"status": "active",
"key": "variable-2"
}
'{
"success": true,
"data": [
{
"_id": "687e6ee393c79717445848de",
"key": "variable-2",
"value": "variable value",
"institution": "6631915765bb0a94cfd6ca99",
"user": "6430d02554cd4e00403e8b05",
"status": "active",
"admin_only": true,
"institution_shared": true,
"editable_others": true,
"created": "2023-11-07T05:31:56Z",
"institution_data": {
"_id": "6631915765bb0a94cfd6ca99",
"name": "scarlet.hugo.praxis-ai.instructure.com",
"ainame": "Scarlet"
},
"user_data": {
"_id": "6430d02554cd4e00403e8b05",
"email": "hugo.lebegue@gmail.com",
"fname": "Hugo",
"lname": "Lebegue"
},
"index": 1
}
]
}Setting
Retrieve settings for the current institution
Fetches settings scoped to the authenticated user’s institution, with institution and user metadata. Results are sorted by key ascending and limited to 100 records. Requires the user to belong to an institution.
POST
/
api
/
user
/
settings
Retrieve settings for the current institution
curl --request POST \
--url https://pria.praxislxp.com/api/user/settings \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"status": "active",
"key": "variable-2"
}
'{
"success": true,
"data": [
{
"_id": "687e6ee393c79717445848de",
"key": "variable-2",
"value": "variable value",
"institution": "6631915765bb0a94cfd6ca99",
"user": "6430d02554cd4e00403e8b05",
"status": "active",
"admin_only": true,
"institution_shared": true,
"editable_others": true,
"created": "2023-11-07T05:31:56Z",
"institution_data": {
"_id": "6631915765bb0a94cfd6ca99",
"name": "scarlet.hugo.praxis-ai.instructure.com",
"ainame": "Scarlet"
},
"user_data": {
"_id": "6430d02554cd4e00403e8b05",
"email": "hugo.lebegue@gmail.com",
"fname": "Hugo",
"lname": "Lebegue"
},
"index": 1
}
]
}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
application/json
Was this page helpful?
⌘I