Skip to main content
POST
Create a new collection to organize and process video files

Authorizations

Authorization
string
header
required

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

Body

application/json

Collection creation parameters

collection_type
enum<string>
required

Type of collection, determines how videos are processed and what data is extracted.

Collection Types:

  • media-descriptions: Generate comprehensive media descriptions with speech, visual, and text analysis (use describe_config)
  • entities: Extract structured data/entities from videos (requires extract_config)
  • rich-transcripts: Generate rich transcriptions with speech and visual descriptions (use transcribe_config). For backward compatibility only, new collections should use media-descriptions instead.
  • face-analysis: Detect and index faces in videos for face matching and search (use face_detection_config)
  • metadata: Index connector source metadata + user metadata into file-level search documents WITHOUT downloading or processing the media. Free to index. Supports google-drive, dropbox, zoom, gong, recall, grain, and iconik URLs. No processing configs are accepted.

⚠️ Important: Only provide the config that matches your collection_type. Other configs will be ignored.

Available options:
media-descriptions,
entities,
rich-transcripts,
face-analysis,
metadata
name
string
required

Name of the collection (must be unique within an organization)

description
string | null

Description of the collection's purpose or contents, null if none provided

describe_config
object

🎯 Use ONLY when collection_type = 'media-descriptions'

Configuration for comprehensive media description from videos. Optional - if not provided, default values will be used. This config will be ignored for other collection types.

extract_config
object

🎯 Use ONLY when collection_type = 'entities'

Configuration for automatic entity extraction from videos. Required for entities collections. This config will be ignored for other collection types.

transcribe_config
object

🎯 Use ONLY when collection_type = 'rich-transcripts'

Configuration for rich transcription from videos. Optional - if not provided, default values will be used. This config will be ignored for other collection types.

default_segmentation_config
object

Default segmentation configuration to use for files added to this collection. If not provided, a default uniform segmentation will be used.

default_thumbnails_config
object

Default thumbnails configuration to use for files added to this collection. If not provided, a default thumbnails configuration will be used.

face_detection_config
object

🎯 Use ONLY when collection_type = 'face-analysis'

Configuration for face detection in videos. Optional - if not provided, default values will be used. This config will be ignored for other collection types.

Response

Successful collection creation

id
string
required

Unique identifier for the collection

object
enum<string>
required

Object type, always 'collection'

Available options:
collection
name
string
required

Name of the collection

collection_type
enum<string>
required

Type of collection, determines how videos are processed and what data is extracted

Available options:
media-descriptions,
entities,
rich-transcripts,
face-analysis,
metadata
created_at
integer
required

Unix timestamp in milliseconds when the collection was created

file_count
integer
required

Number of files in the collection

description
string | null

Description of the collection's purpose or contents, null if none provided

extract_config
object

Configuration for automatic entity extraction from videos. Required when collection_type is 'entities'.

transcribe_config
object

Configuration for rich transcription from videos. Used when collection_type is 'rich-transcripts'. If not provided, default values will be used.

describe_config
object

Configuration for comprehensive media description from videos. Used when collection_type is 'media-descriptions'. If not provided, default values will be used.

default_segmentation_config
object

Default segmentation configuration used for files in this collection

default_thumbnails_config
object

Default thumbnails configuration used for files in this collection

face_detection_config
object | null

Configuration for face detection in videos. Only present when collection_type is 'face-analysis'.