cURL
curl --request POST \ --url https://pria.praxislxp.com/api/user/assistant \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "New Assistant 1", "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, "id": "687e761093c797174459c651", "message": "Assistant created!" }
Creates a new AI assistant with specified configuration and permissions
JWT token passed in x-access-token header
Assistant successfully created
The response is of type object.
object
Was this page helpful?