Knowledge
Add YouTube
Add a YouTube video transcript to an agent’s knowledge base.
POST
Request Body
The agent’s public ID (ag_*)
YouTube video URL
https://www.youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_ID
Response 201
Note: The video must have captions/subtitles available (auto-generated or manual).
Errors
| Code | Description |
|---|---|
401 | Missing or invalid authentication |
404 | Agent not found |
422 | Invalid YouTube URL or no transcript available |

