Create new AI assistant

Creates a new AI assistant with specified video bindings and configuration

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

POST /assist-ai/buy_and_create

Detailed Description

Creates a new AI assistant with specified video bindings and configuration for the authenticated user.

HTTP Method & Path

POST /assist-ai/buy_and_create

Authentication Requirements

  • Security Scheme: PandaAuth (apiKey)
  • Header: Authorization: <your_api_token> (no Bearer prefix)

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix).

Request Body

Schema: BuyAndCreateRequest

NameTypeRequiredDescription
video_idsarray of stringYesArray of video IDs to bind to the assistant.
langstringYesLanguage code for the assistant.
namestringYesName of the assistant.
open_new_tabbooleanYesWhether chat opens in a new tab.
question_suggestionsbooleanNoEnable question suggestions.
initial_questionstringYesInitial question shown in the chat.

Example Request Body

{
  "video_ids": ["58e5d207-6b24-4596-ab17-98b8b6772ff2", "5aff90af-02ad-4fb3-abb3-7a97ab98a577"],
  "lang": "en",
  "name": "My Video Assistant",
  "open_new_tab": true,
  "question_suggestions": true,
  "initial_question": "How can I help you with this video?"
}
Body Params
video_ids
array of strings
required

Array of video IDs to bind to the assistant

video_ids*
string
enum
required

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:
string
required

Name of the assistant

boolean
required

Whether to open chat in a new tab

boolean

Whether to enable question suggestions

string
required

Initial question to display in the chat

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