AI Recommendations
Get video recommendations
Authorization
api_token AuthorizationBearer <token>
API token provided by BOLD Admin
In: header
Request Body
application/json
Recommendations request
collection_id?string|null
Filter to a specific collection (legacy single-value filter)
collection_ids?|null
Filter to multiple collections (OR semantics)
include_guidance?boolean
Include AI guidance text explaining recommendations
Default
truelimit?integer
Maximum recommendations (default: 5, max: 20)
stream?boolean
Stream response via SSE (default: true)
Default
truetags?|null
Filter by video tags
topics*array<string>
Topics or learning goals
Response Body
application/json
application/json
application/json
curl -X POST "https://app.boldvideo.io/api/v1/ai/recommendations" \ -H "Content-Type: application/json" \ -d '{ "limit": 5, "topics": [ "authentication", "user management" ] }'{
"guidance": "string",
"recommendations": [
{
"position": 0,
"topic": "string",
"videos": [
{
"playback_id": "string",
"playback_token": "string",
"relevance": 0,
"title": "string",
"video_id": "string",
"why": "string"
}
]
}
],
"sources": [
{
"attachment_filename": "string",
"attachment_id": 0,
"canonical_url": "string",
"cited": true,
"document_type": "string",
"id": "string",
"kind": "chunk",
"matched_sentence": {
"end_ms": 0,
"speaker_label": "string",
"speaker_name": "string",
"start_ms": 0,
"text": "string",
"timestamp": 0,
"timestamp_end": 0,
"timestamp_end_seconds": 0,
"timestamp_seconds": 0
},
"moment_id": "string",
"mux_playback_id": "string",
"playback_id": "string",
"playback_token": "string",
"published_at": 0,
"slug": "string",
"speaker": "string",
"speaker_label": "string",
"speaker_name": "string",
"summary": "string",
"text": "string",
"timestamp": 0,
"timestamp_end": 0,
"timestamp_end_seconds": 0,
"timestamp_seconds": 0,
"timestamp_url": "string",
"title": "string",
"transcript_excerpt": "string",
"type": "insight",
"video_id": "string",
"video_title": "string"
}
]
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}