Launches a Firecracker microVM with the supplied set of disks each mounted
at its own relative path under /mnt/archil, runs the command to
completion, and shuts down the microVM. Activation is atomic: every disk mounts
or none of them do.
Relative paths must be non-empty, non-absolute, and contain no . /
.. segments. Mounting two disks at the same relative path is an
error.
Map of relative path under /mnt/archil to the disk to mount
there. At least one entry is required. Relative paths must be
non-empty, non-absolute, and contain no . or .. segments.
Each value is either a plain disk ID string (mounts the disk's
root, read-write) or an object that additionally selects a
subdirectory of the disk and/or marks the mount as read-only.
Public Linux OCI image reference to run the command in, such as python:3.13. Docker Hub shorthand, tags, and digests are accepted. The first exec with an image waits while Archil prepares it; later execs reuse it. Defaults to Archil's exec image when neither this nor imageId is set. Mutually exclusive with imageId.
Example:
"python:3.13"
imageId
string
An image built with Build Image, for private images or to prepare a public image ahead of time. The exec runs the image's latest successful build. Mutually exclusive with baseImage.
Pattern: ^[0-9a-f]{64}$
vcpuCount
integer
vCPUs for the command's microVM. Defaults to 2. An exec larger than the default size (2 vCPU, 4096 MiB) bills as that many multiples of a call, by whichever of vCPU and memory is the larger multiple, rounded up. The Free plan allows only the default size.
Required range: 1 <= x <= 32
Example:
4
memSizeMib
integer
Memory in MiB for the command's microVM. Defaults to 4096. Billed as described for vcpuCount.
Required range: 256 <= x <= 65536
Example:
8192
network
object
Network policy for the command's microVM, using the
sandbox firewall egress rules. Egress is
unrestricted when omitted. The Free plan cannot set one; a request
with one is rejected with 403 network_plan_required.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Archil","colors":{"primary":"#CA5550","light":"#CA5550","dark":"#CA5550"},"logo":{"light":"https://mintcdn.com/regattastorage/ZgodyIZMQ_rX_qud/logo/archil-black-fullbleed.svg?fit=max\u0026auto=format\u0026n=ZgodyIZMQ_rX_qud\u0026q=85\u0026s=adba0f4983e37336b24452e3ba977724","dark":"https://mintcdn.com/regattastorage/ZgodyIZMQ_rX_qud/logo/archil-white-fullbleed.svg?fit=max\u0026auto=format\u0026n=ZgodyIZMQ_rX_qud\u0026q=85\u0026s=3ba1c87384e113275374ebfbf55242a6","href":"https://archil.com"},"favicon":"https://mintcdn.com/regattastorage/S4_bUvKoVTjJKy3L/favicon.svg?fit=max\u0026auto=format\u0026n=S4_bUvKoVTjJKy3L\u0026q=85\u0026s=e2efc998ca3afaa27ef4036837d37349","background":{"color":{"dark":"#101011"}},"navbar":{"links":[{"href":"https://archil.com/pricing","label":"Pricing"},{"href":"mailto:support@archil.com","label":"Support"}],"primary":{"type":"button","label":"Console","href":"https://console.archil.com"}},"footer":{"socials":{"x":"https://x.com/archildata","linkedin":"https://linkedin.com/company/archil","discord":"https://discord.gg/KbXgvpWw7K"}},"seo":{"metatags":{"msvalidate.01":"EF0D87C55567AF7517BCE660F6318971"}},"integrations":{"posthog":{"apiKey":"phc_f4bRADnjXK5UboJFFUq9DIYClzzCl11Z4sdR5EM2UHE"}},"contextual":{"options":["copy","view","assistant","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"regattastorage","hasAudioNarration":false,"actualSubdomain":"regattastorage","customDomains":["docs.archil.com"],"gitSource":{"type":"github","owner":"archil-data","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af74d6c909031bbb3a036d3","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Documentation","count":55},{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Reference","count":24},{"language":"default","tag":"Sandboxes","count":23},{"language":"default","tag":"Use Archil on other platforms","count":10},{"language":"default","tag":"Details","count":8},{"language":"default","tag":"Agents","count":8},{"language":"default","tag":"Disks","count":6},{"language":"default","tag":"Compute","count":6}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@archil.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".dark #navbar div.dark\\:bg-gray-900{background-color:#1a1a1c}"}],"page":{"pagePath":"api-reference/serverless-execution/exec-multi","slug":"/api-reference/serverless-execution/exec-multi","pageMetadata":{"title":"Execute Command with Multiple Disks","openapi":"POST /api/exec","description":"Launches a Firecracker microVM with the supplied set of disks each mounted\nat its own relative path under `/mnt/archil`, runs the command to\ncompletion, and shuts down the microVM. Activation is atomic: every disk mounts\nor none of them do.\n\nRelative paths must be non-empty, non-absolute, and contain no `.` /\n`..` segments. Mounting two disks at the same relative path is an\nerror.\n","href":"/api-reference/serverless-execution/exec-multi"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Launches a Firecracker microVM with the supplied set of disks each mounted\\nat its own relative path under \", _jsx(_components.code, {\n children: \"/mnt/archil\"\n }), \", runs the command to\\ncompletion, and shuts down the microVM. Activation is atomic: every disk mounts\\nor none of them do.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Relative paths must be non-empty, non-absolute, and contain no \", _jsx(_components.code, {\n children: \".\"\n }), \" /\\n\", _jsx(_components.code, {\n children: \"..\"\n }), \" segments. Mounting two disks at the same relative path is an\\nerror.\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Execute Command with Multiple Disks","openapi":"POST /api/exec","description":"Launches a Firecracker microVM with the supplied set of disks each mounted\nat its own relative path under `/mnt/archil`, runs the command to\ncompletion, and shuts down the microVM. Activation is atomic: every disk mounts\nor none of them do.\n\nRelative paths must be non-empty, non-absolute, and contain no `.` /\n`..` segments. Mounting two disks at the same relative path is an\nerror.\n","href":"/api-reference/serverless-execution/exec-multi"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/regattastorage/7f4d365ae8e61637/rb2b.js"],"openApiReferenceData":{"operation":{"operationId":"exec","summary":"Execute a command with multiple disks mounted","description":"Launches a Firecracker microVM with the supplied set of disks each mounted\nat its own relative path under `/mnt/archil`, runs the command to\ncompletion, and shuts down the microVM. Activation is atomic: every disk mounts\nor none of them do.\n\nRelative paths must be non-empty, non-absolute, and contain no `.` /\n`..` segments. Mounting two disks at the same relative path is an\nerror.\n","tags":["Serverless Execution"],"requestBody":"f29ee666-e179-417f-b3c5-10f18575a717","responses":{"200":"43dd57aa-71ae-459f-a7b3-ee13cc45beaa","400":"c73bd362-6798-491d-b1c2-2b1dd0739943","401":"07767b7f-246e-4709-9b1a-5b7d58059ff5","403":"9a0b1605-3123-4b7b-b2d6-b7d4078560fe","404":"fdae8442-210b-4c1a-b1c0-9b2b9981ac03","409":"3356c5c5-a4b2-4b93-aebe-29aa5a49c174","500":"b317ca53-cf2b-4672-9550-a01352207332","504":"39bd8cc1-e7c6-4e48-851a-6a3f0df34ba5"},"method":"post","type":"path","servers":["b1342687-6cb8-4a7e-8bf7-37e1e6785396","ccc4eea5-2d5f-4c21-90b3-49f4e1a5c133","641e25ad-2e75-4766-9aee-dcccff02838a","6f0c44fb-45f8-42a1-b3f2-9c5e38dc6f60"],"security":["d4e1daaa-47eb-499e-9fff-d91128fbd239"],"path":"/api/exec","baseUrlOptions":["https://control.green.us-east-1.aws.prod.archil.com","https://control.green.eu-west-1.aws.prod.archil.com","https://control.green.us-west-2.aws.prod.archil.com","https://control.blue.us-central1.gcp.prod.archil.com"],"title":"Execute a command with multiple disks mounted","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["disks","command"],"properties":{"disks":{"type":"object","description":"Map of relative path under `/mnt/archil` to the disk to mount\nthere. At least one entry is required. Relative paths must be\nnon-empty, non-absolute, and contain no `.` or `..` segments.\n\nEach value is either a plain disk ID string (mounts the disk's\nroot, read-write) or an object that additionally selects a\nsubdirectory of the disk and/or marks the mount as read-only.\n","additionalProperties":{"oneOf":[{"type":"string","description":"Disk ID; mounts the disk's root as read-write","example":"dsk-abc123","uniqueKey":"disks.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","required":["disk"],"properties":{"disk":{"type":"string","description":"Disk ID to mount at this relative path","example":"dsk-abc123","isRequired":true,"uniqueKey":"disks.additionalProperties.oneOf.1.disk","typeLabel":"string"},"subdirectory":{"type":"string","description":"Subdirectory of the disk to expose at the mountpoint. Must be a\nrelative path with no `.` or `..` segments. When omitted, the\ndisk's root is exposed.\n","example":"app/logs","uniqueKey":"disks.additionalProperties.oneOf.1.subdirectory","typeLabel":"string"},"readOnly":{"type":"boolean","default":false,"description":"When true, the disk is mounted read-only inside the microVM.\nWrites against the mount fail with EROFS.\n","uniqueKey":"disks.additionalProperties.oneOf.1.readOnly","typeLabel":"boolean"}},"uniqueKey":"disks.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"disks.additionalProperties","typeLabel":"string | object"},"example":{"data":"dsk-abc123","logs":{"disk":"dsk-def456","subdirectory":"app/logs","readOnly":true}},"isRequired":true,"uniqueKey":"disks","typeLabel":"object"},"command":{"type":"string","description":"Shell command to execute inside the microVM","example":"ls -la /mnt/archil/data /mnt/archil/logs","isRequired":true,"uniqueKey":"command","typeLabel":"string"},"baseImage":{"type":"string","description":"Public Linux OCI image reference to run the command in, such as `python:3.13`. Docker Hub shorthand, tags, and digests are accepted. The first exec with an image waits while Archil prepares it; later execs reuse it. Defaults to Archil's exec image when neither this nor `imageId` is set. Mutually exclusive with `imageId`.","example":"python:3.13","uniqueKey":"baseImage","typeLabel":"string"},"imageId":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"An image built with [Build Image](/api-reference/images/build-image), for private images or to prepare a public image ahead of time. The exec runs the image's latest successful build. Mutually exclusive with `baseImage`.","uniqueKey":"imageId","typeLabel":"string"},"vcpuCount":{"type":"integer","minimum":1,"maximum":32,"description":"vCPUs for the command's microVM. Defaults to 2. An exec larger than the default size (2 vCPU, 4096 MiB) bills as that many multiples of a call, by whichever of vCPU and memory is the larger multiple, rounded up. The Free plan allows only the default size.","example":4,"uniqueKey":"vcpuCount","typeLabel":"integer"},"memSizeMib":{"type":"integer","minimum":256,"maximum":65536,"description":"Memory in MiB for the command's microVM. Defaults to 4096. Billed as described for `vcpuCount`.","example":8192,"uniqueKey":"memSizeMib","typeLabel":"integer"},"network":{"type":"object","description":"Network policy for the command's microVM, using the\n[sandbox firewall](/compute/sandboxes/firewall) egress rules. Egress is\nunrestricted when omitted. The Free plan cannot set one; a request\nwith one is rejected with 403 `network_plan_required`.\n","properties":{"egress":{"type":"object","description":"Deny targets take precedence when an address or domain matches both lists. When domain rules or drain selectors are present, TCP ports 80 and 443 are restricted to HTTP/1.1 or HTTP/2. Plaintext HTTP authority is enforced on port 80, but requests matching a transformation rule are rejected unless the rule also forwards. Port 443 is TLS-terminated; both TLS SNI and HTTP authority are evaluated, and the HTTP authority selects the upstream, any request transformations, and any request forwarding. DNS to the sandbox's configured resolvers is allowed and UDP port 443 is denied.","required":["default"],"properties":{"default":{"type":"string","enum":["allow","deny"],"isRequired":true,"uniqueKey":"network.egress.default","typeLabel":"enum\u003cstring>"},"allow":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"network.egress.allow.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","required":["target"],"properties":{"target":{"type":"string","description":"Target allowed by this rule. Effective transformations and forwarding require an exact or wildcard lowercase domain.","isRequired":true,"uniqueKey":"network.egress.allow.items.[INDEX].oneOf.1.target","typeLabel":"string"},"transform":{"type":"object","description":"Optional outbound HTTPS request transformations. An omitted or empty transform leaves the rule as an ordinary allow without request mutations.","additionalProperties":false,"properties":{"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"network.egress.allow.items.[INDEX].oneOf.1.transform.headers.additionalProperties","typeLabel":"string"},"description":"Outbound HTTPS request headers to set, overwriting values supplied by the sandbox.","uniqueKey":"network.egress.allow.items.[INDEX].oneOf.1.transform.headers","typeLabel":"object"}},"uniqueKey":"network.egress.allow.items.[INDEX].oneOf.1.transform","typeLabel":"object"},"forward_url":{"type":"string","format":"uri","description":"Absolute public HTTPS URL that receives this rule's permitted HTTP and HTTPS requests instead of their original upstream. Requires a lowercase domain; IP addresses, credentials, queries, and fragments are rejected. Protected and private destination addresses are blocked. The original path and query are appended to this URL's path prefix. Archil overwrites the archil-forwarded-host, archil-forwarded-scheme, archil-forwarded-port, archil-forwarded-path, and archil-sandbox-id headers with request metadata. A transform on the same rule is applied before forwarding.","uniqueKey":"network.egress.allow.items.[INDEX].oneOf.1.forward_url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"network.egress.allow.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"network.egress.allow.items.[INDEX]","typeLabel":"string | object"},"description":"Allowed IPv4 addresses, CIDR ranges, exact domains, wildcard domains beginning with `*.`, or target objects with optional outbound HTTPS request transformations. A wildcard matches subdomains but not the apex domain, including when applying transformations.","uniqueKey":"network.egress.allow","typeLabel":"(string | object)[]"},"deny":{"type":"array","items":{"type":"string","uniqueKey":"network.egress.deny.items.[INDEX]","typeLabel":"string"},"description":"Denied IPv4 addresses, CIDR ranges, exact domains, or wildcard domains beginning with `*.`. A wildcard matches subdomains but not the apex domain.","uniqueKey":"network.egress.deny","typeLabel":"string[]"},"drain_on_pause":{"type":"array","description":"Optional hosts whose HTTP(S) requests should finish before pausing, regardless of URL path. Pausing gates new matching requests and waits up to ten minutes by default for active responses, including streams, before taking a snapshot. Errors stop counting, and expiry proceeds with the snapshot. This does not limit requests during normal operation. Selectors do not grant network access. Matching uses the original request host before transformations or forwarding. Only TCP ports 80 and 443 are supported. Connections may need to be retried after resume.","items":{"type":"string","description":"Lowercase hostname pattern without a scheme, port, or path. Asterisk matches zero or more characters; *.example.com matches subdomains, not example.com. Use * for every host.","example":"bedrock-runtime.*.amazonaws.com","uniqueKey":"network.egress.drain_on_pause.items.[INDEX]","typeLabel":"string"},"uniqueKey":"network.egress.drain_on_pause","typeLabel":"string[]"}},"uniqueKey":"network.egress","typeLabel":"object"}},"uniqueKey":"network","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"disks":{"data":"dsk-abc123","logs":{"disk":"dsk-def456","subdirectory":"app/logs","readOnly":true}},"command":"ls -la /mnt/archil/data /mnt/archil/logs","baseImage":"python:3.13","imageId":"\u003cstring>","vcpuCount":4,"memSizeMib":8192,"network":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"43dd57aa-71ae-459f-a7b3-ee13cc45beaa":{"description":"Command completed","content":{"application/json":{"schema":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","required":["exitCode","stdout","stderr","timing"],"properties":{"exitCode":{"type":"integer","description":"Exit code of the command (0 = success)","example":0,"isRequired":true,"uniqueKey":"data.exitCode","typeLabel":"integer"},"stdout":{"type":"string","description":"Standard output from the command","isRequired":true,"uniqueKey":"data.stdout","typeLabel":"string"},"stderr":{"type":"string","description":"Standard error from the command","isRequired":true,"uniqueKey":"data.stderr","typeLabel":"string"},"timing":{"type":"object","description":"Server-measured timings for an exec request.","required":["totalMs","queueMs","executeMs"],"properties":{"totalMs":{"type":"integer","description":"End-to-end wall clock measured on the server, from request arrival to response.\n","example":2450,"isRequired":true,"uniqueKey":"data.timing.totalMs","typeLabel":"integer"},"queueMs":{"type":"integer","description":"Time spent queueing, scheduling, booting/claiming a VM, and mounting the filesystem before the command started running.\n","example":150,"isRequired":true,"uniqueKey":"data.timing.queueMs","typeLabel":"integer"},"executeMs":{"type":"integer","description":"Time the user's command itself ran, measured by the runtime.\n","example":2300,"isRequired":true,"uniqueKey":"data.timing.executeMs","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"data.timing","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"exitCode":0,"stdout":"\u003cstring>","stderr":"\u003cstring>","timing":{"totalMs":2450,"queueMs":150,"executeMs":2300}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c73bd362-6798-491d-b1c2-2b1dd0739943":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid request parameters","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"07767b7f-246e-4709-9b1a-5b7d58059ff5":{"description":"Invalid or missing authentication credentials","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid request parameters","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9a0b1605-3123-4b7b-b2d6-b7d4078560fe":{"description":"The request is not allowed on the account's plan. `code` is one of:\n\n- `allowance_exhausted`: the plan has used its serverless tool call\n allowance for the month.\n- `tool_call_size_limit_exceeded`: the exec is larger than the plan\n allows. The Free plan allows only the default size (2 vCPU,\n 4096 MiB).\n- `network_plan_required`: `network` was set on the Free plan.\n","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid request parameters","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"fdae8442-210b-4c1a-b1c0-9b2b9981ac03":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid request parameters","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3356c5c5-a4b2-4b93-aebe-29aa5a49c174":{"description":"The `imageId` image has no finished build yet (`image_not_ready`).","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid request parameters","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b317ca53-cf2b-4672-9550-a01352207332":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid request parameters","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"39bd8cc1-e7c6-4e48-851a-6a3f0df34ba5":{"description":"Command timed out","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Invalid request parameters","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Invalid request parameters","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d4e1daaa-47eb-499e-9fff-d91128fbd239":{"ApiKeyAuth":{"type":"http","scheme":"bearer","description":"Archil API key, including its `key-` prefix","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"b1342687-6cb8-4a7e-8bf7-37e1e6785396":{"url":"https://control.green.us-east-1.aws.prod.archil.com","description":"AWS US East (N. Virginia) — aws-us-east-1"},"ccc4eea5-2d5f-4c21-90b3-49f4e1a5c133":{"url":"https://control.green.eu-west-1.aws.prod.archil.com","description":"AWS EU West (Ireland) — aws-eu-west-1"},"641e25ad-2e75-4766-9aee-dcccff02838a":{"url":"https://control.green.us-west-2.aws.prod.archil.com","description":"AWS US West (Oregon) — aws-us-west-2"},"6f0c44fb-45f8-42a1-b3f2-9c5e38dc6f60":{"url":"https://control.blue.us-central1.gcp.prod.archil.com","description":"GCP US Central (Iowa) — gcp-us-central1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Archil API key, including its `key-` prefix","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Archil API key, including its `key-` prefix","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"regattastorage","siteName":"Archil","title":"Execute Command with Multiple Disks - Archil","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T15:16:17.381Z","originalFileLocation":"api-reference/serverless-execution/exec-multi.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=\"Launches a Firecracker microVM with the supplied set of disks each mounted at its own relative path under /mnt/archil, runs the command to completion, and shuts down the microVM. Activation is atomic: every disk mounts or none of them do. Relative paths must be non-empty, non-absolute, and contain no . / .. segments. Mounting two disks at the same relative path is an error.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Archil\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/regattastorage/2Y7S3E06tG_mFVFw/_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/regattastorage/2Y7S3E06tG_mFVFw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/regattastorage/2Y7S3E06tG_mFVFw/_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/regattastorage/2Y7S3E06tG_mFVFw/_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/regattastorage/2Y7S3E06tG_mFVFw/_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/regattastorage/2Y7S3E06tG_mFVFw/_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/regattastorage/2Y7S3E06tG_mFVFw/_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/regattastorage/2Y7S3E06tG_mFVFw/_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/regattastorage/2Y7S3E06tG_mFVFw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Execute Command with Multiple Disks - Archil\">\u003cmeta data-mint-head property=\"og:description\" content=\"Launches a Firecracker microVM with the supplied set of disks each mounted at its own relative path under /mnt/archil, runs the command to completion, and shuts down the microVM. Activation is atomic: every disk mounts or none of them do. Relative paths must be non-empty, non-absolute, and contain no . / .. segments. Mounting two disks at the same relative path is an error.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Archil\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.archil.com/api-reference/serverless-execution/exec-multi\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://regattastorage.mintlify.site/_mintlify/api/og/v2?division=Serverless+Execution\u0026amp;title=Execute+Command+with+Multiple+Disks\u0026amp;description=Launches+a+Firecracker+microVM+with+the+supplied+set+of+disks+each+mounted%0Aat+its+own+relative+path+under+%60%2Fmnt%2Farchil%60%2C+runs+the+command+to%0Acompletion%2C+and+shu\u0026amp;theme=f9cc175363129fdea211f9f4\u0026amp;signature=19f13707c14d2934d3938270a38e8bfe96bd88ee032807b9ce3e42177be0167c\">\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=\"Execute Command with Multiple Disks - Archil\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Launches a Firecracker microVM with the supplied set of disks each mounted at its own relative path under /mnt/archil, runs the command to completion, and shuts down the microVM. Activation is atomic: every disk mounts or none of them do. Relative paths must be non-empty, non-absolute, and contain no . / .. segments. Mounting two disks at the same relative path is an error.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://regattastorage.mintlify.site/_mintlify/api/og/v2?division=Serverless+Execution\u0026amp;title=Execute+Command+with+Multiple+Disks\u0026amp;description=Launches+a+Firecracker+microVM+with+the+supplied+set+of+disks+each+mounted%0Aat+its+own+relative+path+under+%60%2Fmnt%2Farchil%60%2C+runs+the+command+to%0Acompletion%2C+and+shu\u0026amp;theme=f9cc175363129fdea211f9f4\u0026amp;signature=19f13707c14d2934d3938270a38e8bfe96bd88ee032807b9ce3e42177be0167c\">\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/regattastorage/2Y7S3E06tG_mFVFw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Archil\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#CA5550\">\u003cmeta data-mint-head name=\"msvalidate.01\" content=\"EF0D87C55567AF7517BCE660F6318971\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.archil.com/api-reference/serverless-execution/exec-multi\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/serverless-execution/exec-multi.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.archil.com/#organization\",\"name\":\"Archil\",\"url\":\"https://docs.archil.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/regattastorage/ZgodyIZMQ_rX_qud/logo/archil-black-fullbleed.svg?fit=max\u0026auto=format\u0026n=ZgodyIZMQ_rX_qud\u0026q=85\u0026s=adba0f4983e37336b24452e3ba977724\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.archil.com#website\",\"name\":\"Archil\",\"url\":\"https://docs.archil.com\",\"publisher\":{\"@id\":\"https://docs.archil.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi#webpage\",\"url\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi\",\"name\":\"Execute Command with Multiple Disks\",\"description\":\"Launches a Firecracker microVM with the supplied set of disks each mounted at its own relative path under /mnt/archil, runs the command to completion, and shuts down the microVM. Activation is atomic: every disk mounts or none of them do. Relative paths must be non-empty, non-absolute, and contain no . / .. segments. Mounting two disks at the same relative path is an error.\",\"dateModified\":\"2026-10-22T15:16:17.381Z\",\"isPartOf\":{\"@id\":\"https://docs.archil.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Serverless Execution\",\"item\":\"https://docs.archil.com/api-reference/serverless-execution/exec-disk\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Execute Command with Multiple Disks\",\"item\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi#apireference\",\"headline\":\"Execute Command with Multiple Disks\",\"name\":\"Execute Command with Multiple Disks\",\"description\":\"Launches a Firecracker microVM with the supplied set of disks each mounted at its own relative path under /mnt/archil, runs the command to completion, and shuts down the microVM. Activation is atomic: every disk mounts or none of them do. Relative paths must be non-empty, non-absolute, and contain no . / .. segments. Mounting two disks at the same relative path is an error.\",\"url\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi\",\"mainEntityOfPage\":{\"@id\":\"https://docs.archil.com/api-reference/serverless-execution/exec-multi#webpage\"},\"dateModified\":\"2026-10-22T15:16:17.381Z\",\"publisher\":{\"@id\":\"https://docs.archil.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.archil.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Archil\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Archil\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/serverless-execution/exec-multi.md","siteName":"Archil","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Disks","pages":[{"title":"List Disks","openapi":"GET /api/disks","href":"/api-reference/disks/list-disks"},{"title":"Create Disk","openapi":"POST /api/disks","href":"/api-reference/disks/create-disk"},{"title":"Get Disk","openapi":"GET /api/disks/{id}","href":"/api-reference/disks/get-disk"},{"title":"Delete Disk","openapi":"DELETE /api/disks/{id}","href":"/api-reference/disks/delete-disk"},{"title":"Create Share URL","openapi":"POST /api/disks/{id}/share","href":"/api-reference/disks/create-share-url"},{"title":"Prefetch File Ranges","openapi":"POST /api/disks/{id}/prefetch","href":"/api-reference/disks/prefetch-disk"}]},{"group":"Serverless Execution","pages":[{"title":"Execute Command on Disk","openapi":"POST /api/disks/{id}/exec","description":"Launches a Firecracker microVM with the specified disk mounted, runs the\ngiven command to completion, shuts down the microVM, and returns the\ncommand result.\n","href":"/api-reference/serverless-execution/exec-disk"},{"title":"Execute Command with Multiple Disks","openapi":"POST /api/exec","href":"/api-reference/serverless-execution/exec-multi"},{"title":"Search Files (grep)","sidebarTitle":"Search Files","openapi":"POST /api/disks/{id}/grep","description":"Searches files under a directory on the disk for lines matching a\nregular expression. Listing and matching are fanned out across\nephemeral exec microVMs, so the request finishes within the user's\ntime budget regardless of the size of the directory.\n\nThe user controls search latency and scope with three knobs:\n\n- `maxDurationSeconds` is the wall-clock deadline (capped at 30s).\n- `concurrency` is the maximum number of parallel grep workers.\n Higher concurrency finishes larger datasets within the deadline,\n at proportionally more compute.\n- `maxResults` causes the search to short-circuit after the\n aggregator has collected this many matches.\n\nWith `recursive: false` only files directly under `directory` are\nsearched. With `recursive: true` subdirectories are walked\nbreadth-first and grep workers are dispatched as soon as each level\nfinishes listing — listing and matching overlap.\n\nMatching runs on ripgrep. Narrow the files searched with `globs`,\n`types`, and `typesNot`; change matching with `ignoreCase` and\n`multiline`; and ask for surrounding lines with `contextBefore` and\n`contextAfter`, which adds `groups` to the result.\n\nThe matches returned when stopping early on `maxResults`, or on the\n32 MiB limit on match and context text, are a sample of whichever\nworkers reported first, not the lexicographically first N. The\nresponse surfaces `stoppedReason` so callers can distinguish\ncompletion from early termination.\n","href":"/api-reference/serverless-execution/grep-disk"}]},{"group":"Sandboxes","pages":[{"title":"List Sandboxes","openapi":"GET /api/sandboxes","href":"/api-reference/sandboxes/list-sandboxes"},{"title":"Create Sandbox","openapi":"POST /api/sandboxes","href":"/api-reference/sandboxes/create-sandbox"},{"title":"Get Sandbox","openapi":"GET /api/sandboxes/{sid}","href":"/api-reference/sandboxes/get-sandbox"},{"title":"Get Sandbox Usage","openapi":"GET /api/sandboxes/{sid}/usage","href":"/api-reference/sandboxes/get-sandbox-usage"},{"title":"Delete Sandbox","openapi":"DELETE /api/sandboxes/{sid}","href":"/api-reference/sandboxes/delete-sandbox"},{"title":"Create Sandbox Connection","openapi":"POST /api/sandboxes/{sid}/connections","href":"/api-reference/sandboxes/create-sandbox-connection"},{"title":"Set Sandbox Timeouts","openapi":"POST /api/sandboxes/{sid}/timeout","href":"/api-reference/sandboxes/set-sandbox-timeout"},{"title":"List Sandbox Ports","openapi":"GET /api/sandboxes/{sid}/ports","href":"/api-reference/sandboxes/list-sandbox-ports"},{"title":"Expose Sandbox Port","openapi":"PUT /api/sandboxes/{sid}/ports/{port}","href":"/api-reference/sandboxes/expose-sandbox-port"},{"title":"Unexpose Sandbox Port","openapi":"DELETE /api/sandboxes/{sid}/ports/{port}","href":"/api-reference/sandboxes/unexpose-sandbox-port"},{"title":"List Sandbox Port Tokens","openapi":"GET /api/sandboxes/{sid}/port-tokens","href":"/api-reference/sandboxes/list-sandbox-port-tokens"},{"title":"Create Sandbox Port Token","openapi":"POST /api/sandboxes/{sid}/port-tokens","href":"/api-reference/sandboxes/create-sandbox-port-token"},{"title":"Get Sandbox Port Token","openapi":"GET /api/sandboxes/{sid}/port-tokens/{token_id}","href":"/api-reference/sandboxes/get-sandbox-port-token"},{"title":"Delete Sandbox Port Token","openapi":"DELETE /api/sandboxes/{sid}/port-tokens/{token_id}","href":"/api-reference/sandboxes/delete-sandbox-port-token"},{"title":"Get Sandbox Network","openapi":"GET /api/sandboxes/{sid}/network","href":"/api-reference/sandboxes/get-sandbox-network"},{"title":"Update Sandbox Network","openapi":"PUT /api/sandboxes/{sid}/network","href":"/api-reference/sandboxes/update-sandbox-network"},{"title":"Pause Sandbox","openapi":"POST /api/sandboxes/{sid}/pause","href":"/api-reference/sandboxes/pause-sandbox"},{"title":"Fork Sandbox","openapi":"POST /api/sandboxes/{sid}/fork","href":"/api-reference/sandboxes/fork-sandbox"},{"title":"Resume Sandbox","openapi":"POST /api/sandboxes/{sid}/resume","href":"/api-reference/sandboxes/resume-sandbox"},{"title":"Start Sandbox","openapi":"POST /api/sandboxes/{sid}/start","href":"/api-reference/sandboxes/start-sandbox"},{"title":"Stop Sandbox","openapi":"POST /api/sandboxes/{sid}/stop","href":"/api-reference/sandboxes/stop-sandbox"},{"title":"Build Image","openapi":"POST /api/images","href":"/api-reference/images/build-image"},{"title":"Get Image","openapi":"GET /api/images/{image_id}","href":"/api-reference/images/get-image"}]},{"group":"Disk Users","pages":[{"title":"Add Disk User","openapi":"POST /api/disks/{id}/users","href":"/api-reference/disk-users/add-user"},{"title":"Remove Disk User","openapi":"DELETE /api/disks/{id}/users/{userType}","href":"/api-reference/disk-users/remove-user"}]},{"group":"API Tokens","pages":[{"title":"List API Tokens","openapi":"GET /api/tokens","href":"/api-reference/tokens/list-tokens"},{"title":"Create API Token","openapi":"POST /api/tokens","href":"/api-reference/tokens/create-token"},{"title":"Delete API Token","openapi":"DELETE /api/tokens/{id}","href":"/api-reference/tokens/delete-token"}]},{"group":"Billing","pages":[{"title":"Get Subscription","openapi":"GET /api/billing/subscription","href":"/api-reference/billing/get-subscription"},{"title":"Get Usage","openapi":"GET /api/billing/usage","href":"/api-reference/billing/get-usage"},{"title":"Get Summary","openapi":"GET /api/billing/summary","href":"/api-reference/billing/get-summary"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/agents/coding-agent"}]}]},"basePath":"","title":"Execute Command with Multiple Disks - Archil","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-BIYvYBgk.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}