cURL
curl --request PUT \ --url https://pria.praxislxp.com/api/user/assistant/{assistantId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "New Assistant Updated", "status": "active", "description": "New Assistant Description", "instructions": "New Assistant Instructions ", "argument_1": null, "argument_2": null, "argument_3": null, "argument_4": null, "argument_5": null, "picture_url": "https://learning.praxislxp.com/praxis/hugo_praxis-ai_com/wp-content/uploads/sites/60/2024/08/images.jpeg", "admin_only": true, "remember_history": 3, "editable_others": true, "user": "6430d02554cd4e00403e8b05", "institution": "6631915765bb0a94cfd6ca99", "institution_shared": true }'
{ "success": true, "message": "Assistant updated!" }
Updates an existing AI assistant with new configuration and permissions
JWT token passed in x-access-token header
The unique identifier of the assistant to update
Assistant successfully updated
The response is of type object.
object
Was this page helpful?