The S3 connector requires a Scale Plan or higher. You can also create S3 connectors directly from the Supermemory Console.
Quick setup
- TypeScript
- Python
- cURL
Configuration options
For S3, provider-specific fields go inside theconfig object. The namespace is in the URL, and documentLimit stays top-level in the body.
Credentials are stored encrypted and are never returned by
connectors.get or connectors.list. The config in responses contains only non-secret fields such as bucket, region, endpoint and prefix.S3-compatible services
Useconfig.endpoint to connect to S3-compatible storage. These services don’t use AWS-style regions, so set config.region to auto. The value is still required for request signing but the service ignores it.
Cloudflare R2 example:
For S3-compatible services,
config.endpoint is the base S3 endpoint. Do not include the bucket name in the endpoint URL; pass the bucket separately as config.bucket.Prefix filtering
Sync only files within a specific path:Multi-Tenant Buckets
A connector syncs into exactly one namespace. For a bucket shared by many tenants, create one connector per tenant namespace and point each at that tenant’s path withconfig.prefix:
Connector Management
Check Sync Status
- TypeScript
- cURL
Delete Connector
- TypeScript
- cURL
Manual sync
The call returns409 while a sync for that connector is already running.
- TypeScript
- cURL