PUT
/
api
/
user
/
assistant
/
{assistantId}
Update an existing assistant
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!"
}

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Path Parameters

assistantId
string
required

The unique identifier of the assistant to update

Body

application/json

Response

Assistant successfully updated

The response is of type object.