Create Sync Configuration
Changed onCreate a sync configuration for automated storage ingestion.
Establishes automated synchronization between an external storage provider and a Mixpeek bucket. The sync monitors the source path and ingests files according to the specified mode and filters.
Supported Providers: google_drive, s3, snowflake, sharepoint, tigris
Built-in Robustness:
- Dead Letter Queue (DLQ): Failed objects tracked with 3 retries
- Idempotent ingestion: Deduplication prevents duplicate objects
- Distributed locking: Prevents concurrent sync execution
- Rate limit handling: Automatic backoff on 429 responses
- Metrics: Duration, files synced/failed, batches created
Sync Modes (the request enum accepts exactly these two):
- initial_only: Single bulk import, then sync stops
- continuous: Polling-based monitoring (polling_interval_seconds, max 900)
(Docstring previously advertised one_time/scheduled, which the enum rejects with a 422 — modes here must match SyncCreateRequest.)
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/buckets/{bucket_id}/syncs
- Auth: HTTP bearer and API key in header X-Namespace
Path parameters
Request body
Example request
{
"batch_size": 50,
"connection_id": "conn_s3_prod",
"file_filters": {
"extensions": [
".mp4",
".mov"
],
"min_size_bytes": 1024
},
"metadata": {
"project": "video-analysis"
},
"polling_interval_seconds": 300,
"source_path": "media-bucket/videos/raw",
"sync_mode": "continuous"
}Response
Successful Response
Example response
{
"ingest_filter": {
"retriever_id": "ret_ab12cd34ef56",
"retriever_version": 1,
"timeout_seconds": 30
}
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning