VideoDB
video_dbVideoDB is a video infrastructure platform for storing, searching, understanding, editing, and generating video, audio, and image content.
Acciones disponibles (11)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Ask CollectionVIDEO_DB_ASK_COLLECTIONAcciónQueue a grounded question-answer request over a VideoDB collection's Search V2 indexes. This search-family call is metered and requires Search V2 indexes. The returned status only confirms the async request state, not a successful answer. Pass response_id to GET_ASYNC_RESULT and inspect the terminal result.
VIDEO_DB_ASK_COLLECTIONAcciónQueue a grounded question-answer request over a VideoDB collection's Search V2 indexes. This search-family call is metered and requires Search V2 indexes. The returned status only confirms the async request state, not a successful answer. Pass response_id to GET_ASYNC_RESULT and inspect the terminal result.
Parámetros de entrada
modestringOptional provider-supported answer mode; omit to use the provider default.
top_kintegerMaximum supporting matches to consider (1-100). Defaults to 15.
questionstringObligatorioQuestion to answer from indexed media.
collection_idstringObligatorioCollection whose indexed media should ground the answer.
include_sourcesbooleanWhether the eventual answer should include supporting source shots. Defaults to false.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create CollectionVIDEO_DB_CREATE_COLLECTIONAcciónCreate a VideoDB collection for organizing and searching media. Collections are private by default.
VIDEO_DB_CREATE_COLLECTIONAcciónCreate a VideoDB collection for organizing and searching media. Collections are private by default.
Parámetros de entrada
namestringObligatorioHuman-readable collection name.
is_publicbooleanWhether the collection should be public. Defaults to false for safety.
descriptionstringOptional purpose or contents of the collection.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Async ResultVIDEO_DB_GET_ASYNC_RESULTAcciónCheck one VideoDB async operation by response ID. Returns its current state or terminal provider result without polling repeatedly, and fails when a completed nested provider response reports success:false.
VIDEO_DB_GET_ASYNC_RESULTAcciónCheck one VideoDB async operation by response ID. Returns its current state or terminal provider result without polling repeatedly, and fails when a completed nested provider response reports success:false.
Parámetros de entrada
response_idstringObligatorioResponse ID returned by INGEST_MEDIA or ASK_COLLECTION.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CollectionVIDEO_DB_GET_COLLECTIONAcciónGet metadata for one VideoDB collection by ID.
VIDEO_DB_GET_COLLECTIONAcciónGet metadata for one VideoDB collection by ID.
Parámetros de entrada
collection_idstringObligatorioCollection ID returned by LIST_COLLECTIONS or CREATE_COLLECTION.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get MediaVIDEO_DB_GET_MEDIAAcciónGet metadata for one VideoDB video, audio file, or image.
VIDEO_DB_GET_MEDIAAcciónGet metadata for one VideoDB video, audio file, or image.
Parámetros de entrada
media_idstringObligatorioVideo, audio, or image ID returned by ingestion or LIST_MEDIA.
media_typestringObligatorioenumKind of media to retrieve: video, audio, or image.
videoaudioimagecollection_idstringCollection ID when known; used as optional access context for the provider read endpoint.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ingest MediaVIDEO_DB_INGEST_MEDIAAcciónQueue ingestion of a video, audio file, or image from an HTTP(S) URL into a VideoDB collection. This non-idempotent call is metered; live billing reported file_upload at 0.09 credits. Queue acceptance is not completion. Pass the returned response_id to GET_ASYNC_RESULT, and verify the prior job before retrying after an ambiguous failure to avoid duplicate charges.
VIDEO_DB_INGEST_MEDIAAcciónQueue ingestion of a video, audio file, or image from an HTTP(S) URL into a VideoDB collection. This non-idempotent call is metered; live billing reported file_upload at 0.09 credits. Queue acceptance is not completion. Pass the returned response_id to GET_ASYNC_RESULT, and verify the prior job before retrying after an ambiguous failure to avoid duplicate charges.
Parámetros de entrada
urlstringObligatorioPublicly reachable HTTP(S) URL of the media to ingest.
namestringOptional display name for the ingested media.
media_typestringObligatorioenumKind of media at the URL. Sent as video, audio, or image.
videoaudioimagecallback_urlstringOptional HTTP(S) callback URL for provider completion notifications.
collection_idstringObligatorioDestination collection ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CollectionsVIDEO_DB_LIST_COLLECTIONSAcciónList collections available to the connected VideoDB API key and identify the default collection.
VIDEO_DB_LIST_COLLECTIONSAcciónList collections available to the connected VideoDB API key and identify the default collection.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List MediaVIDEO_DB_LIST_MEDIAAcciónList videos, audio files, or images in one VideoDB collection using one normalized media interface. Video results return at most one page and may include an opaque continuation cursor.
VIDEO_DB_LIST_MEDIAAcciónList videos, audio files, or images in one VideoDB collection using one normalized media interface. Video results return at most one page and may include an opaque continuation cursor.
Parámetros de entrada
limitintegerMaximum videos in this page (1-100). Ignored for audio and images, whose list endpoints are unpaginated.
media_typestringObligatorioenumMedia family to list: video, audio, or image.
videoaudioimagenext_cursorstringOpaque continuation returned by a previous video listing. Omit on the first call; audio and image listings do not use it.
collection_idstringObligatorioCollection whose media should be listed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rename MediaVIDEO_DB_RENAME_MEDIAAcciónRename one VideoDB video, audio file, or image.
VIDEO_DB_RENAME_MEDIAAcciónRename one VideoDB video, audio file, or image.
Parámetros de entrada
namestringObligatorioNew media name.
media_idstringObligatorioVideo, audio, or image ID.
media_typestringObligatorioenumKind of media to rename: video, audio, or image.
videoaudioimage
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search CollectionVIDEO_DB_SEARCH_COLLECTIONAcciónRun synchronous semantic search over indexed media in a VideoDB collection. This metered call consumed 0.0015 credits per successful call during live Free_v1 probing, including calls that returned empty fallback results.
VIDEO_DB_SEARCH_COLLECTIONAcciónRun synchronous semantic search over indexed media in a VideoDB collection. This metered call consumed 0.0015 credits per successful call during live Free_v1 probing, including calls that returned empty fallback results.
Parámetros de entrada
querystringObligatorioNatural-language semantic search query.
top_kintegerMaximum nearest matches to return (1-100).
filteranyOptional structured filter over fields or vector metadata supported by the selected indexes, supplied as a JSON object or array. Omit unless you know the selected index's filterable metadata schema.
index_idsstring[]Optional index IDs to search.
index_namesstring[]Optional index names to search.
collection_idstringObligatorioCollection to search.
return_fieldsstring[]Optional index names to hydrate under each result's metadata.indexes object, such as ['scene'].
score_thresholdnumberOptional minimum similarity score.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update CollectionVIDEO_DB_UPDATE_COLLECTIONAcciónUpdate the name, description, or visibility of an existing VideoDB collection.
VIDEO_DB_UPDATE_COLLECTIONAcciónUpdate the name, description, or visibility of an existing VideoDB collection.
Parámetros de entrada
namestringNew collection name.
is_publicbooleanNew public visibility setting.
descriptionstringNew collection description.
collection_idstringObligatorioCollection ID to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not