Skip to main content
POST
Generate a model response to a conversation that can include references to video content

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Chat completion parameters

model
enum<string>
required

Name of the video understanding model to use.

Available options:
nimbus-001
messages
object[]
required

A list of messages comprising the conversation so far

collections
string[]
required

List of collection IDs to use as context for the chat.

Note that 'nimbus-001' only supports collections with collection_type 'media-descriptions' or 'rich-transcripts'

Required array length: 1 element
filter
object

Filter criteria to constrain search results used in chat

temperature
number

Sampling temperature to use, between 0 and 2

Required range: 0 <= x <= 2

Response

Successful response

id
string

Unique identifier for this chat completion

object
string

Object type, always "chat.completion"

created_at
integer

Unix timestamp in milliseconds when the chat completion was created

model
string

The model used for the chat completion

choices
object[]

The generated responses

payload
object
usage
object

Usage statistics for the completion request