Skip to main content
Redis stores workspace files in a Redis database. Available in Python, Node, Cloudflare Workers and browsers. File persistence depends on the database’s configuration.

Configuration

For Python, Node or Cloudflare Workers, set url to your Redis connection URL. Use key_prefix to keep this workspace’s files separate from other data:
Add capacity: 100MB under config to cap the bytes the files hold. See capacity. Browsers connect through a compatible HTTP endpoint, such as Upstash REST. See browser Redis setup for configuration.

SDK guides