post https://api-v2.pandavideo.com/assist-ai/buy_and_create
Creates a new AI assistant with specified video bindings and configuration
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
Name | In | Type | Required | Description |
---|---|---|---|---|
Authorization | header | string | Yes | Panda API token (without Bearer prefix). |
Request Body
Schema: BuyAndCreateRequest
Name | Type | Required | Description |
---|---|---|---|
video_ids | array of string | Yes | Array of video IDs to bind to the assistant. |
lang | string | Yes | Language code for the assistant. |
name | string | Yes | Name of the assistant. |
open_new_tab | boolean | Yes | Whether chat opens in a new tab. |
question_suggestions | boolean | No | Enable question suggestions. |
initial_question | string | Yes | Initial question shown in the chat. |
Example Request Body
{
"video_ids": ["video1", "video2"],
"lang": "en",
"name": "My Video Assistant",
"open_new_tab": true,
"question_suggestions": true,
"initial_question": "How can I help you with this video?"
}