sync
Create S3 Sync
Create a Sync for a collection and start the initial backfill. AWS S3 authenticates with cross-account assume-role (recommended) or an access key. Works across S3-compatible cloud storage: AWS S3, Google Cloud Storage, Cloudflare R2, Supabase Storage, and Backblaze B2 (each has its own create endpoint). Returns the sync; indexing runs asynchronously.
post/v2/collections/{collection_name}/sync/s3
Path parameters
collection_namestring required
Destination collection.
Headers
authorizationstring nullable
Bearer {api_key}. Your Captain API key.
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 2 revisions of this API.