Virtualize an Upstash Redis database from Node or the browser.
Upstash serves a Redis database over the Redis protocol
on port 6379 and over a REST API
on the same host. RedisVFS from @struktoai/mirage-node uses the first,
@struktoai/mirage-browser the second, and one URL configures both: the token
Upstash prints is also the database password. Files are laid out as on
Redis, which covers the server side on the
Redis page.
Install
npm install @struktoai/mirage-node redis
Configure
The Upstash console prints a redis-cli line for the database. Its
rediss://default:<token>@<name>.upstash.io:6379 URL is the whole
configuration.
import { MountMode, RedisVFS, Workspace } from '@struktoai/mirage-node'const redis = new RedisVFS({ url: process.env.UPSTASH_REDIS_URL!, keyPrefix: 'mirage/',})const ws = new Workspace({ '/r': redis }, { mode: MountMode.WRITE })const result = await ws.shell('echo hello > /r/greet && cat /r/greet')console.log(result.stdoutText)await ws.close()
Python reaches the same database with the same URL through its
RedisVFS. A mount takes MountMode.READ, WRITE or
EXEC.
Fields
Field
Default
Notes
url
required
The rediss:// URL from the console, password included. Redacted in snapshots.
keyPrefix
mirage:fs:
Prefix of every key the mount reads and writes.
token
from the URL
Browser only. Needed when url is the REST URL (https://<name>.upstash.io) instead of the redis one.
maxRequestBytes
8388608
Browser only. Upstash caps a REST request at 10 MB; a larger file is written as one SET plus APPENDs of this size.
Authentication
Mount with the database’s full token. The console’s read-only token cannot
SCAN, which listings need.
Behavior
One database, both runtimes: the browser store keeps every value
byte-identical to what the Node mount writes, so a page over REST and a
server over the Redis protocol can share one database at the same time. The
Node example
shows the two reading each other’s files.
Billing: the free and pay-as-you-go tiers bill per command, and one shell
command is several Redis commands (a listing costs a few per entry). Worth
knowing before pointing an agent at a metered database.
Browser
The browser mount takes the same URL and talks to the REST API.
npm install @struktoai/mirage-browser
import { MountMode, RedisVFS, Workspace } from '@struktoai/mirage-browser'const redis = new RedisVFS({ url: process.env.UPSTASH_REDIS_URL!, keyPrefix: 'mirage/',})const ws = new Workspace({ '/r': redis }, { mode: MountMode.WRITE })
process.env stands for however the bundler injects the value; the
page example
uses a Vite define fed from UPSTASH_REDIS_URL in .env.development.
That define copies the whole URL, password included, into the served
JavaScript, so the page is a local demo for a trusted machine: run it from
the dev server, do not build or host it. Anyone who reads the token out of a
bundle can call the REST API directly and reach every key, whatever
keyPrefix and mount mode the page used. A page for other people needs a
server-side proxy, or a credential scoped to what that page may touch.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mirage","description":"Mirage gives AI agents one virtual filesystem for S3, Google Drive, Slack, GitHub, Notion, Postgres, and SSH, so shell commands work across services.","colors":{"primary":"#0C0C0C","light":"#FAFAFA","dark":"#000000"},"logo":{"light":"https://mintcdn.com/struktoai/9Wv6o7s0K8ywJ1bb/logo/light.svg?fit=max\u0026auto=format\u0026n=9Wv6o7s0K8ywJ1bb\u0026q=85\u0026s=69cd9fd3bd880ef4fca5cbbaacaf5815","dark":"https://mintcdn.com/struktoai/9Wv6o7s0K8ywJ1bb/logo/dark.svg?fit=max\u0026auto=format\u0026n=9Wv6o7s0K8ywJ1bb\u0026q=85\u0026s=b4bc9a0ed6ac9f3a5be8fc1becf45716"},"favicon":"https://mintcdn.com/struktoai/W4nI5Hz8eaijEZ81/favicon.svg?fit=max\u0026auto=format\u0026n=W4nI5Hz8eaijEZ81\u0026q=85\u0026s=860af2015db0c838cc5324f841d45b1b","api":{"playground":{"display":"simple"},"examples":{"defaults":"all","languages":["curl","python","javascript"],"prefill":true}},"navbar":{"links":[{"icon":"globe","href":"https://www.strukto.ai/mirage","label":"mirage"},{"icon":"discord","href":"https://discord.gg/u8BPQ65KsS","label":""},{"icon":"x-twitter","href":"https://x.com/struktoai","label":""},{"icon":"github","href":"https://github.com/strukto-ai/mirage","label":"strukto-ai/mirage"}]},"footer":{"socials":{"github":"https://github.com/strukto-ai/mirage"}},"seo":{"metatags":{"keywords":"Mirage, filesystem for AI agents, virtual filesystem, AI agent tools, agent infrastructure, MCP alternative, bash for agents, S3 filesystem, Google Drive filesystem, Slack filesystem, GitHub filesystem, agent sandbox, Strukto","author":"Strukto","robots":"index, follow","googlebot":"index, follow","canonical":"https://docs.mirage.strukto.ai","theme-color":"#0C0C0C","color-scheme":"light dark","language":"en","category":"Technology","target":"developers","apple-mobile-web-app-capable":"yes","apple-mobile-web-app-status-bar-style":"black-translucent","og:type":"website","og:url":"https://docs.mirage.strukto.ai","og:image":"https://raw.githubusercontent.com/strukto-ai/mirage/main/assets/mirage-og-light@2x.png","og:image:alt":"Mirage: a virtual terminal for AI agents","og:site_name":"Mirage","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@struktoai","twitter:creator":"@struktoai","twitter:image":"https://raw.githubusercontent.com/strukto-ai/mirage/main/assets/mirage-og-light@2x.png","twitter:image:alt":"Mirage · A Virtual Terminal for AI Agents | Strukto"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"struktoai","hasAudioNarration":false,"actualSubdomain":"struktoai","customDomains":["docs.mirage.strukto.ai"],"gitSource":{"type":"github","owner":"strukto-ai","repo":"mirage","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6affe41d8df080f416a7776e","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"VFS","count":211},{"language":"default","tag":"Home","count":155},{"language":"default","tag":"TS","count":116},{"language":"default","tag":"Python","count":115},{"language":"default","tag":"API Reference","count":82},{"language":"default","tag":"CLIs","count":57},{"language":"default","tag":"Machines","count":53},{"language":"default","tag":"Workspaces","count":50},{"language":"default","tag":"Buckets","count":48},{"language":"default","tag":"Files","count":44}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"html:root{--font-inter: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-paper-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--sidebar-panel: #fafafa;--chrome-line: #e5e5e5}html.dark:root{--sidebar-panel: #16171b;--chrome-line: rgb(255 255 255 / 0.1)}#navbar{box-shadow:0 1px 0 var(--chrome-line)}#navbar div:has(>div>#search-bar-entry){border-bottom:0}#sidebar::before{content:\"\";position:absolute;inset:0 0 0 -100vw;background:var(--sidebar-panel);border-right:1px solid var(--chrome-line)}#sidebar .from-background-light{background-image:linear-gradient(to bottom, var(--sidebar-panel), transparent)}@media (min-width: 1280px){#navbar div:has(>#search-bar-entry){position:absolute;top:0;bottom:0;left:315px;right:392px}}#content-area:has(#api-playground-2-operation-page) #header>.prose{margin-top:1.5rem}img.nav-logo{height:2.25rem}html.dark img[src*=\"mirage-icon-light\"]{filter:invert(1)}.sidebar-group a,.sidebar-group button{border-radius:0.5rem;clip-path:inset(0 0 0 0.5rem round 0.5rem)}h1#page-title{font-weight:800;line-height:1.25;text-wrap:balance}.mdx-content :is(h1,h2,h3,h4){letter-spacing:-0.02em}.mdx-content h2{font-weight:700}.prose table td:first-child{min-width:0}.prose td>code{word-break:normal}pre[language=\"diff\"] .line{display:inline-block;min-width:100%}pre[language=\"diff\"] .line:has(>span:first-child[style*=\"#B5CEA8\"i]){background:rgb(4 120 87 / 0.1)}pre[language=\"diff\"] .line:has(>span:first-child[style*=\"#CE9178\"i]){background:rgb(185 28 28 / 0.08)}html.dark pre[language=\"diff\"] .line:has(>span:first-child[style*=\"#B5CEA8\"i]){background:rgb(52 211 153 / 0.12)}html.dark pre[language=\"diff\"] .line:has(>span:first-child[style*=\"#CE9178\"i]){background:rgb(248 113 113 / 0.12)}"}]}
{"page":{"pagePath":"typescript/vfs/upstash","slug":"/typescript/vfs/upstash","pageMetadata":{"title":"Upstash Redis","icon":"/images/upstash-logo.svg","description":"Virtualize an Upstash Redis database from Node or the browser.","href":"/typescript/vfs/upstash"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Virtualize an Upstash Redis database from Node or the browser.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://upstash.com`,children:`Upstash`}),` serves a Redis database over the Redis protocol\non port 6379 and over a `,_jsx(_components.a,{href:`https://upstash.com/docs/redis/features/restapi`,children:`REST API`}),`\non the same host. `,_jsx(_components.code,{children:`RedisVFS`}),` from `,_jsx(_components.code,{children:`@struktoai/mirage-node`}),` uses the first,\n`,_jsx(_components.code,{children:`@struktoai/mirage-browser`}),` the second, and one URL configures both: the token\nUpstash prints is also the database password. Files are laid out as on\n`,_jsx(_components.a,{href:`/typescript/vfs/redis`,children:`Redis`}),`, which covers the server side on the\n`,_jsx(_components.a,{href:`/home/setup/redis`,children:`Redis page`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`install`,children:`Install`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @struktoai/mirage-node`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` redis`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`configure`,children:`Configure`}),`\n`,_jsxs(_components.p,{children:[`The Upstash console prints a `,_jsx(_components.code,{children:`redis-cli`}),` line for the database. Its\n`,_jsx(_components.code,{children:`rediss://default:\u003ctoken>@\u003cname>.upstash.io:6379`}),` URL is the whole\nconfiguration.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MountMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`RedisVFS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Workspace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@struktoai/mirage-node'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` redis`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` RedisVFS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`UPSTASH_REDIS_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` keyPrefix:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mirage/'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` ws`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Workspace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'/r'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` redis`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`mode:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MountMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`WRITE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ws`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`shell`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'echo hello > /r/greet \u0026\u0026 cat /r/greet'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`stdoutText`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ws`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`close`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Python reaches the same database with the same URL through its\n`,_jsx(_components.a,{href:`/python/vfs/redis`,children:_jsx(_components.code,{children:`RedisVFS`})}),`. A mount takes `,_jsx(_components.code,{children:`MountMode.READ`}),`, `,_jsx(_components.code,{children:`WRITE`}),` or\n`,_jsx(_components.code,{children:`EXEC`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`fields`,children:`Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`required`}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`rediss://`}),` URL from the console, password included. Redacted in snapshots.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`keyPrefix`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`mirage:fs:`})}),_jsx(_components.td,{children:`Prefix of every key the mount reads and writes.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`token`})}),_jsx(_components.td,{children:`from the URL`}),_jsxs(_components.td,{children:[`Browser only. Needed when `,_jsx(_components.code,{children:`url`}),` is the REST URL (`,_jsx(_components.code,{children:`https://\u003cname>.upstash.io`}),`) instead of the redis one.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`maxRequestBytes`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`8388608`})}),_jsxs(_components.td,{children:[`Browser only. Upstash caps a REST request at 10 MB; a larger file is written as one `,_jsx(_components.code,{children:`SET`}),` plus `,_jsx(_components.code,{children:`APPEND`}),`s of this size.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Mount with the database’s full token. The console’s read-only token cannot\n`,_jsx(_components.code,{children:`SCAN`}),`, which listings need.`]}),`\n`,_jsx(Heading,{level:`2`,id:`behavior`,children:`Behavior`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One database, both runtimes:`}),` the browser store keeps every value\nbyte-identical to what the Node mount writes, so a page over REST and a\nserver over the Redis protocol can share one database at the same time. The\n`,_jsx(_components.a,{href:`https://github.com/strukto-ai/mirage/blob/main/examples/browser/vfs/redis/main.ts`,children:`Node example`}),`\nshows the two reading each other’s files.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Billing:`}),` the free and pay-as-you-go tiers bill per command, and one shell\ncommand is several Redis commands (a listing costs a few per entry). Worth\nknowing before pointing an agent at a metered database.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`browser`,children:`Browser`}),`\n`,_jsx(_components.p,{children:`The browser mount takes the same URL and talks to the REST API.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @struktoai/mirage-browser`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MountMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`RedisVFS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Workspace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@struktoai/mirage-browser'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` redis`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` RedisVFS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`UPSTASH_REDIS_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` keyPrefix:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mirage/'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` ws`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Workspace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'/r'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` redis`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`mode:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MountMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`WRITE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`process.env`}),` stands for however the bundler injects the value; the\n`,_jsx(_components.a,{href:`https://github.com/strukto-ai/mirage/blob/main/examples/browser/vfs/redis/redis.html`,children:`page example`}),`\nuses a Vite `,_jsx(_components.code,{children:`define`}),` fed from `,_jsx(_components.code,{children:`UPSTASH_REDIS_URL`}),` in `,_jsx(_components.code,{children:`.env.development`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`That `,_jsx(_components.code,{children:`define`}),` copies the whole URL, password included, into the served\nJavaScript, so the page is a local demo for a trusted machine: run it from\nthe dev server, do not build or host it. Anyone who reads the token out of a\nbundle can call the REST API directly and reach every key, whatever\n`,_jsx(_components.code,{children:`keyPrefix`}),` and mount mode the page used. A page for other people needs a\nserver-side proxy, or a credential scoped to what that page may touch.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Upstash Redis","icon":"/images/upstash-logo.svg","description":"Virtualize an Upstash Redis database from Node or the browser.","href":"/typescript/vfs/upstash"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Install","slug":"install","depth":2,"children":[]},{"title":"Configure","slug":"configure","depth":2,"children":[{"title":"Fields","slug":"fields","depth":3,"children":[]}]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Behavior","slug":"behavior","depth":2,"children":[]},{"title":"Browser","slug":"browser","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"struktoai","siteName":"Mirage","title":"Upstash Redis - Mirage","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T20:11:42.631Z","originalFileLocation":"typescript/vfs/upstash.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Virtualize an Upstash Redis database from Node or the browser.\">\u003cmeta data-mint-head name=\"keywords\" content=\"Mirage, filesystem for AI agents, virtual filesystem, AI agent tools, agent infrastructure, MCP alternative, bash for agents, S3 filesystem, Google Drive filesystem, Slack filesystem, GitHub filesystem, agent sandbox, Strukto\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mirage\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upstash Redis - Mirage\">\u003cmeta data-mint-head property=\"og:description\" content=\"Virtualize an Upstash Redis database from Node or the browser.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mirage\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mirage.strukto.ai/typescript/vfs/upstash\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://raw.githubusercontent.com/strukto-ai/mirage/main/assets/mirage-og-light@2x.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Upstash Redis - Mirage\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Virtualize an Upstash Redis database from Node or the browser.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://raw.githubusercontent.com/strukto-ai/mirage/main/assets/mirage-og-light@2x.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/struktoai/iaPLppu4yGzCPWzy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mirage\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0C0C0C\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"Strukto\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#0C0C0C\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"category\" content=\"Technology\">\u003cmeta data-mint-head name=\"target\" content=\"developers\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-capable\" content=\"yes\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"Mirage: a virtual terminal for AI agents\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@struktoai\">\u003cmeta data-mint-head name=\"twitter:image:alt\" content=\"Mirage · A Virtual Terminal for AI Agents | Strukto\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mirage.strukto.ai/typescript/vfs/upstash\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/typescript/vfs/upstash.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mirage.strukto.ai/#organization\",\"name\":\"Mirage\",\"url\":\"https://docs.mirage.strukto.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/struktoai/9Wv6o7s0K8ywJ1bb/logo/light.svg?fit=max\u0026auto=format\u0026n=9Wv6o7s0K8ywJ1bb\u0026q=85\u0026s=69cd9fd3bd880ef4fca5cbbaacaf5815\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mirage.strukto.ai#website\",\"name\":\"Mirage\",\"url\":\"https://docs.mirage.strukto.ai\",\"publisher\":{\"@id\":\"https://docs.mirage.strukto.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash#webpage\",\"url\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash\",\"name\":\"Upstash Redis\",\"description\":\"Virtualize an Upstash Redis database from Node or the browser.\",\"dateModified\":\"2026-11-19T20:11:42.631Z\",\"isPartOf\":{\"@id\":\"https://docs.mirage.strukto.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"VFS\",\"item\":\"https://docs.mirage.strukto.ai/typescript/vfs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Databases\",\"item\":\"https://docs.mirage.strukto.ai/typescript/vfs/postgres\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Upstash Redis\",\"item\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash#article\",\"headline\":\"Upstash Redis\",\"name\":\"Upstash Redis\",\"description\":\"Virtualize an Upstash Redis database from Node or the browser.\",\"url\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mirage.strukto.ai/typescript/vfs/upstash#webpage\"},\"image\":\"https://raw.githubusercontent.com/strukto-ai/mirage/main/assets/mirage-og-light@2x.png\",\"dateModified\":\"2026-11-19T20:11:42.631Z\",\"publisher\":{\"@id\":\"https://docs.mirage.strukto.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mirage.strukto.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mirage\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mirage\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/typescript/vfs/upstash.md","siteName":"Mirage","nav":{"global":null,"tabs":[{"tab":"Home","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/mirage-icon-light.svg","pages":[{"title":"Home","href":"/home/introduction"}]},{"tab":"Python","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/python-logo.svg","pages":[{"title":"Python","href":"/python/install"}]},{"tab":"TS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/typescript-logo.svg","groups":[{"group":"Getting Started","pages":[{"title":"Installation","icon":"download","href":"/typescript/install"},{"title":"TypeScript Quickstart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/typescript-logo.svg","href":"/typescript/quickstart"},{"title":"Browser Quickstart","icon":"browser","href":"/typescript/browser-quickstart"},{"title":"Cloudflare Quickstart","icon":"cloud","href":"/typescript/cloudflare-quickstart"},{"title":"FUSE","icon":"hard-drive","href":"/typescript/setup/fuse"},{"title":"Limitations","icon":"triangle-exclamation","href":"/typescript/limitations"}]},{"group":"Access","pages":[{"title":"SDK Reference","icon":"cube","href":"/typescript/access/in-app"},{"title":"Server","icon":"server","href":"/typescript/access/server"}]},{"group":"AI Agents","pages":[{"title":"Overview","icon":"robot","href":"/typescript/agents/index"},{"group":"Coding Agent Plugins","icon":"laptop-code","pages":[{"title":"Pi Coding Agent","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/pi-logo.svg","href":"/typescript/agents/pi"},{"title":"Pi Durable","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/pi-logo.svg","href":"/typescript/agents/pi-durable"},{"title":"OpenCode","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/opencode-logo.svg","href":"/typescript/agents/opencode"},{"title":"DeepSeek Harness","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/deepseek-logo.svg","href":"/typescript/agents/dsh"}]},{"group":"Agent SDKs","icon":"cubes","pages":[{"title":"Vercel AI SDK","icon":"triangle","iconType":"solid","href":"/typescript/agents/vercel"},{"title":"Mastra","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/mastra-logo.svg","href":"/typescript/agents/mastra"},{"title":"Claude Agent SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/claude-logo.svg","href":"/typescript/agents/claude-agent-sdk"},{"title":"OpenAI Agents SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/openai-logo.svg","href":"/typescript/agents/openai-agents"},{"title":"LangChain (Deep Agents)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/langchain-logo.svg","href":"/typescript/agents/langchain"}]},{"group":"API \u0026 Environment","icon":"cloud","pages":[{"title":"OpenAI Agents API","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/openai-logo.svg","href":"/typescript/agents/openai-agents-api"},{"title":"Claude Managed Agents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/claude-logo.svg","href":"/typescript/agents/claude-managed-agents"}]}]},{"group":"VFS","pages":[{"title":"Overview","icon":"grid-2","href":"/typescript/vfs/index"},{"group":"Local","icon":"hard-drive","pages":[{"title":"RAM","icon":"memory","href":"/typescript/vfs/ram"},{"title":"Disk","icon":"hard-drive","href":"/typescript/vfs/disk"},{"title":"OPFS","icon":"hard-drive","href":"/typescript/vfs/opfs"}]},{"group":"Buckets","icon":"bucket","pages":[{"title":"S3","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/s3-logo.svg","href":"/typescript/vfs/s3"},{"title":"Cloudflare R2","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/cloudflare-logo.svg","href":"/typescript/vfs/r2"},{"title":"Google Cloud Storage","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/gcs-logo.svg","href":"/typescript/vfs/gcs"},{"title":"OCI Object Storage","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/oracle-logo.svg","href":"/typescript/vfs/oci"},{"title":"Supabase Storage","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/supabase-logo.svg","href":"/typescript/vfs/supabase"},{"title":"MinIO","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/minio-logo.svg","href":"/typescript/vfs/minio"},{"title":"Ceph","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/ceph-logo.svg","href":"/typescript/vfs/ceph"},{"title":"SeaweedFS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/seaweedfs-logo.svg","href":"/typescript/vfs/seaweedfs"},{"title":"Wasabi","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/wasabi-logo.svg","href":"/typescript/vfs/wasabi"},{"title":"Backblaze B2","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/backblaze-logo.svg","href":"/typescript/vfs/backblaze"},{"title":"DigitalOcean Spaces","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/digitalocean-logo.svg","href":"/typescript/vfs/digitalocean"},{"title":"Tencent COS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/tencent-logo.svg","href":"/typescript/vfs/tencent"},{"title":"Alibaba OSS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/aliyun-logo.svg","href":"/typescript/vfs/aliyun"},{"title":"Scaleway","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/scaleway-logo.svg","href":"/typescript/vfs/scaleway"},{"title":"QingStor","icon":"cloud","href":"/typescript/vfs/qingstor"},{"title":"HF Buckets","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/huggingface-logo.svg","href":"/typescript/vfs/hf_buckets"}]},{"group":"Files","icon":"folder-open","pages":[{"title":"Google Drive","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/gdrive-logo.svg","href":"/typescript/vfs/gdrive"},{"title":"Google Docs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/gdocs-logo.svg","href":"/typescript/vfs/gdocs"},{"title":"Google Sheets","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/gsheets-logo.svg","href":"/typescript/vfs/gsheets"},{"title":"Google Slides","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/gslides-logo.svg","href":"/typescript/vfs/gslides"},{"title":"OneDrive","icon":"microsoft","href":"/typescript/vfs/onedrive"},{"title":"SharePoint","icon":"microsoft","href":"/typescript/vfs/sharepoint"},{"title":"Dropbox","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/dropbox-logo.svg","href":"/typescript/vfs/dropbox"},{"title":"Box","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/box-logo.svg","href":"/typescript/vfs/box"},{"title":"Nextcloud","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/nextcloud-logo.svg","href":"/typescript/vfs/nextcloud"},{"title":"Databricks Volume","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/databricks-logo.svg","href":"/typescript/vfs/databricks_volume"},{"title":"TiDB Cloud Filesystem","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/tidb-logo.svg","href":"/typescript/vfs/tidb_filesystem"},{"title":"SSH","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/ssh-logo.svg","href":"/typescript/vfs/ssh"},{"title":"Machine Files","icon":"hard-drive","tag":"Experimental","href":"/typescript/vfs/machine"}]},{"group":"Databases","icon":"database","pages":[{"title":"Postgres","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/postgres-logo.svg","href":"/typescript/vfs/postgres"},{"title":"MongoDB","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/mongodb-logo.svg","href":"/typescript/vfs/mongodb"},{"title":"GridFS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/mongodb-logo.svg","href":"/typescript/vfs/gridfs"},{"title":"Redis","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/redis-logo.svg","description":"Virtualize a Redis database from Node or the browser.","href":"/typescript/vfs/redis"},{"title":"Upstash Redis","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/upstash-logo.svg","href":"/typescript/vfs/upstash"},{"title":"SQL","icon":"database","description":"Virtualize a filesystem kept in SQL tables from Node.","href":"/typescript/vfs/sql"},{"title":"Airtable","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/airtable-logo.svg","href":"/typescript/vfs/airtable"}]},{"group":"AI","icon":"sparkles","pages":[{"title":"Chroma","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/chroma-logo.svg","href":"/typescript/vfs/chroma"},{"title":"LanceDB","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/lancedb-logo.svg","href":"/typescript/vfs/lancedb"},{"title":"Qdrant","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/qdrant-logo.svg","href":"/typescript/vfs/qdrant"},{"title":"Dify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/dify-logo.svg","href":"/typescript/vfs/dify"},{"title":"Mem0","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/mem0.svg","href":"/typescript/vfs/mem0"},{"title":"HF Datasets","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/huggingface-logo.svg","href":"/typescript/vfs/hf_datasets"},{"title":"HF Models","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/huggingface-logo.svg","href":"/typescript/vfs/hf_models"}]},{"group":"Developer","icon":"code","pages":[{"title":"GitHub","icon":"github","href":"/typescript/vfs/github"},{"title":"HF Spaces","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/huggingface-logo.svg","href":"/typescript/vfs/hf_spaces"},{"title":"Linear","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/linear-logo.svg","href":"/typescript/vfs/linear"},{"title":"Weights \u0026 Biases","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/wandb-logo.svg","href":"/typescript/vfs/wandb"},{"title":"Langfuse","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/langfuse-logo.svg","href":"/typescript/vfs/langfuse"},{"title":"Jaeger","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/jaeger-logo.svg","href":"/typescript/vfs/jaeger"}]},{"group":"Chat","icon":"comments","pages":[{"title":"Slack","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/slack-logo.svg","href":"/typescript/vfs/slack"},{"title":"Discord","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/discord-logo.svg","href":"/typescript/vfs/discord"},{"title":"Gmail","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/gmail-logo.svg","href":"/typescript/vfs/gmail"},{"title":"Email","icon":"envelope","href":"/typescript/vfs/email"}]},{"group":"Productivity","icon":"list-check","pages":[{"title":"Google Calendar","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/gcal-logo.svg","href":"/typescript/vfs/gcal"},{"title":"Notion","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/notion-logo.svg","href":"/typescript/vfs/notion"},{"title":"Trello","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/trello-logo.svg","href":"/typescript/vfs/trello"}]},{"title":"Adding a New VFS","icon":"plus","href":"/typescript/vfs/new"}]},{"group":"CLIs","pages":[{"title":"Overview","icon":"wrench","href":"/typescript/cli/index"},{"group":"Files","icon":"folder-open","pages":[{"title":"office","icon":"file-lines","href":"/typescript/cli/office"},{"title":"pdftotext","icon":"file-pdf","href":"/typescript/cli/pdftotext"},{"title":"pdfinfo","icon":"file-pdf","href":"/typescript/cli/pdfinfo"}]},{"group":"Developer","icon":"code","pages":[{"title":"ast-grep","icon":"code","href":"/typescript/cli/ast-grep"},{"title":"gh","icon":"github","href":"/typescript/cli/gh"},{"title":"git","icon":"git-alt","href":"/typescript/cli/git"},{"title":"hf","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/huggingface-logo.svg","href":"/typescript/cli/hf"}]},{"group":"Chat","icon":"comments","pages":[{"title":"slack","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/slack-logo.svg","href":"/typescript/cli/slack"},{"title":"discord","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/discord-logo.svg","href":"/typescript/cli/discord"},{"title":"Himalaya","icon":"envelope","href":"/typescript/cli/himalaya"}]},{"group":"Productivity","icon":"list-check","pages":[{"title":"GWS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/google-logo.svg","href":"/typescript/cli/gws"},{"title":"ntn","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/notion-logo.svg","href":"/typescript/cli/ntn"},{"title":"linear","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/linear-logo.svg","href":"/typescript/cli/linear"},{"title":"trello","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/trello-logo.svg","href":"/typescript/cli/trello"},{"title":"airtable","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/airtable-logo.svg","href":"/typescript/cli/airtable"}]},{"title":"Adding a New CLI","icon":"plus","href":"/typescript/cli/new"},{"title":"Custom CLI Reference","icon":"book","href":"/typescript/cli/new-reference"},{"title":"From MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/mcp-icon.svg","href":"/typescript/cli/mcp"}]},{"group":"Machines","pages":[{"title":"Machines","sidebarTitle":"Overview","icon":"server","href":"/typescript/machine/overview"},{"group":"Runtimes","icon":"microchip","pages":[{"title":"Runtimes","sidebarTitle":"Overview","icon":"microchip","href":"/typescript/runtime/overview"},{"group":"Python","icon":"python","pages":[{"title":"Monty","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/pydantic-logo.svg","href":"/typescript/runtime/monty"},{"title":"Pyodide","icon":"python","href":"/typescript/runtime/pyodide"}]},{"group":"JavaScript","icon":"js","pages":[{"title":"QuickJS","icon":"js","href":"/typescript/runtime/quickjs"}]}]},{"title":"Host","icon":"laptop","href":"/typescript/machine/host"},{"title":"SSH","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/ssh-logo.svg","href":"/typescript/machine/ssh"},{"group":"Containers","icon":"boxes-stacked","pages":[{"title":"Docker","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/docker-logo.svg","href":"/typescript/machine/docker"},{"title":"Kubernetes","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/kubernetes-logo.svg","href":"/typescript/machine/kubernetes"},{"title":"Apple Container","icon":"apple","href":"/typescript/machine/apple_container"}]},{"group":"Sandboxes","icon":"box-open","pages":[{"title":"microsandbox","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/microsandbox-logo.svg","href":"/typescript/machine/microsandbox"},{"title":"smolvm","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/smolvm-logo.svg","href":"/typescript/machine/smolvm"},{"title":"E2B","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/e2b-logo.svg","href":"/typescript/machine/e2b"},{"title":"Daytona","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/daytona-logo.svg","href":"/typescript/machine/daytona"},{"title":"boxd","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/boxd-logo.svg","href":"/typescript/machine/boxd"},{"title":"Cloudflare Container","icon":"https://mintlify.s3.us-west-1.amazonaws.com/struktoai/images/cloudflare-logo.svg","href":"/typescript/machine/cloudflare_container"}]}]}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api/overview"}]}]},"basePath":"","title":"Upstash Redis - Mirage","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":[],"chunks":[]}