put
https://api-v2.pandavideo.com/assist-ai/update_assistant_video_bind/
Updates the video bindings for 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_video_bind/{assistant_id}
Replaces the set of videos bound to a Tutor AI. All video_ids must be valid UUIDs.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| assistant_id | path | string (UUID) | Yes | Tutor AI identifier. |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
| video_ids | array of string (UUID) | Yes | New set of video IDs. Each must be a valid UUID. |
| lang | string | No | Content language. One of: pt-BR, en, es, fr, it, zh, de, ar, ru. |
{
"video_ids": ["{video_id_1}", "{video_id_2}", "{video_id_3}"],
"lang": "en"
}A video belongs to one Tutor AI. Binding a video that is already in another (non-deleted) Tutor AI returns
400and lists the conflictingvideo_idsinerrMsg. Nothing is changed.
Errors
// 400 - video_ids not UUID
{ "errCode": "BadRequest", "errMsg": "video_ids must be a valid UUID" }
// 400 - video already in another Tutor
{
"errCode": "BadRequest",
"errMsg": {
"message": "Video already bound to another assistant",
"video_ids": ["{video_id}"]
}
}