Update assistant video bindings

Updates the video bindings for an existing AI assistant

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

NameInTypeRequiredDescription
assistant_idpathstring (UUID)YesTutor AI identifier.

Request Body

NameTypeRequiredDescription
video_idsarray of string (UUID)YesNew set of video IDs. Each must be a valid UUID.
langstringNoContent 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 400 and lists the conflicting video_ids in errMsg. 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}"]
  }
}
Path Params
uuid
required

Unique identifier of the assistant

Body Params
video_ids
array of strings

Array of video IDs to bind

video_ids
string
enum

Idioma do Tutor, usado para gerar resumos, sugestoes de perguntas e respostas do chat. Valores aceitos: pt-BR, en, es. Outros valores sao normalizados para o idioma mais proximo; valores nao reconhecidos usam pt-BR como padrao. Recomenda-se enviar exatamente um dos tres.

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json