Actions40
- Index Spoken Words
- Get Transcript
- Search in a Video
- Generate Stream
- Index Scenes
- List Scene Indexes
- Get Scene Index
- Delete Scene Index
- Add Subtitle
- Translate Transcript
- Generate Audio URL
- Generate Image URL
- Create Collection
- Download
- Get Collection
- Get Collections
- Update Collection
- YouTube Search
- Delete Audio
- Delete Image
- Delete Video
- Delete Collection
- Dub Video
- Generate Image
- Generate Music
- Generate Sound Effect
- Generate Voice
- Generate Video
- Generate Text
- Get Audio
- Get Audios
- Get Image
- Get Images
- Get Video
- Get Videos
- Search in a Collection
- Upload
- Record Meeting
- Get Meeting
- Compile Timeline (VideoDB's Video Editor)
YouTube Search
AI-generatedSummary
Performs a YouTube search within a VideoDB collection
Inputs
- collection_id (required) — Choose from the list, or specify an ID using an expression
- query (required) — The search query to execute on YouTube within the collection
- result_threshold — Minimum result threshold for search relevance
- duration — Filter YouTube results by duration: short, medium, or long
Output shape
API response body from VideoDB YouTube search endpoint
Returns search results matching the query within the specified collection
Examples
Example 1: Search YouTube videos in a collection with a keyword filter and duration limit
Set collection_id to an existing collection, query to the desired search term, duration to 'short' for recent uploads, and result_threshold to adjust relevance cutoff.