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/summarizeHistory \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"id": "688b024f7db6fe6e921399e3"
}
'{
"success": true,
"message": "Summary generated",
"data": "How to deploy a Node.js application to AWS with Docker"
}Uses AI to generate a concise title that describes the benefit or outcome of the conversation. The AI provider is determined by the institution’s summaryModel configuration. When ‘id’ is supplied, reads a single history record (input, inputs, output, outputs, code) and returns up to 200 chars. When ‘course_id’ is supplied, summarizes the first 2 + last 3 dialogues of the conversation within the resolved institution scope (all dialogues if ≤5 total) and returns up to 50 chars. course_id mode supports institution scoping (ObjectId / explicit null = personal / omitted = user.institution fallback); allInstitutions:true is rejected with 400.
curl --request POST \
--url https://pria.praxislxp.com/api/user/summarizeHistory \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"id": "688b024f7db6fe6e921399e3"
}
'{
"success": true,
"message": "Summary generated",
"data": "How to deploy a Node.js application to AWS with Docker"
}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
Supply either 'id' to summarize a single history record (favorite), or 'course_id' to summarize a whole conversation. course_id mode supports institution scoping.
ObjectId of the history record to summarize. Single-record operations are not institution-scoped (_id is globally unique).
"688b024f7db6fe6e921399e3"
Conversation course_id to summarize (first 2 + last 3 dialogues; all if ≤5 total). course_id=0 covers the unassigned bucket (course_id 0/null/missing).
1712345678901
Institution scope (course_id mode only). Three-state: (1) valid ObjectId scopes to that twin (membership-checked — 403 if not active), (2) explicit null/empty scopes to personal/null history, (3) field omitted falls back to user.institution. Malformed ObjectId returns 400.
Was this page helpful?