Preview, OneCLI Cloud only. onecli demo run calls it. At most 30 calls a minute. See Demo sandbox.Runs one shell command in your own demo sandbox and returns its output. It is stopped after 45 seconds. Each of stdout and stderr is cut at 64 KB. 30 calls a minute.
Availability: OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers 404 with error.code: "not_found".Who can call: Any member of the organization, with a managing key (oc_key_...) that has the manage permission, or a signed-in session.
Authorizations
Authorization
string
header
required
A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.
Headers
Idempotency-Key
string
Not accepted on this call. Sending it is 400 bad_request.
Required string length: 1 - 255
Body
application/json
command
string
required
One shell command, 1 to 4000 characters.
Required string length: 1 - 4000
Example:
"curl -s https://httpbin.org/bearer"
Response
What the command answered.
exitCode
integer
required
The command's exit code. 124: it was stopped after 45 seconds.
stderr
string
required
stdout
string
required
truncated
boolean
required
true: stdout or stderr was cut at 64 KB.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneCLI","description":"OneCLI gives AI agents access to apps and API keys without handing them the secrets. Agents call APIs through the OneCLI gateway, which adds the credential on the way out, under permissions a person sets.","colors":{"primary":"#0b5530","light":"#93e3b4","dark":"#0b5530"},"logo":{"light":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=9323ee06c8de13b4c5507ab8a6fbf2ac","dark":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-dark.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=c1445d56197cd9e03742ea6ea73a5f52","href":"/"},"favicon":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/favicon.png?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=2a0cc29d0e8c090395c4e10e9f327b62","appearance":{"default":"light"},"background":{"color":{"light":"#ebe6d4","dark":"#083f23"}},"navbar":{"links":[{"href":"https://github.com/onecli/onecli","label":"GitHub"},{"href":"/quickstart","label":"Get started"}]},"footer":{"socials":{"github":"https://github.com/onecli"}},"fonts":{"heading":{"family":"Overused Grotesk","weight":600,"source":"fonts/OverusedGroteskRoman-VF.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode","add-mcp","download-spec"],"display":"header"},"markdown":{"instructions":["Setting OneCLI up for your person? Follow https://onecli.sh/docs/quickstart.md. Never ask for or accept a key, token or password in the chat: OneCLI needs none.","No OneCLI credential? Run `onecli connect`, or follow https://onecli.sh/auth.md. A person approves every new agent in their browser.","Already connected? `onecli status`, `onecli items` and `onecli check \u003cMETHOD> \u003cURL>` tell you what you can use. Full guide: https://onecli.sh/skill.md","Search these docs over MCP at https://onecli.sh/docs/mcp. Report a wrong or unclear page with its `submit_feedback` tool."]},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-sh-docs/images/github.svg","href":"https://github.com/onecli"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onecli-sh-docs","hasAudioNarration":false,"actualSubdomain":"onecli-sh-docs","customDomains":["onecli.sh"],"gitSource":{"type":"github","owner":"onecli","repo":"onecli-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6afb23636b0360be0a1911b0"},"entitlements":{},"buildId":"6b11c34d2cce98e8fde6b772","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API reference","count":158},{"language":"default","tag":"Integrations","count":87},{"language":"default","tag":"OneCLI Cloud","count":69},{"language":"default","tag":"Docs","count":36},{"language":"default","tag":"Organization","count":31},{"language":"default","tag":"Vaults and items","count":30},{"language":"default","tag":"Agents","count":23},{"language":"default","tag":"Google Workspace","count":19},{"language":"default","tag":"Self-hosting","count":16},{"language":"default","tag":"Approvals, rules and activity","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a.nav-anchor div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;transition:opacity 0.15s ease!important}a.nav-anchor:hover div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;opacity:0.7!important}a.nav-anchor div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}a.nav-anchor:hover div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}.dark a.nav-anchor div.mr-4.rounded-md img,[data-theme=\"dark\"] a.nav-anchor div.mr-4.rounded-md img{filter:invert(1)!important}html:not(.dark) .card,html:not(.dark) .code-block [data-component-part=\"code-block-root\"],html:not(.dark) .callout{background-color:#f3efe1!important}html:not(.dark) .card,html:not(.dark) .code-block{border-color:#cbc3a8!important}[data-component-part=\"step-indicator\"]{border-radius:2px!important;width:1.5rem!important;height:1.5rem!important;margin:0.125rem!important;font-weight:600!important}html:not(.dark) [data-component-part=\"step-indicator\"]{background-color:#f3efe1!important;border:1px solid #cbc3a8!important;color:#0b5530!important}.dark [data-component-part=\"step-indicator\"]{border:1px solid rgba(255, 255, 255, 0.16)!important}[data-component-part=\"step-indicator\"]>div{background-color:transparent!important;color:inherit!important}html:not(.dark) .code-block .code-block-fade-overlay{background-image:linear-gradient(\n to right,\n rgba(243, 239, 225, 0) 0,\n rgba(243, 239, 225, 0.5) 25px,\n #f3efe1 45px\n )!important}#theme-preference-menu-item-system,[data-theme-preference=\"system\"]{display:none!important}[class*=\"rounded-sm\"],[class*=\"rounded-md\"],[class*=\"rounded-lg\"],[class*=\"rounded-xl\"],[class*=\"rounded-2xl\"],[class*=\"rounded-3xl\"],[class*=\"rounded-[\"],.code-block,.code-block *:not([class*=\"rounded-full\"]),.card,.callout,.frame,[data-component-part=\"frame\"],pre,code,kbd,table,img:not([class*=\"rounded-full\"]),video,iframe{border-radius:2px!important}[class*=\"rounded-l-\"]{border-radius:2px 0 0 2px!important}[class*=\"rounded-r-\"]{border-radius:0 2px 2px 0!important}[class*=\"rounded-t-\"]{border-radius:2px 2px 0 0!important}[class*=\"rounded-b-\"]{border-radius:0 0 2px 2px!important}[class*=\"rounded-full\"]{border-radius:9999px!important}[data-component-part=\"step-indicator\"]{border-radius:2px!important}"}]}
{"page":{"pagePath":"api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox","slug":"/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox","pageMetadata":{"title":"Run a command in your demo sandbox","description":"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Run a command in your demo sandbox","openapi":"/openapi.yaml post /v2/demo-sandbox/exec","href":"/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox","autogeneratedByOpenApi":true},"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: \"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.\"\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`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Preview, OneCLI Cloud only. `,_jsx(_components.code,{children:`onecli demo run`}),` calls it. At most 30 calls a minute. See `,_jsx(_components.a,{href:`/guides/demo-sandbox`,children:`Demo sandbox`}),`.`]}),`\n`,_jsx(_components.p,{children:`Runs one shell command in your own demo sandbox and returns its output. It is stopped after 45 seconds. Each of stdout and stderr is cut at 64 KB. 30 calls a minute.`}),`\n`,_jsxs(Info,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Availability:`}),` OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers `,_jsx(_components.code,{children:`404`}),` with `,_jsx(_components.code,{children:`error.code: \"not_found\"`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Who can call:`}),` Any member of the organization, with a managing key (`,_jsx(_components.code,{children:`oc_key_...`}),`) that has the `,_jsx(_components.code,{children:`manage`}),` permission, or a signed-in session.`]})]})]})}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":"Run a command in your demo sandbox","description":"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Run a command in your demo sandbox","openapi":"/openapi.yaml post /v2/demo-sandbox/exec","href":"/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"postDemoSandboxExec","summary":"Run a command in your demo sandbox","tags":["Demo sandbox"],"x-mint":{"metadata":{"tag":"Cloud","title":"Run a command in your demo sandbox","sidebarTitle":"Run a command in your demo sandbox","description":"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB."},"content":"Preview, OneCLI Cloud only. `onecli demo run` calls it. At most 30 calls a minute. See [Demo sandbox](/guides/demo-sandbox).\n\nRuns one shell command in your own demo sandbox and returns its output. It is stopped after 45 seconds. Each of stdout and stderr is cut at 64 KB. 30 calls a minute.\n\n\u003cInfo>\n**Availability:** OneCLI Cloud only. A self-hosted deployment does not serve this endpoint and answers `404` with `error.code: \"not_found\"`.\n\n**Who can call:** Any member of the organization, with a managing key (`oc_key_...`) that has the `manage` permission, or a signed-in session.\n\u003c/Info>\n"},"description":"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.","parameters":["fa30e7f0-21ca-4ed1-9e33-7928eb592a8e"],"requestBody":"39eaf677-f0fe-452e-98e6-b9b012f3ab2c","responses":{"200":"64d0f7c9-4cea-4f78-b6a3-70f0cb7d5523","400":"299da358-d8b0-48bf-bc7e-b589b3d97c15","401":"10af12bb-2f0f-4968-a3b3-8686b787cfac","403":"6da60ee5-b554-4b78-846e-89f885c9769a","404":"c241773a-3e98-439e-a77c-78aa5768b9a0","422":"ca18f5d9-0bbd-4b93-ac35-9afab85d088c","429":"d3f344cf-a91f-41b5-8003-9c1a147d25d1","500":"148b8fae-648f-4129-80e0-43622e31c270","503":"42d23a20-6d7e-41aa-b039-4fec977d6f20"},"security":["cf8f020b-dd49-483b-8088-c8b74bf41b98"],"x-onecli-access":{"credentials":["key","session"],"keyPermission":"manage","role":"member"},"method":"post","type":"path","servers":["c523332c-8f75-4cf1-8850-15831b6c34d5","d303e1ae-3b44-4518-bbd1-33366049ac28"],"path":"/v2/demo-sandbox/exec","baseUrlOptions":["https://api.onecli.sh","http://localhost:10256"],"title":"Run a command in your demo sandbox","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fa30e7f0-21ca-4ed1-9e33-7928eb592a8e":{"description":"Not accepted on this call. Sending it is 400 bad_request.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string","isRequired":false,"description":"Not accepted on this call. Sending it is 400 bad_request.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"command":{"description":"One shell command, 1 to 4000 characters.","example":"curl -s https://httpbin.org/bearer","maxLength":4000,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"command","typeLabel":"string"}},"required":["command"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"command":"curl -s https://httpbin.org/bearer"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"64d0f7c9-4cea-4f78-b6a3-70f0cb7d5523":{"content":{"application/json":{"schema":{"properties":{"exitCode":{"description":"The command's exit code. 124: it was stopped after 45 seconds.","type":"integer","isRequired":true,"uniqueKey":"exitCode","typeLabel":"integer"},"stderr":{"type":"string","isRequired":true,"uniqueKey":"stderr","typeLabel":"string"},"stdout":{"type":"string","isRequired":true,"uniqueKey":"stdout","typeLabel":"string"},"truncated":{"description":"true: stdout or stderr was cut at 64 KB.","type":"boolean","isRequired":true,"uniqueKey":"truncated","typeLabel":"boolean"}},"required":["exitCode","stdout","stderr","truncated"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"exitCode":123,"stderr":"\u003cstring>","stdout":"\u003cstring>","truncated":true}}},"exampleType":"generated"}},"description":"What the command answered.","exampleType":"generated"},"299da358-d8b0-48bf-bc7e-b589b3d97c15":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Bad request.","exampleType":"generated"},"10af12bb-2f0f-4968-a3b3-8686b787cfac":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Not signed in.","exampleType":"generated"},"6da60ee5-b554-4b78-846e-89f885c9769a":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Not allowed.","exampleType":"generated"},"c241773a-3e98-439e-a77c-78aa5768b9a0":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"You have no demo sandbox running.","exampleType":"generated"},"ca18f5d9-0bbd-4b93-ac35-9afab85d088c":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Validation failed.","exampleType":"generated"},"d3f344cf-a91f-41b5-8003-9c1a147d25d1":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Too many commands. Wait a minute.","exampleType":"generated"},"148b8fae-648f-4129-80e0-43622e31c270":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Unexpected error.","exampleType":"generated"},"42d23a20-6d7e-41aa-b039-4fec977d6f20":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["bad_request","validation_failed","unauthenticated","forbidden","not_found","conflict","gone","idempotency_conflict","precondition_required","rate_limited","authorization_pending","slow_down","access_denied","expired_token","internal","unavailable"],"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"details":{"items":{"properties":{"field":{"description":"Where the problem is.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"description":"What kind of problem.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"},"message":{"description":"The problem in words.","type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","issue","message"],"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"oneOf":[{"description":"The X-Request-Id of this call, to quote when asking.","type":"string","isRequired":true,"uniqueKey":"error.requestId.oneOf.0","typeLabel":"string"},{"description":"The X-Request-Id of this call, to quote when asking.","type":"null","isRequired":true,"uniqueKey":"error.requestId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string | null"},"docUrl":{"description":"A page that says what to do next. On a 401: how an agent gets a credential.","type":"string","uniqueKey":"error.docUrl","typeLabel":"string"}},"required":["code","message","details","requestId"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","details":[{"field":"\u003cstring>","issue":"\u003cstring>","message":"\u003cstring>"}],"message":"\u003cstring>","requestId":"\u003cstring>","docUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"No result. details[0].issue says why: demo_sandbox_provider (the sandbox did not answer, and the command may have run) or demo_sandbox_not_configured (this server offers no demo sandbox now).","exampleType":"generated"}},"security":{"cf8f020b-dd49-483b-8088-c8b74bf41b98":{"userBearer":{"description":"A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.","scheme":"bearer","type":"http","scopes":[],"schemeName":"userBearer"}}},"servers":{"c523332c-8f75-4cf1-8850-15831b6c34d5":{"url":"https://api.onecli.sh","description":"OneCLI Cloud"},"d303e1ae-3b44-4518-bbd1-33366049ac28":{"url":"http://localhost:10256","description":"Self-hosted"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.","scheme":"bearer","type":"http","scopes":[],"schemeName":"userBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"userBearer","name":"Authorization"}],"title":"userBearer"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"onecli-sh-docs","siteName":"OneCLI","title":"Run a command in your demo sandbox - OneCLI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-03T15:23:05.356Z","originalFileLocation":"api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox.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=\"light\"}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=\"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_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=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run a command in your demo sandbox - OneCLI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneCLI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onecli-sh-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Demo+sandbox\u0026amp;title=Run+a+command+in+your+demo+sandbox\u0026amp;description=Runs+one+shell+command+in+your+demo+sandbox+and+returns+its+output.+Stopped+after+45+seconds%2C+output+cut+at+64+KB.\u0026amp;theme=c07fb6f5c2da82bc69807d12\u0026amp;signature=c801cef5366662c3aa61275883c5cde97fd6213287f259f0665c43636802a563\">\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=\"Run a command in your demo sandbox - OneCLI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onecli-sh-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Demo+sandbox\u0026amp;title=Run+a+command+in+your+demo+sandbox\u0026amp;description=Runs+one+shell+command+in+your+demo+sandbox+and+returns+its+output.+Stopped+after+45+seconds%2C+output+cut+at+64+KB.\u0026amp;theme=c07fb6f5c2da82bc69807d12\u0026amp;signature=c801cef5366662c3aa61275883c5cde97fd6213287f259f0665c43636802a563\">\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=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0b5530\">\u003clink data-mint-head rel=\"canonical\" href=\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://onecli.sh/#organization\",\"name\":\"OneCLI\",\"url\":\"https://onecli.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=9323ee06c8de13b4c5507ab8a6fbf2ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://onecli.sh/docs#website\",\"name\":\"OneCLI\",\"url\":\"https://onecli.sh/docs\",\"publisher\":{\"@id\":\"https://onecli.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox#webpage\",\"url\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox\",\"name\":\"Run a command in your demo sandbox\",\"description\":\"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.\",\"dateModified\":\"2026-12-03T15:23:05.356Z\",\"isPartOf\":{\"@id\":\"https://onecli.sh/docs#website\"},\"breadcrumb\":{\"@id\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OneCLI Cloud\",\"item\":\"https://onecli.sh/docs/api-reference/members/list-members\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Demo sandbox\",\"item\":\"https://onecli.sh/docs/api-reference/demo-sandbox\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Run a command in your demo sandbox\",\"item\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox#apireference\",\"headline\":\"Run a command in your demo sandbox\",\"name\":\"Run a command in your demo sandbox\",\"description\":\"Runs one shell command in your demo sandbox and returns its output. Stopped after 45 seconds, output cut at 64 KB.\",\"url\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox\",\"mainEntityOfPage\":{\"@id\":\"https://onecli.sh/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox#webpage\"},\"dateModified\":\"2026-12-03T15:23:05.356Z\",\"publisher\":{\"@id\":\"https://onecli.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://onecli.sh/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneCLI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OneCLI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox.md","siteName":"OneCLI","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-sh-docs/images/github.svg","href":"https://github.com/onecli"}]},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Self-hosting","pages":[{"title":"Self-hosting","href":"/self-hosting/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","root":{"title":"API Reference: Authentication, Paging and Errors","sidebarTitle":"Overview","href":"/api-reference"},"pages":[{"title":"Authentication and keys","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Editions: Cloud and Self-hosted Endpoints","sidebarTitle":"Editions","href":"/api-reference/editions"},{"title":"API Errors: Codes, Statuses and the Error Format","sidebarTitle":"Errors","href":"/api-reference/errors"},{"title":"Gateway Errors: When a Call Is Refused or Held","sidebarTitle":"Gateway errors","href":"/api-reference/gateway-errors"},{"title":"Multiple Accounts: Choosing Which Item Serves a Call","sidebarTitle":"Multiple accounts","href":"/api-reference/multi-account"}]},{"group":"Agents","pages":[{"group":"Agent sign-ups","root":{"title":"Agent Sign-ups API: Let an Agent Ask to Connect","sidebarTitle":"Overview","href":"/api-reference/agent-sign-ups"},"pages":[{"title":"Start an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Start an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups","href":"/api-reference/agent-sign-ups/start-an-agent-sign-up"},{"title":"Look up an agent sign-up by its code","deprecated":null,"version":null,"sidebarTitle":"Look up an agent sign-up by its code","openapi":"/openapi.yaml post /v2/agent-signups/verify","href":"/api-reference/agent-sign-ups/look-up-an-agent-sign-up-by-its-code"},{"title":"Approve an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Approve an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/approve","href":"/api-reference/agent-sign-ups/approve-an-agent-sign-up"},{"title":"Deny an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Deny an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/deny","href":"/api-reference/agent-sign-ups/deny-an-agent-sign-up"},{"title":"Poll an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Poll an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/token","href":"/api-reference/agent-sign-ups/poll-an-agent-sign-up"}]},{"group":"Agent self-service","root":{"title":"Agent Self-service API: What an Agent Can Read","sidebarTitle":"Overview","href":"/api-reference/agent-self-service"},"pages":[{"title":"The OneCLI skill for agents","deprecated":null,"version":null,"sidebarTitle":"The OneCLI skill for agents","openapi":"/openapi.yaml get /v2/skill","href":"/api-reference/agent-self-service/the-onecli-skill-for-agents"},{"title":"Read who you are, as an agent","deprecated":null,"version":null,"sidebarTitle":"Read who you are, as an agent","openapi":"/openapi.yaml get /v2/agents/me","href":"/api-reference/agent-self-service/read-who-you-are-as-an-agent"},{"title":"Ask what would happen to a call, as an agent","deprecated":null,"version":null,"sidebarTitle":"Ask what would happen to a call, as an agent","openapi":"/openapi.yaml post /v2/agents/me/check","href":"/api-reference/agent-self-service/ask-what-would-happen-to-a-call-as-an-agent"},{"title":"List what you can use, as an agent","deprecated":null,"version":null,"sidebarTitle":"List what you can use, as an agent","openapi":"/openapi.yaml get /v2/agents/me/items","href":"/api-reference/agent-self-service/list-what-you-can-use-as-an-agent"}]},{"group":"Agents","root":{"title":"Agents API: Connect, List, Rename and Disconnect","sidebarTitle":"Overview","href":"/api-reference/agents"},"pages":[{"title":"List agents","deprecated":null,"version":null,"sidebarTitle":"List agents","openapi":"/openapi.yaml get /v2/agents","href":"/api-reference/agents/list-agents"},{"title":"Connect an agent","deprecated":null,"version":null,"sidebarTitle":"Connect an agent","openapi":"/openapi.yaml post /v2/agents","href":"/api-reference/agents/connect-an-agent"},{"title":"Read an agent","deprecated":null,"version":null,"sidebarTitle":"Read an agent","openapi":"/openapi.yaml get /v2/agents/{id}","href":"/api-reference/agents/read-an-agent"},{"title":"Rename an agent","deprecated":null,"version":null,"sidebarTitle":"Rename an agent","openapi":"/openapi.yaml patch /v2/agents/{id}","href":"/api-reference/agents/rename-an-agent"},{"title":"Disconnect an agent","deprecated":null,"version":null,"sidebarTitle":"Disconnect an agent","openapi":"/openapi.yaml delete /v2/agents/{id}","href":"/api-reference/agents/disconnect-an-agent"}]}]},{"group":"Vaults and items","pages":[{"group":"Vaults","root":{"title":"Vaults API: List, Create, Rename and Delete Vaults","sidebarTitle":"Overview","href":"/api-reference/vaults"},"pages":[{"title":"List vaults","deprecated":null,"version":null,"sidebarTitle":"List vaults","openapi":"/openapi.yaml get /v2/vaults","href":"/api-reference/vaults/list-vaults"},{"title":"Make a vault","deprecated":null,"version":null,"sidebarTitle":"Make a vault","openapi":"/openapi.yaml post /v2/vaults","href":"/api-reference/vaults/make-a-vault"},{"title":"Read a vault","deprecated":null,"version":null,"sidebarTitle":"Read a vault","openapi":"/openapi.yaml get /v2/vaults/{id}","href":"/api-reference/vaults/read-a-vault"},{"title":"Rename a vault","deprecated":null,"version":null,"sidebarTitle":"Rename a vault","openapi":"/openapi.yaml patch /v2/vaults/{id}","href":"/api-reference/vaults/rename-a-vault"},{"title":"Delete a vault","deprecated":null,"version":null,"sidebarTitle":"Delete a vault","openapi":"/openapi.yaml delete /v2/vaults/{id}","href":"/api-reference/vaults/delete-a-vault"},{"title":"List a vault's sources","deprecated":null,"version":null,"sidebarTitle":"List a vault's sources","openapi":"/openapi.yaml get /v2/vaults/{id}/sources","href":"/api-reference/vaults/list-a-vaults-sources"},{"title":"Set a vault's image","deprecated":null,"version":null,"sidebarTitle":"Set a vault's image","openapi":"/openapi.yaml put /v2/vaults/{id}/logo","href":"/api-reference/vaults/set-a-vaults-image"},{"title":"Remove a vault's image","deprecated":null,"version":null,"sidebarTitle":"Remove a vault's image","openapi":"/openapi.yaml delete /v2/vaults/{id}/logo","href":"/api-reference/vaults/remove-a-vaults-image"},{"title":"Read a vault's image","deprecated":null,"version":null,"sidebarTitle":"Read a vault's image","openapi":"/openapi.yaml get /v2/vault-logos/{vaultId}/{key}","href":"/api-reference/vaults/read-a-vaults-image"}]},{"group":"Items","root":{"title":"Items API: Add, Rotate, Move and Delete Keys","sidebarTitle":"Overview","href":"/api-reference/items"},"pages":[{"title":"List a vault's items","deprecated":null,"version":null,"sidebarTitle":"List a vault's items","openapi":"/openapi.yaml get /v2/vaults/{id}/items","href":"/api-reference/items/list-a-vaults-items"},{"title":"Add a key to a vault","deprecated":null,"version":null,"sidebarTitle":"Add a key to a vault","openapi":"/openapi.yaml post /v2/vaults/{id}/items","href":"/api-reference/items/add-a-key-to-a-vault"},{"title":"Read an item","deprecated":null,"version":null,"sidebarTitle":"Read an item","openapi":"/openapi.yaml get /v2/items/{id}","href":"/api-reference/items/read-an-item"},{"title":"Rename, move, turn off, or set plain http for an item","deprecated":null,"version":null,"sidebarTitle":"Rename, move, turn off, or set plain http for an item","openapi":"/openapi.yaml patch /v2/items/{id}","href":"/api-reference/items/rename-move-turn-off-or-set-plain-http-for-an-item"},{"title":"Delete an item","deprecated":null,"version":null,"sidebarTitle":"Delete an item","openapi":"/openapi.yaml delete /v2/items/{id}","href":"/api-reference/items/delete-an-item"},{"title":"Replace a key's value","deprecated":null,"version":null,"sidebarTitle":"Replace a key's value","openapi":"/openapi.yaml put /v2/items/{id}/value","href":"/api-reference/items/replace-a-keys-value"},{"title":"List a key's versions","deprecated":null,"version":null,"sidebarTitle":"List a key's versions","openapi":"/openapi.yaml get /v2/items/{id}/versions","href":"/api-reference/items/list-a-keys-versions"},{"title":"Put an earlier version back","deprecated":null,"version":null,"sidebarTitle":"Put an earlier version back","openapi":"/openapi.yaml post /v2/items/{id}/versions/{version}/restore","href":"/api-reference/items/put-an-earlier-version-back"},{"title":"Restore a deleted item","deprecated":null,"version":null,"sidebarTitle":"Restore a deleted item","openapi":"/openapi.yaml post /v2/items/{id}/restore","href":"/api-reference/items/restore-a-deleted-item"}]},{"group":"Permissions","root":{"title":"Permissions API: Set What Agents May Do With an Item","sidebarTitle":"Overview","href":"/api-reference/permissions"},"pages":[{"title":"Read what agents may do with an item","deprecated":null,"version":null,"sidebarTitle":"Read what agents may do with an item","openapi":"/openapi.yaml get /v2/items/{id}/permissions","href":"/api-reference/permissions/read-what-agents-may-do-with-an-item"},{"title":"Set what agents may do with an item","deprecated":null,"version":null,"sidebarTitle":"Set what agents may do with an item","openapi":"/openapi.yaml put /v2/items/{id}/permissions","href":"/api-reference/permissions/set-what-agents-may-do-with-an-item"}]},{"group":"Connect tokens","root":{"title":"Connect Tokens API: Tokens That Connect Agents","sidebarTitle":"Overview","href":"/api-reference/connect-tokens"},"pages":[{"title":"Read a vault's connect token","deprecated":null,"version":null,"sidebarTitle":"Read a vault's connect token","openapi":"/openapi.yaml get /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/read-a-vaults-connect-token"},{"title":"Make a vault's connect token","deprecated":null,"version":null,"sidebarTitle":"Make a vault's connect token","openapi":"/openapi.yaml post /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/make-a-vaults-connect-token"},{"title":"Turn a vault's connect token off","deprecated":null,"version":null,"sidebarTitle":"Turn a vault's connect token off","openapi":"/openapi.yaml delete /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/turn-a-vaults-connect-token-off"},{"title":"List a vault's one-use connect tokens","deprecated":null,"version":null,"sidebarTitle":"List a vault's one-use connect tokens","openapi":"/openapi.yaml get /v2/vaults/{id}/connect-tokens","href":"/api-reference/connect-tokens/list-a-vaults-one-use-connect-tokens"},{"title":"Make a one-use connect token","deprecated":null,"version":null,"sidebarTitle":"Make a one-use connect token","openapi":"/openapi.yaml post /v2/vaults/{id}/connect-tokens","href":"/api-reference/connect-tokens/make-a-one-use-connect-token"},{"title":"Turn a one-use connect token off","deprecated":null,"version":null,"sidebarTitle":"Turn a one-use connect token off","openapi":"/openapi.yaml delete /v2/vaults/{id}/connect-tokens/{tokenId}","href":"/api-reference/connect-tokens/turn-a-one-use-connect-token-off"}]}]},{"group":"Approvals, rules and activity","pages":[{"group":"Approvals","root":{"title":"Approvals API: List and Answer Held Requests","sidebarTitle":"Overview","href":"/api-reference/approvals"},"pages":[{"title":"List waiting requests","deprecated":null,"version":null,"sidebarTitle":"List waiting requests","openapi":"/openapi.yaml get /v2/approvals","href":"/api-reference/approvals/list-waiting-requests"},{"title":"Answer a waiting request","deprecated":null,"version":null,"sidebarTitle":"Answer a waiting request","openapi":"/openapi.yaml patch /v2/approvals/{id}","href":"/api-reference/approvals/answer-a-waiting-request"}]},{"group":"Rules","root":{"title":"Rules API: Organization-Wide Block and Approval Rules","sidebarTitle":"Overview","href":"/api-reference/rules"},"pages":[{"title":"List the organization's rules","deprecated":null,"version":null,"sidebarTitle":"List the organization's rules","openapi":"/openapi.yaml get /v2/org/rules","href":"/api-reference/rules/list-the-organizations-rules"},{"title":"Make an organization rule","deprecated":null,"version":null,"sidebarTitle":"Make an organization rule","openapi":"/openapi.yaml post /v2/org/rules","href":"/api-reference/rules/make-an-organization-rule"},{"title":"Read an organization rule","deprecated":null,"version":null,"sidebarTitle":"Read an organization rule","openapi":"/openapi.yaml get /v2/org/rules/{id}","href":"/api-reference/rules/read-an-organization-rule"},{"title":"Change an organization rule","deprecated":null,"version":null,"sidebarTitle":"Change an organization rule","openapi":"/openapi.yaml patch /v2/org/rules/{id}","href":"/api-reference/rules/change-an-organization-rule"},{"title":"Remove an organization rule","deprecated":null,"version":null,"sidebarTitle":"Remove an organization rule","openapi":"/openapi.yaml delete /v2/org/rules/{id}","href":"/api-reference/rules/remove-an-organization-rule"}]},{"group":"Activity","root":{"title":"Activity API: Request Log, Usage Counts and Audit Log","sidebarTitle":"Overview","href":"/api-reference/activity"},"pages":[{"title":"List activity","deprecated":null,"version":null,"sidebarTitle":"List activity","openapi":"/openapi.yaml get /v2/activity","href":"/api-reference/activity/list-activity"},{"title":"Read usage","deprecated":null,"version":null,"sidebarTitle":"Read usage","openapi":"/openapi.yaml get /v2/usage","href":"/api-reference/activity/read-usage"},{"title":"Read counts","deprecated":null,"version":null,"sidebarTitle":"Read counts","openapi":"/openapi.yaml get /v2/counts","href":"/api-reference/activity/read-counts"},{"title":"Read the audit log","deprecated":null,"version":null,"sidebarTitle":"Read the audit log","openapi":"/openapi.yaml get /v2/audit","href":"/api-reference/activity/read-the-audit-log"}]}]},{"group":"Organization","pages":[{"group":"Apps","root":{"title":"Apps API: Connectable Apps and Your Own OAuth Apps","sidebarTitle":"Overview","href":"/api-reference/apps"},"pages":[{"title":"List the apps that can be connected","deprecated":null,"version":null,"sidebarTitle":"List the apps that can be connected","openapi":"/openapi.yaml get /v2/apps","href":"/api-reference/apps/list-the-apps-that-can-be-connected"},{"title":"List the apps that take the organization's own OAuth app","deprecated":null,"version":null,"sidebarTitle":"List the apps that take an OAuth app of the organization's own","openapi":"/openapi.yaml get /v2/org/apps","href":"/api-reference/apps/list-the-apps-that-take-an-oauth-app-of-the-organizations-own"},{"title":"Read the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Read the organization's own app","openapi":"/openapi.yaml get /v2/org/apps/{provider}","href":"/api-reference/apps/read-the-organizations-own-app"},{"title":"Save the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Save the organization's own app","openapi":"/openapi.yaml put /v2/org/apps/{provider}","href":"/api-reference/apps/save-the-organizations-own-app"},{"title":"Remove the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Remove the organization's own app","openapi":"/openapi.yaml delete /v2/org/apps/{provider}","href":"/api-reference/apps/remove-the-organizations-own-app"}]},{"group":"API keys","root":{"title":"API Keys API: Make, List and Revoke Managing Keys","sidebarTitle":"Overview","href":"/api-reference/api-keys"},"pages":[{"title":"List your keys","deprecated":null,"version":null,"sidebarTitle":"List your keys","openapi":"/openapi.yaml get /v2/keys","href":"/api-reference/api-keys/list-your-keys"},{"title":"Make a key","deprecated":null,"version":null,"sidebarTitle":"Make a key","openapi":"/openapi.yaml post /v2/keys","href":"/api-reference/api-keys/make-a-key"},{"title":"Read one of your keys","deprecated":null,"version":null,"sidebarTitle":"Read one of your keys","openapi":"/openapi.yaml get /v2/keys/{id}","href":"/api-reference/api-keys/read-one-of-your-keys"},{"title":"Revoke one of your keys","deprecated":null,"version":null,"sidebarTitle":"Revoke one of your keys","openapi":"/openapi.yaml delete /v2/keys/{id}","href":"/api-reference/api-keys/revoke-one-of-your-keys"}]},{"group":"Organization","root":{"title":"Organization API: Your Account, Organizations and Logo","sidebarTitle":"Overview","href":"/api-reference/organization"},"pages":[{"title":"Read who you are","deprecated":null,"version":null,"sidebarTitle":"Read who you are","openapi":"/openapi.yaml get /v2/me","href":"/api-reference/organization/read-who-you-are"},{"title":"Change your name","deprecated":null,"version":null,"sidebarTitle":"Change your name","openapi":"/openapi.yaml patch /v2/me","href":"/api-reference/organization/change-your-name"},{"title":"Make an organization","deprecated":null,"version":null,"sidebarTitle":"Make an organization","openapi":"/openapi.yaml post /v2/organizations","href":"/api-reference/organization/make-an-organization"},{"title":"Rename the organization","deprecated":null,"version":null,"sidebarTitle":"Rename the organization","openapi":"/openapi.yaml patch /v2/org","href":"/api-reference/organization/rename-the-organization"},{"title":"Delete the organization","deprecated":null,"version":null,"sidebarTitle":"Delete the organization","openapi":"/openapi.yaml delete /v2/org","href":"/api-reference/organization/delete-the-organization"},{"title":"Set the organization's logo","deprecated":null,"version":null,"sidebarTitle":"Set the organization's logo","openapi":"/openapi.yaml put /v2/org/logo","href":"/api-reference/organization/set-the-organizations-logo"},{"title":"Remove the organization's logo","deprecated":null,"version":null,"sidebarTitle":"Remove the organization's logo","openapi":"/openapi.yaml delete /v2/org/logo","href":"/api-reference/organization/remove-the-organizations-logo"},{"title":"Read an organization's logo","deprecated":null,"version":null,"sidebarTitle":"Read an organization's logo","openapi":"/openapi.yaml get /v2/organization-logos/{organizationId}/{key}","href":"/api-reference/organization/read-an-organizations-logo"}]},{"group":"Utility","root":{"title":"Utility API: Health Check","sidebarTitle":"Overview","href":"/api-reference/utility"},"pages":[{"title":"Health check","deprecated":null,"version":null,"sidebarTitle":"Health check","openapi":"/openapi.yaml get /v2/health","href":"/api-reference/utility/health-check"}]}]},{"group":"OneCLI Cloud","pages":[{"group":"Members","root":{"title":"Members API: List, Change and Remove Members","sidebarTitle":"Overview","href":"/api-reference/members"},"pages":[{"title":"List members","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List members","openapi":"/openapi.yaml get /v2/members","href":"/api-reference/members/list-members"},{"title":"Read a member","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a member","openapi":"/openapi.yaml get /v2/members/{id}","href":"/api-reference/members/read-a-member"},{"title":"Change a member","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change a member","openapi":"/openapi.yaml patch /v2/members/{id}","href":"/api-reference/members/change-a-member"},{"title":"Remove a member, or leave","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Remove a member, or leave","openapi":"/openapi.yaml delete /v2/members/{id}","href":"/api-reference/members/remove-a-member-or-leave"},{"title":"Preview a member's removal","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Preview a member's removal","openapi":"/openapi.yaml get /v2/members/{id}/removal-preview","href":"/api-reference/members/preview-a-members-removal"},{"title":"Transfer ownership","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Transfer ownership","openapi":"/openapi.yaml post /v2/members/{id}/transfer-ownership","href":"/api-reference/members/transfer-ownership"},{"title":"List people","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List people","openapi":"/openapi.yaml get /v2/people","href":"/api-reference/members/list-people"}]},{"group":"Invites","root":{"title":"Invites API: Invite People to an Organization","sidebarTitle":"Overview","href":"/api-reference/invites"},"pages":[{"title":"List invites","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List invites","openapi":"/openapi.yaml get /v2/invites","href":"/api-reference/invites/list-invites"},{"title":"Invite a person","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Invite a person","openapi":"/openapi.yaml post /v2/invites","href":"/api-reference/invites/invite-a-person"},{"title":"Take up an invite","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Take up an invite","openapi":"/openapi.yaml post /v2/invites/accept","href":"/api-reference/invites/take-up-an-invite"},{"title":"Cancel an invite","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Cancel an invite","openapi":"/openapi.yaml delete /v2/invites/{id}","href":"/api-reference/invites/cancel-an-invite"}]},{"group":"Groups","root":{"title":"Groups API: Manage Groups, Members and Group Roles","sidebarTitle":"Overview","href":"/api-reference/groups"},"pages":[{"title":"List groups","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List groups","openapi":"/openapi.yaml get /v2/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Create a group","openapi":"/openapi.yaml post /v2/groups","href":"/api-reference/groups/create-a-group"},{"title":"Read a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a group","openapi":"/openapi.yaml get /v2/groups/{id}","href":"/api-reference/groups/read-a-group"},{"title":"Rename a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Rename a group","openapi":"/openapi.yaml patch /v2/groups/{id}","href":"/api-reference/groups/rename-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a group","openapi":"/openapi.yaml delete /v2/groups/{id}","href":"/api-reference/groups/delete-a-group"},{"title":"List a group's members","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List a group's members","openapi":"/openapi.yaml get /v2/groups/{id}/members","href":"/api-reference/groups/list-a-groups-members"},{"title":"Add a member to a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Add a member to a group","openapi":"/openapi.yaml put /v2/groups/{id}/members/{userId}","href":"/api-reference/groups/add-a-member-to-a-group"},{"title":"Remove a member from a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Remove a member from a group","openapi":"/openapi.yaml delete /v2/groups/{id}/members/{userId}","href":"/api-reference/groups/remove-a-member-from-a-group"},{"title":"Read a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a group's role","openapi":"/openapi.yaml get /v2/groups/{id}/roles","href":"/api-reference/groups/read-a-groups-role"},{"title":"Set a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Set a group's role","openapi":"/openapi.yaml put /v2/groups/{id}/roles","href":"/api-reference/groups/set-a-groups-role"},{"title":"Clear a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Clear a group's role","openapi":"/openapi.yaml delete /v2/groups/{id}/roles","href":"/api-reference/groups/clear-a-groups-role"},{"title":"List a group's vaults","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List a group's vaults","openapi":"/openapi.yaml get /v2/groups/{id}/vaults","href":"/api-reference/groups/list-a-groups-vaults"}]},{"group":"Vault sharing","root":{"title":"Vault Sharing API: Share a Vault With People and Groups","sidebarTitle":"Overview","href":"/api-reference/vault-sharing"},"pages":[{"title":"Read who a vault is shared with","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read who a vault is shared with","openapi":"/openapi.yaml get /v2/vaults/{id}/access","href":"/api-reference/vault-sharing/read-who-a-vault-is-shared-with"},{"title":"Replace who a vault is shared with","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Replace who a vault is shared with","openapi":"/openapi.yaml put /v2/vaults/{id}/access","href":"/api-reference/vault-sharing/replace-who-a-vault-is-shared-with"}]},{"group":"Shared items","root":{"title":"Shared Items API: One Key Shared With Many Vaults","sidebarTitle":"Overview","href":"/api-reference/shared-items"},"pages":[{"title":"List the shared items","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the shared items","openapi":"/openapi.yaml get /v2/org/shared-items","href":"/api-reference/shared-items/list-the-shared-items"},{"title":"Add a shared key","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Add a shared key","openapi":"/openapi.yaml post /v2/org/shared-items","href":"/api-reference/shared-items/add-a-shared-key"},{"title":"Read a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a shared item","openapi":"/openapi.yaml get /v2/org/shared-items/{id}","href":"/api-reference/shared-items/read-a-shared-item"},{"title":"Rename a shared item, replace its value, or open it","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Rename a shared item, give a shared key a new value, or open it to all vaults","openapi":"/openapi.yaml patch /v2/org/shared-items/{id}","href":"/api-reference/shared-items/rename-a-shared-item-give-a-shared-key-a-new-value-or-open-it-to-all-vaults"},{"title":"Delete a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a shared item","openapi":"/openapi.yaml delete /v2/org/shared-items/{id}","href":"/api-reference/shared-items/delete-a-shared-item"},{"title":"List the vaults an item is shared with","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the vaults an item is shared with","openapi":"/openapi.yaml get /v2/org/shared-items/{id}/vaults","href":"/api-reference/shared-items/list-the-vaults-an-item-is-shared-with"},{"title":"Share an item with a vault","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Share an item with a vault","openapi":"/openapi.yaml put /v2/org/shared-items/{id}/vaults/{vaultId}","href":"/api-reference/shared-items/share-an-item-with-a-vault"},{"title":"Take an item away from a vault","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Take an item away from a vault","openapi":"/openapi.yaml delete /v2/org/shared-items/{id}/vaults/{vaultId}","href":"/api-reference/shared-items/take-an-item-away-from-a-vault"},{"title":"List the shared items a vault may use","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the shared items a vault may use","openapi":"/openapi.yaml get /v2/vaults/{id}/shared-items","href":"/api-reference/shared-items/list-the-shared-items-a-vault-may-use"},{"title":"Read what a vault's agents may do with a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read what a vault's agents may do with a shared item","openapi":"/openapi.yaml get /v2/vaults/{id}/shared-items/{itemId}/permissions","href":"/api-reference/shared-items/read-what-a-vaults-agents-may-do-with-a-shared-item"},{"title":"Set what a vault's agents may do with a shared item","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Set what a vault's agents may do with a shared item","openapi":"/openapi.yaml put /v2/vaults/{id}/shared-items/{itemId}/permissions","href":"/api-reference/shared-items/set-what-a-vaults-agents-may-do-with-a-shared-item"}]},{"group":"Sign-in","root":{"title":"Sign-in API: Single Sign-On Connections and Domains","sidebarTitle":"Overview","href":"/api-reference/sign-in"},"pages":[{"title":"List sign-in connections","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List sign-in connections","openapi":"/openapi.yaml get /v2/org/sign-in/connections","href":"/api-reference/sign-in/list-sign-in-connections"},{"title":"Create a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Create a sign-in connection","openapi":"/openapi.yaml post /v2/org/sign-in/connections","href":"/api-reference/sign-in/create-a-sign-in-connection"},{"title":"Change a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change a sign-in connection","openapi":"/openapi.yaml patch /v2/org/sign-in/connections/{id}","href":"/api-reference/sign-in/change-a-sign-in-connection"},{"title":"Delete a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a sign-in connection","openapi":"/openapi.yaml delete /v2/org/sign-in/connections/{id}","href":"/api-reference/sign-in/delete-a-sign-in-connection"},{"title":"Test a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Test a sign-in connection","openapi":"/openapi.yaml post /v2/org/sign-in/connections/{id}/test","href":"/api-reference/sign-in/test-a-sign-in-connection"},{"title":"List sign-in domains","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List sign-in domains","openapi":"/openapi.yaml get /v2/org/sign-in/domains","href":"/api-reference/sign-in/list-sign-in-domains"},{"title":"Claim a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Claim a sign-in domain","openapi":"/openapi.yaml post /v2/org/sign-in/domains","href":"/api-reference/sign-in/claim-a-sign-in-domain"},{"title":"Release a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Release a sign-in domain","openapi":"/openapi.yaml delete /v2/org/sign-in/domains/{id}","href":"/api-reference/sign-in/release-a-sign-in-domain"},{"title":"Verify a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Verify a sign-in domain","openapi":"/openapi.yaml post /v2/org/sign-in/domains/{id}/verify","href":"/api-reference/sign-in/verify-a-sign-in-domain"},{"title":"Read the sign-in requirement","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read the sign-in requirement","openapi":"/openapi.yaml get /v2/org/sign-in/enforcement","href":"/api-reference/sign-in/read-the-sign-in-requirement"},{"title":"Change the sign-in requirement","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change the sign-in requirement","openapi":"/openapi.yaml patch /v2/org/sign-in/enforcement","href":"/api-reference/sign-in/change-the-sign-in-requirement"}]},{"group":"Directory tokens","root":{"title":"Directory Tokens API: Tokens for Directory Sync","sidebarTitle":"Overview","href":"/api-reference/directory-tokens"},"pages":[{"title":"List directory tokens","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List directory tokens","openapi":"/openapi.yaml get /v2/org/directory-tokens","href":"/api-reference/directory-tokens/list-directory-tokens"},{"title":"Make a directory token","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Make a directory token","openapi":"/openapi.yaml post /v2/org/directory-tokens","href":"/api-reference/directory-tokens/make-a-directory-token"},{"title":"Revoke a directory token","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Revoke a directory token","openapi":"/openapi.yaml delete /v2/org/directory-tokens/{id}","href":"/api-reference/directory-tokens/revoke-a-directory-token"}]},{"group":"LLM sign-in","root":{"title":"LLM Sign-in API: Add a Claude or ChatGPT Subscription","sidebarTitle":"Overview","href":"/api-reference/llm-sign-in"},"pages":[{"title":"Start a Claude sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Start a Claude sign-in","openapi":"/openapi.yaml post /v2/llm/anthropic/sign-in","href":"/api-reference/llm-sign-in/start-a-claude-sign-in"},{"title":"Finish a Claude sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Finish a Claude sign-in","openapi":"/openapi.yaml post /v2/llm/anthropic/sign-in/finish","href":"/api-reference/llm-sign-in/finish-a-claude-sign-in"},{"title":"Start a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Start a ChatGPT sign-in","openapi":"/openapi.yaml post /v2/llm/openai/sign-in","href":"/api-reference/llm-sign-in/start-a-chatgpt-sign-in"},{"title":"Poll a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Poll a ChatGPT sign-in","openapi":"/openapi.yaml get /v2/llm/openai/sign-in/{id}","href":"/api-reference/llm-sign-in/poll-a-chatgpt-sign-in"},{"title":"Cancel a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Cancel a ChatGPT sign-in","openapi":"/openapi.yaml delete /v2/llm/openai/sign-in/{id}","href":"/api-reference/llm-sign-in/cancel-a-chatgpt-sign-in"}]},{"group":"Demo sandbox","root":{"title":"Demo Sandbox API (Preview): Start, Run and End It","sidebarTitle":"Overview","href":"/api-reference/demo-sandbox"},"tag":"Preview","pages":[{"title":"Read your demo sandbox","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read your demo sandbox","openapi":"/openapi.yaml get /v2/demo-sandbox","href":"/api-reference/demo-sandbox/read-your-demo-sandbox"},{"title":"Make your demo sandbox","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Make your demo sandbox","openapi":"/openapi.yaml post /v2/demo-sandbox","href":"/api-reference/demo-sandbox/make-your-demo-sandbox"},{"title":"End your demo sandbox","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"End your demo sandbox","openapi":"/openapi.yaml delete /v2/demo-sandbox","href":"/api-reference/demo-sandbox/end-your-demo-sandbox"},{"title":"Get a link to your demo sandbox's desktop","description":"Makes a fresh link to your demo sandbox's desktop. It works for 10 minutes. At most 10 links a minute. A preview.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Get a link to your demo sandbox's desktop","openapi":"/openapi.yaml post /v2/demo-sandbox/desktop","href":"/api-reference/demo-sandbox/get-a-link-to-your-demo-sandboxs-desktop"},{"title":"Run a command in your demo sandbox","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Run a command in your demo sandbox","openapi":"/openapi.yaml post /v2/demo-sandbox/exec","href":"/api-reference/demo-sandbox/run-a-command-in-your-demo-sandbox"}]}]}]}]},"basePath":"","title":"Run a command in your demo sandbox - OneCLI","deploymentId":"dpl_hSqyvJ4yQMj8zFViHgqnZFPm1xMv","buildId":"dpl_hSqyvJ4yQMj8zFViHgqnZFPm1xMv","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-dMMLDTIU.js","snippetPresets-QcUypRGT.js","utils-Br4-Z8t0.js","style-to-object-BY3JEAdk.js","utils-GmDMK9BG.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CImT44J1.js","conditional-requirements-CFM0id0Q.js","cloneDeep-De0u6l-0.js","_Uint8Array-DFGmIAJe.js","isObject-FP1Yky1u.js","ApiExamples-eUm2Ge_e.js","usePlaygroundInputsStore-BAilauYF.js","shallow-Z0k_fL-l.js","isEqual-BBOkDGmR.js","CodeSnippets-DORhwN-0.js","CodeSnippet-DV5Lj4DY.js","use-playground-group-access-CM_BSfmB.js","Page-_65rMYFd.js","api-description-markdown-nWfwWSzV.js","DynamicMarkdown-C-ybrQe5.js","SectionHeading-mysGfPJl.js","MethodPill-B29O_3ra.js","getPastedJson-Bnk6wgbx.js","Check2Icon-CWFt9B5t.js","axios-CsQoIw0U.js","Markdown-B2fY8v6N.js","AssistantPageLink-BsAGvIMN.js","dist-B4jGo7gd.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}