sync
Create R2 Sync
Create a Cloudflare R2 Sync for a collection and start the initial backfill. The endpoint is derived from account_id and jurisdiction. Returns the sync; indexing runs asynchronously.
post/v2/collections/{collection_name}/sync/r2
Path parameters
collection_namestring required
Destination collection.
Headers
authorizationstring nullable
Bearer {api_key}. Your Captain API key.
Request body
Response
Successful Response