Bold VideoDocs

Videos

List, fetch, and search videos with the SDK

The videos namespace reads video content from your library. Only public videos are returned by list endpoints; unlisted videos resolve by direct ID.

videos.list(options?)

// Latest videos (default: 12)
const { data: videos } = await bold.videos.list();

// With a limit
const { data: videos } = await bold.videos.list(20);

// Filtered
const { data: videos } = await bold.videos.list({
  limit: 20,
  tag: 'sales',
  collectionId: 'col_123',
  viewerId: 'viewer_123'  // include this viewer's watch progress
});

// Paginated browsing
const { data: videos } = await bold.videos.list({
  page: 2,
  tag: 'sales'
});
OptionTypeDescription
limitnumberMax videos (latest-style queries)
pagenumberPage number (paginated queries, mutually exclusive with limit)
tagstringFilter by tag
collectionIdstringFilter by collection
viewerIdstringAttach the viewer's progress to each video

videos.get(idOrSlug)

const { data: video } = await bold.videos.get('video-id');
const { data: video } = await bold.videos.get('my-video-slug');

console.log(video.title);
console.log(video.playbackId);   // for your player
console.log(video.chapters);     // [{ title, start }, …]
console.log(video.transcript);   // full transcript with segments

Works with either the video's UUID or its slug.

videos.search(term)

const { data: results } = await bold.videos.search('pricing strategies');

Keyword + semantic search over public videos. For search with an AI-synthesized answer, use ai.search.

The Video object

The fields you'll actually use:

FieldDescription
id, slug, title, teaser, descriptionIdentity and metadata
playbackId, streamUrlPlayback: works with Mux Player or any HLS player
durationSeconds
thumbnailThumbnail URL
chaptersTimestamped chapters
transcriptFull transcript (text + segments)
captionsCaption tracks
attachmentsFiles attached to the video
downloadUrlsMP4 / audio downloads
ctaThe video's call-to-action, if set
tags, type, publishedAtOrganization

Full definitions in Types.

On this page