VectorMethods

Docs / API reference

Connectors

Create and manage VideoVector GCS, S3, and Azure Blob connectors for import and export workflows.

api/routes.pysdk/videovector/resources/connectors.pymcp-server/src/tools/definitions.ts

Search documentation

Search pages, API reference sections, and guide headings.

Summary

Connectors are the public storage integration boundary for import and export workflows. The API supports provider-specific creation, listing, retrieval, testing, browsing, update, and deletion.

Connector endpoints

MethodPathPurpose
POST/api/v2/connectors/gcsCreate a GCS connector
POST/api/v2/connectors/s3Create an S3 connector
POST/api/v2/connectors/azureCreate an Azure Blob connector
GET/api/v2/connectorsList connectors
GET/api/v2/connectors/{connector_id}Retrieve one connector
PATCH/api/v2/connectors/{connector_id}Update mutable connector fields
POST/api/v2/connectors/{connector_id}/testValidate access
POST/api/v2/connectors/{connector_id}/browseBrowse files with prefix and pattern
DELETE/api/v2/connectors/{connector_id}Delete a connector

Common connector fields

FieldNotes
nameHuman-readable connector name
scopesOne or both of import and export
export_base_pathOptional export boundary inside the storage namespace
import_modeall or new_only

Provider-specific creation

  • GCS creation uses multipart form data with credentials_file.
  • S3 creation uses JSON with bucket, region, aws_access_key_id, and aws_secret_access_key.
  • Azure creation uses JSON with storage_account, container, tenant_id, client_id, and client_secret.

Example: create an S3 connector

curl -X POST /api/v2/connectors/s3 \
  -H "X-API-Key: sk_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: connector-s3-archive" \
  -d '{
    "name": "Archive S3",
    "bucket": "media-archive",
    "region": "us-east-1",
    "aws_access_key_id": "AKIA...",
    "aws_secret_access_key": "<secret>",
    "scopes": ["import", "export"],
    "export_base_path": "exports/review",
    "import_mode": "new_only"
  }'

Example: browse files

curl -X POST /api/v2/connectors/conn_123/browse \
  -H "X-API-Key: sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "prefix": "incoming/2026/04/",
    "pattern": "*.mp4"
  }'

SDK equivalents

  • client.connectors.create_gcs
  • client.connectors.create_s3
  • client.connectors.create_azure
  • client.connectors.test
  • client.connectors.browse

Related documentation

Connectors provide the storage access boundary for imports and exports. This guide shows how to create them, test them, and choose scopes safely.

API reference

Import jobs bring cloud storage media into a target index. Use automations when the same connector path should feed recurring media intake.

API reference

Exports package run-backed metadata for download or connector delivery. The public API supports export creation by index or run plus status retrieval and listing.