The S3 connector requires a Scale Plan or higher. You can also create S3 connections directly from the Supermemory Console.
Quick Setup
- TypeScript
- Python
- cURL
Configuration Options
For S3, provider-specific connection fields are passed inside the top-levelmetadata object. General connection options stay top-level.
In the Python SDK, use
container_tags for the top-level option, but keep S3 metadata keys in camelCase: accessKeyId, secretAccessKey, and containerTagRegex.S3-Compatible Services
Usemetadata.endpoint to connect to S3-compatible storage. These services don’t use AWS-style regions, so set metadata.region to auto — the value is still required for request signing but the service ignores it.
Cloudflare R2 example:
For S3-compatible services,
metadata.endpoint is the base S3 endpoint. Do not include the bucket name in the endpoint URL; pass the bucket separately as metadata.bucket.Prefix Filtering
Sync only files within a specific path:Dynamic Container Tags
Extract container tags from S3 key paths for multi-tenant setups:Connection Management
Delete Connection
- TypeScript
- cURL
Manual Sync
- TypeScript
- cURL