curl --request POST \
--url https://hiimpria.ai/api/user/renameHistory \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"course_id": 1750532703472,
"course_name": "My Renamed Conversation"
}
'{
"success": true,
"message": "Conversation renamed!"
}History
Rename a conversation or favorite
Two modes of operation: (1) Rename a conversation by providing course_id and course_name - updates all history records in that conversation within the resolved institution scope. (2) Rename a favorite by providing id and favorite_name - updates a single record. If favorite_name is falsy, the field is removed ($unset). Conversation renames support institution scoping (ObjectId / explicit null = personal / omitted = user.institution fallback); allInstitutions:true is rejected with 400.
POST
/
api
/
user
/
renameHistory
curl --request POST \
--url https://hiimpria.ai/api/user/renameHistory \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"course_id": 1750532703472,
"course_name": "My Renamed Conversation"
}
'{
"success": true,
"message": "Conversation renamed!"
}Body
application/json
Two mutually exclusive modes. Either rename a conversation (course_id + course_name) or rename a favorite (id + favorite_name). Conversation renames support institution scoping.
Was this page helpful?