Bold VideoDocs

AI Chat

Get conversation history

GET
/api/v1/ai/chat/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Conversation ID

Query Parameters

viewer?string

Resolved viewer UUID or external ID; required for verified history

access?string

JSON ChatAccess object using answer/point/mention with collection_id. Explicit {} grants no library access.

focus?string

JSON ChatFocus object using video_id/current_time; must match the bound focus ID

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/ai/chat/string"
{
  "channel": "string",
  "client": "string",
  "conversation_id": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "messages": [
    {
      "content": "string",
      "focus": {
        "current_time": 31536000,
        "video_id": "string"
      },
      "interaction_id": "fd463a24-cab4-49e4-b915-3c70a62977c3",
      "locked_matches": [
        {
          "collection_ids": [
            "497f6eca-6276-4993-bfeb-53cbbbba6f08"
          ],
          "offer": "string",
          "titles": [
            "string"
          ],
          "video_count": 1
        }
      ],
      "pointers": [
        {
          "canonical_url": "string",
          "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
          "moments": [
            {
              "timestamp": 0,
              "timestamp_end": 0,
              "timestamp_url": "string"
            }
          ],
          "title": "string",
          "video_id": "string"
        }
      ],
      "role": "user",
      "scope": {
        "answered_from": "focus",
        "focus": {
          "title": "string",
          "video_id": "string"
        },
        "reason": "not_covered",
        "widened_from": "focus"
      }
    }
  ],
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Continue a library chat

POST
/api/v1/ai/chat/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Conversation ID

Request Body

application/json

Chat request

access?

Caller-asserted collection access for this turn only; Bold does not verify viewer entitlement. Send every turn. Missing lists mean empty, empty means none. Overrides legacy collection filters. Strongest membership wins: answer > point > mention. Unknown UUIDs match nothing.

attended_by?string|

Admin key and viewers feature required. Viewer UUID(s) or external ID(s); restrict videos to their current roster. OR within the list; AND with other filters. Unknown viewer: 404; no attendance: no results. No private access grant. Repeat on each turn. Cannot combine with focus.

channel?string

Optional caller channel for analytics. Missing or unrecognized values are recorded as unknown and never reject the AI request.

Value in"portal" | "embed" | "api" | "mcp"
client_name?string

Optional analytics client name. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
client_version?string

Optional analytics client version. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
collection_id?string|null

Limit search to a specific collection (legacy single-value filter)

collection_ids?|null

Limit search to multiple collections (OR semantics)

conversation_id?string|null

Continue an existing conversation

focus?

Per-turn video focus; omit on the next turn to return to library chat. Viewer identity does not grant video access.

images?|null

Optional array of images (max 5). Requires the Vision feature flag. Each image can be base64-encoded or a URL.

Itemsitems <= 5
prompt*string

Your question

request_id?string

Caller action UUID. Reuse unchanged on retries to deduplicate analytics, not model execution. Omission or an invalid UUID creates a new interaction.

Formatuuid
spoken_by?string|

Admin key and viewers feature required. Viewer UUID(s) or external ID(s); only transcript passages containing a linked speaker, including mixed passages. Unknown viewer: 404; no linked person: no results; index not ready: 503. Repeat on each turn; history is not re-filtered. Cannot combine with focus.

stream?boolean

Stream response via SSE (default: true)

Defaulttrue
synthesize?boolean

Set false for retrieval-only evidence from access.answer (or legacy scope). Skips focused answering, point and mention probes; empty access.answer returns empty evidence without search or expansion. Persists only the user turn. JSON/form strings true and false are also accepted.

Defaulttrue
tags?|null

Filter by video tags

viewer?string|null

Viewer identifier (UUID or your external ID) to associate with the conversation. When the viewers feature is enabled, the viewer's traits also personalize AI responses.

viewer_profile?string|

Tell the AI about the person asking, for this request only (never persisted). Pass free text/markdown, or a key-value object. Requires the viewers feature.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/ai/chat/string" \  -H "Content-Type: application/json" \  -d '{    "prompt": "What are the best practices for user authentication?",    "stream": false,    "synthesize": true  }'
{
  "citations": [
    {
      "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"
    }
  ],
  "confidence": "high",
  "content": "string",
  "conversation_id": "string",
  "id": "string",
  "interaction_id": "fd463a24-cab4-49e4-b915-3c70a62977c3",
  "locked_matches": [
    {
      "collection_ids": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ],
      "offer": "string",
      "titles": [
        "string"
      ],
      "video_count": 1
    }
  ],
  "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
  "metadata": {
    "degraded": true,
    "degraded_reason": "stage1_exhausted",
    "retrieval_mode": "normal",
    "sources_truncated": true,
    "temporal_fallback_triggered": true
  },
  "pointers": [
    {
      "canonical_url": "string",
      "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
      "moments": [
        {
          "timestamp": 0,
          "timestamp_end": 0,
          "timestamp_url": "string"
        }
      ],
      "title": "string",
      "video_id": "string"
    }
  ],
  "questions": [
    "string"
  ],
  "response_type": "answer",
  "scope": {
    "answered_from": "focus",
    "focus": {
      "title": "string",
      "video_id": "string"
    },
    "reason": "not_covered",
    "widened_from": "focus"
  },
  "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"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Delete a library chat conversation

DELETE
/api/v1/ai/chat/{id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Conversation ID

Query Parameters

viewer?string

Resolved viewer for bound conversations

access?string

JSON ChatAccess object for bound conversations

focus?string

JSON ChatFocus object matching the bound focus

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.boldvideo.io/api/v1/ai/chat/string"
Empty
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Rate an assistant message

POST
/api/v1/ai/messages/{id}/feedback

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Assistant message UUID

Request Body

application/json

Feedback

note?string|null
Lengthlength <= 500
rating*string
Value in"up" | "down"
reasons?array<string>
Default[]

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/ai/messages/string/feedback" \  -H "Content-Type: application/json" \  -d '{    "rating": "up"  }'
{
  "data": {
    "note": "string",
    "rating": "up",
    "reasons": [],
    "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2"
  }
}
{
  "error": "Unauthorized",
  "status": 401,
  "timestamp": "2026-04-25 04:00:00Z"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "errors": {
    "property1": "string",
    "property2": "string"
  }
}
{
  "errors": {
    "property1": "string",
    "property2": "string"
  }
}

Remove an assistant message rating

DELETE
/api/v1/ai/messages/{id}/feedback

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Assistant message UUID

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.boldvideo.io/api/v1/ai/messages/string/feedback"
Empty
{
  "error": "Unauthorized",
  "status": 401,
  "timestamp": "2026-04-25 04:00:00Z"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "errors": {
    "property1": "string",
    "property2": "string"
  }
}

List video chat conversations

GET
/api/v1/ai/videos/{id}/chat

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Video ID or slug

Query Parameters

limit?integer

Max results (default 20, max 100)

offset?integer

Pagination offset (default 0)

viewer*string

Viewer UUID or external ID

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/ai/videos/string/chat?viewer=string"
{
  "conversations": [
    {
      "channel": "string",
      "client": "string",
      "conversation_id": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "message_count": 0,
      "preview": "string",
      "scope": "video",
      "status": "string",
      "title": "string",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "has_more": true,
    "limit": 0,
    "offset": 0
  },
  "video_id": "string"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Chat about a video

POST
/api/v1/ai/videos/{id}/chat

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Video ID or slug

Request Body

application/json

Chat request

channel?string

Optional caller channel for analytics. Missing or unrecognized values are recorded as unknown and never reject the AI request.

Value in"portal" | "embed" | "api" | "mcp"
client_name?string

Optional analytics client name. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
client_version?string

Optional analytics client version. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
conversation_id?string|null

Existing conversation ID to continue

current_time?integer|null

Current video playback position in seconds for contextual answers

images?|null

Optional array of images (max 5). Requires the Vision feature flag. Each image can be base64-encoded or a URL.

Itemsitems <= 5
max_tokens?integer|null

Maximum tokens in response

model?string|null

AI model to use (optional, uses account default)

prompt*string

The user's question or prompt

request_id?string

Caller action UUID. Reuse unchanged on retries to deduplicate analytics, not model execution. Omission or an invalid UUID creates a new interaction.

Formatuuid
stream?boolean

Whether to stream the response via SSE (default: true)

Defaulttrue
temperature?number|null

Temperature for response generation (0.0-2.0)

Formatfloat
viewer?string|null

Viewer identifier (UUID or your external ID) to associate with the conversation. When the viewers feature is enabled, the viewer's traits also personalize AI responses.

viewer_profile?string|

Tell the AI about the person asking, for this request only (never persisted). Pass free text/markdown, or a key-value object. Requires the viewers feature.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/ai/videos/string/chat" \  -H "Content-Type: application/json" \  -d '{    "prompt": "What are the key takeaways from this video?",    "stream": false  }'
{
  "content": "string",
  "conversation_id": "string",
  "id": "string",
  "interaction_id": "fd463a24-cab4-49e4-b915-3c70a62977c3",
  "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
  "model": "claude-3-5-sonnet-20241022",
  "usage": {
    "input_tokens": 0,
    "output_tokens": 0
  },
  "video_id": "string"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Get a video chat conversation

GET
/api/v1/ai/videos/{id}/chat/{conversation_id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Video ID or slug

conversation_id*string

Conversation ID

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/ai/videos/string/chat/string"
{
  "channel": "string",
  "client": "string",
  "conversation_id": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "messages": [
    {
      "content": "string",
      "id": "string",
      "inserted_at": "2019-08-24T14:15:22Z",
      "interaction_id": "fd463a24-cab4-49e4-b915-3c70a62977c3",
      "role": "user",
      "sources": [
        {}
      ]
    }
  ],
  "metadata": {},
  "updated_at": "2019-08-24T14:15:22Z",
  "video_id": "string"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Continue a video chat conversation

POST
/api/v1/ai/videos/{id}/chat/{conversation_id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Video ID or slug

conversation_id*string

Existing conversation ID

Request Body

application/json

Chat request

channel?string

Optional caller channel for analytics. Missing or unrecognized values are recorded as unknown and never reject the AI request.

Value in"portal" | "embed" | "api" | "mcp"
client_name?string

Optional analytics client name. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
client_version?string

Optional analytics client version. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
conversation_id?string|null

Existing conversation ID to continue

current_time?integer|null

Current video playback position in seconds for contextual answers

images?|null

Optional array of images (max 5). Requires the Vision feature flag. Each image can be base64-encoded or a URL.

Itemsitems <= 5
max_tokens?integer|null

Maximum tokens in response

model?string|null

AI model to use (optional, uses account default)

prompt*string

The user's question or prompt

request_id?string

Caller action UUID. Reuse unchanged on retries to deduplicate analytics, not model execution. Omission or an invalid UUID creates a new interaction.

Formatuuid
stream?boolean

Whether to stream the response via SSE (default: true)

Defaulttrue
temperature?number|null

Temperature for response generation (0.0-2.0)

Formatfloat
viewer?string|null

Viewer identifier (UUID or your external ID) to associate with the conversation. When the viewers feature is enabled, the viewer's traits also personalize AI responses.

viewer_profile?string|

Tell the AI about the person asking, for this request only (never persisted). Pass free text/markdown, or a key-value object. Requires the viewers feature.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/ai/videos/string/chat/string" \  -H "Content-Type: application/json" \  -d '{    "prompt": "What are the key takeaways from this video?",    "stream": false  }'
{
  "content": "string",
  "conversation_id": "string",
  "id": "string",
  "interaction_id": "fd463a24-cab4-49e4-b915-3c70a62977c3",
  "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
  "model": "claude-3-5-sonnet-20241022",
  "usage": {
    "input_tokens": 0,
    "output_tokens": 0
  },
  "video_id": "string"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Delete a video chat conversation

DELETE
/api/v1/ai/videos/{id}/chat/{conversation_id}

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Path Parameters

id*string

Video ID or slug

conversation_id*string

Conversation ID

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.boldvideo.io/api/v1/ai/videos/string/chat/string"
Empty
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

List library chat conversations

GET
/api/v1/ai/chat

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Query Parameters

limit?integer

Max results (default 20, max 100)

offset?integer

Pagination offset (default 0)

viewer*string

Viewer UUID or external ID

Response Body

application/json

application/json

application/json

curl -X GET "https://app.boldvideo.io/api/v1/ai/chat?viewer=string"
{
  "conversations": [
    {
      "channel": "string",
      "client": "string",
      "conversation_id": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "message_count": 0,
      "preview": "string",
      "scope": "video",
      "status": "string",
      "title": "string",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "has_more": true,
    "limit": 0,
    "offset": 0
  }
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}

Chat with your video library

POST
/api/v1/ai/chat

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Header Parameters

X-Bold-Cache-Bypass?string

Set to "true" to bypass caching for this request. Requires allow_per_request_model to be enabled on the account.

Request Body

application/json

Chat request

access?

Caller-asserted collection access for this turn only; Bold does not verify viewer entitlement. Send every turn. Missing lists mean empty, empty means none. Overrides legacy collection filters. Strongest membership wins: answer > point > mention. Unknown UUIDs match nothing.

attended_by?string|

Admin key and viewers feature required. Viewer UUID(s) or external ID(s); restrict videos to their current roster. OR within the list; AND with other filters. Unknown viewer: 404; no attendance: no results. No private access grant. Repeat on each turn. Cannot combine with focus.

channel?string

Optional caller channel for analytics. Missing or unrecognized values are recorded as unknown and never reject the AI request.

Value in"portal" | "embed" | "api" | "mcp"
client_name?string

Optional analytics client name. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
client_version?string

Optional analytics client version. Trimmed values must be 1–128 characters and at most 512 UTF-8 bytes; invalid values become unknown and never reject the request.

Length1 <= length <= 128
collection_id?string|null

Limit search to a specific collection (legacy single-value filter)

collection_ids?|null

Limit search to multiple collections (OR semantics)

conversation_id?string|null

Continue an existing conversation

focus?

Per-turn video focus; omit on the next turn to return to library chat. Viewer identity does not grant video access.

images?|null

Optional array of images (max 5). Requires the Vision feature flag. Each image can be base64-encoded or a URL.

Itemsitems <= 5
prompt*string

Your question

request_id?string

Caller action UUID. Reuse unchanged on retries to deduplicate analytics, not model execution. Omission or an invalid UUID creates a new interaction.

Formatuuid
spoken_by?string|

Admin key and viewers feature required. Viewer UUID(s) or external ID(s); only transcript passages containing a linked speaker, including mixed passages. Unknown viewer: 404; no linked person: no results; index not ready: 503. Repeat on each turn; history is not re-filtered. Cannot combine with focus.

stream?boolean

Stream response via SSE (default: true)

Defaulttrue
synthesize?boolean

Set false for retrieval-only evidence from access.answer (or legacy scope). Skips focused answering, point and mention probes; empty access.answer returns empty evidence without search or expansion. Persists only the user turn. JSON/form strings true and false are also accepted.

Defaulttrue
tags?|null

Filter by video tags

viewer?string|null

Viewer identifier (UUID or your external ID) to associate with the conversation. When the viewers feature is enabled, the viewer's traits also personalize AI responses.

viewer_profile?string|

Tell the AI about the person asking, for this request only (never persisted). Pass free text/markdown, or a key-value object. Requires the viewers feature.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/ai/chat" \  -H "Content-Type: application/json" \  -d '{    "prompt": "What are the best practices for user authentication?",    "stream": false,    "synthesize": true  }'
{
  "citations": [
    {
      "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"
    }
  ],
  "confidence": "high",
  "content": "string",
  "conversation_id": "string",
  "id": "string",
  "interaction_id": "fd463a24-cab4-49e4-b915-3c70a62977c3",
  "locked_matches": [
    {
      "collection_ids": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ],
      "offer": "string",
      "titles": [
        "string"
      ],
      "video_count": 1
    }
  ],
  "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",
  "metadata": {
    "degraded": true,
    "degraded_reason": "stage1_exhausted",
    "retrieval_mode": "normal",
    "sources_truncated": true,
    "temporal_fallback_triggered": true
  },
  "pointers": [
    {
      "canonical_url": "string",
      "collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
      "moments": [
        {
          "timestamp": 0,
          "timestamp_end": 0,
          "timestamp_url": "string"
        }
      ],
      "title": "string",
      "video_id": "string"
    }
  ],
  "questions": [
    "string"
  ],
  "response_type": "answer",
  "scope": {
    "answered_from": "focus",
    "focus": {
      "title": "string",
      "video_id": "string"
    },
    "reason": "not_covered",
    "widened_from": "focus"
  },
  "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"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}