put
https://api-v2.pandavideo.com/assist-ai/update_assistant_info/
Updates the basic information and configuration of an existing AI assistant
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
PUT /assist-ai/update_assistant_info/{assistant_id}
Updates the configuration of an existing Tutor AI. Only the fields you send are changed; omitted fields keep their current value.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| assistant_id | path | string (UUID) | Yes | Tutor AI identifier. |
Request Body
All fields are optional. Send only the ones you want to change.
| Name | Type | Description |
|---|---|---|
| name | string | Tutor name. |
| open_new_tab | boolean | Whether the chat opens in a new tab. |
| question_suggestions | boolean | Enable suggested questions. |
| initial_question | string | Greeting shown when the chat opens. |
| prompt | string | Custom system prompt for the assistant. |
| show_watch_video_button | boolean | Show the "Watch video" button inside chat answers. Default true. Tutors created before this feature default to true. |
| status | string | ready or disabled only. See the status rules below. |
{
"show_watch_video_button": false
}Status rules
The status field only accepts ready and disabled. Any other value returns 400 InvalidStatus.
| Transition | Condition |
|---|---|
To ready | The Tutor must have at least one successfully processed video or file. |
To disabled | Always allowed. The Tutor is removed from the player. |
Response
{ "message": "Assistant AI updated successfully" }Errors
// 400 - invalid status value (e.g. "active", "inactive")
{ "errCode": "InvalidStatus", "errMsg": "Invalid status" }
// 400 - activating a Tutor with no items
{
"errCode": "AssistantWithoutContent",
"errMsg": "A Tutor AI needs at least one video or file before it can be activated"
}
// 400 - activating a Tutor where all items failed
{
"errCode": "AssistantWithoutReadyContent",
"errMsg": "A Tutor AI with only failed items must be reprocessed before it can be activated"
}
// 400 - activating a Tutor that is not ready or disabled
{
"errCode": "AssistantNotActivatable",
"errMsg": "Only a disabled or ready Tutor AI can be activated"
}
// 400 - Tutor in payment_failed
{
"errCode": "AssistantPaymentFailed",
"errMsg": "Assistant status cannot be updated if payment failed"
}If the update is saved but fails to propagate to all player edges, the API returns
500 AssistantPropagationFailed. Repeating the same call is safe.
