A vault whose variables to set. Applied before secrets. Together with secrets and onePassword they set at most 32 variables. A vault without entries returns 400 SECRET_SOURCES_INVALID, and an unknown one 404 VAULT_NOT_FOUND. Pass {name, unwrapped} for a vault with customer-protected entries; by name alone it returns 400 SECRET_REQUIRES_CUSTOMER_UNWRAP.
Secrets to set as environment variables for this process only, merged over the vault's variables, so secrets wins on a clash. They aren't added to the sandbox's default environment.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/schema.json","name":"Hyperbrowser","colors":{"primary":"#000000","light":"#ffffff","dark":"#292929"},"logo":{"light":"https://mintcdn.com/s2labs/zKpTDqzfkiUOx-RW/logo/light.svg?fit=max\u0026auto=format\u0026n=zKpTDqzfkiUOx-RW\u0026q=85\u0026s=44630ff7088962766621163a05b33a9d","dark":"https://mintcdn.com/s2labs/zKpTDqzfkiUOx-RW/logo/dark.svg?fit=max\u0026auto=format\u0026n=zKpTDqzfkiUOx-RW\u0026q=85\u0026s=922ffa6a51f59c6d5a79b20d2b1ea484"},"favicon":"https://mintcdn.com/s2labs/PMe-Uqc-ack7u7Vf/favicon.ico?fit=max\u0026auto=format\u0026n=PMe-Uqc-ack7u7Vf\u0026q=85\u0026s=11222c1d22f5e03ce33c9288e8664b52","navbar":{"links":[{"href":"https://github.com/hyperbrowserai","label":"GitHub"},{"href":"mailto:info@hyperbrowser.ai","label":"Support"},{"href":"https://discord.gg/zsYzsgVRjh","label":"Discord"}],"primary":{"type":"button","label":"Get Started","href":"https://app.hyperbrowser.ai"}},"footer":{"socials":{"x":"https://x.com/hyperbrowser","github":"https://github.com/hyperbrowserai"}},"fonts":{"family":"Geist"},"integrations":{"ga4":{"measurementId":"G-Q79ZY3FMTL"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"s2labs","hasAudioNarration":false,"actualSubdomain":"s2labs","customDomains":["hyperbrowser.ai"],"gitSource":{"type":"github","owner":"hyperbrowserai","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":"6af39036aea70e7e4342524e","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API reference","count":115},{"language":"default","tag":"Browsers","count":66},{"language":"default","tag":"Sandboxes","count":36},{"language":"default","tag":"Sandbox","count":14},{"language":"default","tag":"Session Configuration","count":14},{"language":"default","tag":"HyperAgent Usage","count":11},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Secrets","count":10},{"language":"default","tag":"Sessions","count":10},{"language":"default","tag":"Web API","count":10}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":true},"basePath":"/docs","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":"llms-txt-v2","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}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".quick-start-cards img{height:200px!important;width:100%!important;object-fit:contain!important;object-position:center!important;padding:8px!important;margin-top:8px!important;background-color:#ffffff!important;border-radius:8px!important;overflow:hidden!important;box-shadow:none!important}.dark .card img{background-color:#0E0E0C!important}.dark .card img[src*=\"browser-sessions-home.png\"]{content:url(\"./images/browser-sessions-home-dark.png\")!important}.dark .card img[src*=\"web-scraping-home.png\"]{content:url(\"./images/web-scraping-home-dark.png\")!important}.dark .card img[src*=\"ai-agents-home.png\"]{content:url(\"./images/ai-agents-home-dark.png\")!important}.dark h1 img[src*=\"hyperbrowser-text-light.svg\"]{content:url(\"./images/hyperbrowser-text-dark.svg\")!important}.header-logo{height:48px!important;width:auto!important}@media (min-width: 1280px){#content-side-layout{min-height:0!important}#table-of-contents-layout{display:flex!important;flex:1 1 auto!important;min-height:0!important;max-height:100%!important}#table-of-contents{flex:1 1 auto!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}}"}],"page":{"pagePath":"api-reference/start-a-sandbox-process-with-secrets","slug":"/api-reference/start-a-sandbox-process-with-secrets","pageMetadata":{"title":"Start a sandbox process with secrets","description":"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.","openapi":"openapi.json POST /api/sandbox/{id}/processes","href":"/api-reference/start-a-sandbox-process-with-secrets"},"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: \"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/sandboxes/secrets`,children:`secrets guide`}),` and `,_jsx(_components.a,{href:`/sandboxes/1password`,children:`1Password`}),` for SDK and CLI examples.`]})}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":"Start a sandbox process with secrets","description":"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.","openapi":"openapi.json POST /api/sandbox/{id}/processes","href":"/api-reference/start-a-sandbox-process-with-secrets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/s2labs/de6bdc86f5a23ffe/referrer.js","/docs/_mintlify/custom/s2labs/bcb74546631563cb/toc-scroll.js"],"openApiReferenceData":{"operation":{"summary":"Start a sandbox process with secrets","operationId":"startSandboxSecretProcess","tags":["Sandboxes"],"description":"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.","security":["ae6db768-78c8-4a8d-a9b5-cc7b73bd1be1"],"parameters":["c853d993-1dd6-4c55-9c66-be956b5376b9"],"requestBody":"e16de765-672c-456f-b1c3-17211a5f85ce","responses":{"200":"772c3655-3345-4182-81c7-31ba3ea24c55","400":"f98209ef-0102-4d94-aefe-61aa42f82b22","401":"74956b69-5ac2-41e9-b384-d957e04f2ef9","403":"93abf118-548d-4319-939f-3acd937cb356","404":"ccc09d6d-5af4-4a2e-b8b2-f3780217ee9f","409":"a12098fa-aa6f-4c8d-8627-b93703c23ce0","422":"b26ece83-669c-4b08-806c-f3380c2aac44","429":"b6b4834f-e155-4ed5-95c2-b54497be9e31","500":"860d627d-1a2c-433e-a2b0-b4de69d5350f","501":"65e88cd5-935c-40d9-8d90-02aaf31063a2","502":"0e5f3803-1dc8-436c-913b-e5ffd7c247e7","503":"3d24e5cc-d46a-4f8a-9daf-53fab4928975","504":"72354f97-1407-4f51-b755-7af265249e58"},"method":"post","type":"path","servers":["465fadf0-3619-4f44-9b8c-9733e81437fa"],"path":"/api/sandbox/{id}/processes","baseUrlOptions":["https://api.hyperbrowser.ai"],"title":"Start a sandbox process with secrets","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c853d993-1dd6-4c55-9c66-be956b5376b9":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Sandbox ID.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Sandbox ID."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"command":{"type":"string","minLength":1,"maxLength":8192,"description":"Shell command to run.","isRequired":true,"uniqueKey":"command","typeLabel":"string"},"cwd":{"type":"string","maxLength":4096,"description":"Working directory.","uniqueKey":"cwd","typeLabel":"string"},"env":{"type":"object","additionalProperties":{"type":"string","maxLength":32768,"uniqueKey":"env.additionalProperties","typeLabel":"string"},"description":"Plain environment variables. A variable that `vault`, `secrets` or `onePassword` sets can't also be in `env` (400 SECRET_SOURCES_INVALID).","uniqueKey":"env","typeLabel":"object"},"timeoutMs":{"type":"integer","minimum":0,"maximum":86400000,"description":"Process timeout in milliseconds.","uniqueKey":"timeoutMs","typeLabel":"integer"},"runAs":{"type":"string","maxLength":128,"description":"User to run the process as.","uniqueKey":"runAs","typeLabel":"string"},"vault":{"oneOf":[{"type":"string","description":"A vault whose variables to set. Applied before `secrets`. Together with `secrets` and `onePassword` they set at most 32 variables. A vault without entries returns 400 SECRET_SOURCES_INVALID, and an unknown one 404 VAULT_NOT_FOUND. Pass `{name, unwrapped}` for a vault with customer-protected entries; by name alone it returns 400 SECRET_REQUIRES_CUSTOMER_UNWRAP.","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$","uniqueKey":"vault.oneOf.0","typeLabel":"string"},{"type":"object","description":"A vault whose variables to set. Applied before `secrets`. Together with `secrets` and `onePassword` they set at most 32 variables. A vault without entries returns 400 SECRET_SOURCES_INVALID, and an unknown one 404 VAULT_NOT_FOUND. Pass `{name, unwrapped}` for a vault with customer-protected entries; by name alone it returns 400 SECRET_REQUIRES_CUSTOMER_UNWRAP.","required":["name","unwrapped"],"properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$","isRequired":true,"uniqueKey":"vault.oneOf.1.name","typeLabel":"string"},"unwrapped":{"type":"object","maxProperties":32,"additionalProperties":{"type":"object","properties":{"version":{"type":"integer","minimum":1,"maximum":2147483647,"description":"The version the envelope was unwrapped from.","isRequired":true,"uniqueKey":"vault.oneOf.1.unwrapped.additionalProperties.version","typeLabel":"integer"},"unwrapped":{"type":"string","minLength":1,"maxLength":65536,"isRequired":true,"uniqueKey":"vault.oneOf.1.unwrapped.additionalProperties.unwrapped","typeLabel":"string"}},"required":["version","unwrapped"],"additionalProperties":false,"uniqueKey":"vault.oneOf.1.unwrapped.additionalProperties","typeLabel":"object"},"description":"Environment variable to unwrapped envelope, one per customer-protected entry. If an entry now resolves to another secret or version, the request fails with 409 SECRET_VAULT_CHANGED: fetch and unwrap the vault again.","isRequired":true,"uniqueKey":"vault.oneOf.1.unwrapped","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"vault.oneOf.1","typeLabel":"object"}],"uniqueKey":"vault","typeLabel":"string | object"},"secrets":{"type":"object","description":"Secrets to set as environment variables for this process only, merged over the vault's variables, so `secrets` wins on a clash. They aren't added to the sandbox's default environment.","maxProperties":32,"example":{"OPENAI_API_KEY":{"name":"openai-key"}},"additionalProperties":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$","description":"Name of a secret of type `secret` or `totp`. A `totp` variable holds the code current when the process starts. A customer-protected secret also needs `unwrapped` (otherwise 400 SECRET_REQUIRES_CUSTOMER_UNWRAP).","isRequired":true,"uniqueKey":"secrets.additionalProperties.name","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"A version number, or `latest`. Omit for the latest version.","enum":["latest"],"uniqueKey":"secrets.additionalProperties.version.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"integer","description":"A version number, or `latest`. Omit for the latest version.","maximum":2147483647,"minimum":1,"uniqueKey":"secrets.additionalProperties.version.oneOf.1","typeLabel":"integer"}],"uniqueKey":"secrets.additionalProperties.version","typeLabel":"enum\u003cstring> | integer"},"unwrapped":{"type":"string","minLength":1,"maxLength":65536,"description":"Customer-protected secrets only, and required for them: the inner envelope you unwrapped from GET /api/secrets/{id}/versions/{version}/wrapped. `version` must then be that version's number, not `latest`. See [Customer-protected secrets](/sandboxes/customer-keys).","uniqueKey":"secrets.additionalProperties.unwrapped","typeLabel":"string"}},"required":["name"],"additionalProperties":false,"uniqueKey":"secrets.additionalProperties","typeLabel":"object"},"uniqueKey":"secrets","typeLabel":"object"},"onePassword":{"type":"object","description":"1Password fields to set as environment variables for this process only, read from 1Password when it starts.","required":["token","vault","fields"],"properties":{"token":{"oneOf":[{"type":"string","description":"The `op_token` secret, by name, holding the service account token. A name uses its latest version. An unknown name returns 404 SECRET_NOT_FOUND, a secret of another type 409 SECRET_TYPE_MISMATCH, and a token without a value 404 SECRET_VERSION_NOT_FOUND. A customer-protected token is passed as `{name, version, unwrapped}`, as for `secrets`.","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$","isRequired":true,"uniqueKey":"onePassword.token.oneOf.0","typeLabel":"string"},{"type":"object","description":"The `op_token` secret, by name, holding the service account token. A name uses its latest version. An unknown name returns 404 SECRET_NOT_FOUND, a secret of another type 409 SECRET_TYPE_MISMATCH, and a token without a value 404 SECRET_VERSION_NOT_FOUND. A customer-protected token is passed as `{name, version, unwrapped}`, as for `secrets`.","required":["name"],"properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$","description":"Name of a secret of type `secret` or `totp`. A `totp` variable holds the code current when the process starts. A customer-protected secret also needs `unwrapped` (otherwise 400 SECRET_REQUIRES_CUSTOMER_UNWRAP).","isRequired":true,"uniqueKey":"onePassword.token.oneOf.1.name","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"A version number, or `latest`. Omit for the latest version.","enum":["latest"],"uniqueKey":"onePassword.token.oneOf.1.version.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"integer","description":"A version number, or `latest`. Omit for the latest version.","maximum":2147483647,"minimum":1,"uniqueKey":"onePassword.token.oneOf.1.version.oneOf.1","typeLabel":"integer"}],"uniqueKey":"onePassword.token.oneOf.1.version","typeLabel":"enum\u003cstring> | integer"},"unwrapped":{"type":"string","minLength":1,"maxLength":65536,"description":"Customer-protected secrets only, and required for them: the inner envelope you unwrapped from GET /api/secrets/{id}/versions/{version}/wrapped. `version` must then be that version's number, not `latest`. See [Customer-protected secrets](/sandboxes/customer-keys).","uniqueKey":"onePassword.token.oneOf.1.unwrapped","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"onePassword.token.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"onePassword.token","typeLabel":"string | object"},"vault":{"type":"string","minLength":1,"maxLength":256,"description":"The 1Password vault's name or ID. 1-256 characters: a 1Password name or ID without `/` or `?`, control or format characters, and not `.` or `..`.","isRequired":true,"uniqueKey":"onePassword.vault","typeLabel":"string"},"fields":{"type":"object","minProperties":1,"maxProperties":32,"additionalProperties":{"type":"object","description":"A field of an item in the request's 1Password vault (`onePassword.vault`), read as `op://\u003cvault>/\u003citem>/[\u003csection>/]\u003cfield>`. The whole reference can be at most 512 bytes of UTF-8.","properties":{"item":{"type":"string","minLength":1,"maxLength":256,"description":"The item. 1-256 characters: a 1Password name or ID without `/` or `?`, control or format characters, and not `.` or `..`.","isRequired":true,"uniqueKey":"onePassword.fields.additionalProperties.item","typeLabel":"string"},"field":{"type":"string","minLength":1,"maxLength":256,"description":"The field. 1-256 characters: a 1Password name or ID without `/` or `?`, control or format characters, and not `.` or `..`. It may end with one query, such as `?attribute=otp` (a TOTP field's current code) or `?ssh-format=openssh`: keys are lowercase letters and `-`, values are letters, digits, `_` and `-`, and pairs are joined with `\u0026`.","isRequired":true,"uniqueKey":"onePassword.fields.additionalProperties.field","typeLabel":"string"},"section":{"type":"string","minLength":1,"maxLength":256,"description":"The section, if the field is in one. 1-256 characters: a 1Password name or ID without `/` or `?`, control or format characters, and not `.` or `..`.","uniqueKey":"onePassword.fields.additionalProperties.section","typeLabel":"string"}},"required":["item","field"],"additionalProperties":false,"uniqueKey":"onePassword.fields.additionalProperties","typeLabel":"object"},"description":"Environment variable name (letters, digits and `_`, not starting with a digit) to the field it takes. 1 to 32 fields.","example":{"SC_USER":{"item":"scrapingcourse login","field":"username"},"SC_OTP":{"item":"scrapingcourse login","section":"Security","field":"one-time password?attribute=otp"}},"isRequired":true,"uniqueKey":"onePassword.fields","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"onePassword","typeLabel":"object"}},"required":["command"],"additionalProperties":false,"description":"Provide at least one of `secrets`, `vault` and `onePassword`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"command":"\u003cstring>","cwd":"\u003cstring>","env":{},"timeoutMs":43200000,"runAs":"\u003cstring>","vault":"\u003cstring>","secrets":{"OPENAI_API_KEY":{"name":"openai-key"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"772c3655-3345-4182-81c7-31ba3ea24c55":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"process":{"type":"object","description":"The started process. Its environment is never returned.","properties":{"id":{"type":"string","description":"Process ID. Use it with the sandbox process APIs to read output or wait for the process.","isRequired":true,"uniqueKey":"process.id","typeLabel":"string"},"status":{"type":"string","enum":["queued","running","exited","failed","killed","timed_out"],"isRequired":true,"uniqueKey":"process.status","typeLabel":"enum\u003cstring>"},"command":{"type":"string","isRequired":true,"uniqueKey":"process.command","typeLabel":"string"},"cwd":{"type":"string","isRequired":true,"uniqueKey":"process.cwd","typeLabel":"string"},"started_at":{"type":"integer","format":"int64","description":"Unix time in milliseconds.","isRequired":true,"uniqueKey":"process.started_at","typeLabel":"integer\u003cint64>"},"pid":{"type":"integer","uniqueKey":"process.pid","typeLabel":"integer"},"exit_code":{"type":"integer","uniqueKey":"process.exit_code","typeLabel":"integer"},"completed_at":{"type":"integer","format":"int64","description":"Unix time in milliseconds.","uniqueKey":"process.completed_at","typeLabel":"integer\u003cint64>"}},"required":["id","status","command","cwd","started_at"],"isRequired":true,"uniqueKey":"process","typeLabel":"object"},"secrets":{"type":"array","items":{"type":"object","description":"One environment variable a process received, never its value. A stored secret has `name`, `secretId` and `version`. A 1Password variable (`source.type` `onePassword`) has `reference` and `tokenSecret` instead, and never `overrides`.","properties":{"env":{"type":"string","description":"Environment variable name.","isRequired":true,"uniqueKey":"secrets.items.[INDEX].env","typeLabel":"string"},"source":{"type":"object","description":"Where a variable came from: the request's `vault`, its `secrets`, or its `onePassword`.","properties":{"type":{"type":"string","enum":["vault","secrets","onePassword"],"isRequired":true,"uniqueKey":"secrets.items.[INDEX].source.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The vault's name, with `type: vault`.","uniqueKey":"secrets.items.[INDEX].source.name","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"secrets.items.[INDEX].source","typeLabel":"object"},"name":{"type":"string","description":"Secret name.","uniqueKey":"secrets.items.[INDEX].name","typeLabel":"string"},"secretId":{"type":"string","format":"uuid","uniqueKey":"secrets.items.[INDEX].secretId","typeLabel":"string\u003cuuid>"},"version":{"type":"integer","description":"The version delivered, with `latest` resolved.","uniqueKey":"secrets.items.[INDEX].version","typeLabel":"integer"},"secretType":{"type":"string","enum":["totp"],"description":"Present for `totp` secrets, whose variable holds the code current at process start.","uniqueKey":"secrets.items.[INDEX].secretType","typeLabel":"enum\u003cstring>"},"reference":{"type":"string","description":"The `op://` reference the value was read from, for a 1Password variable.","uniqueKey":"secrets.items.[INDEX].reference","typeLabel":"string"},"tokenSecret":{"type":"string","description":"Name of the `op_token` secret used to sign in to 1Password, for a 1Password variable.","uniqueKey":"secrets.items.[INDEX].tokenSecret","typeLabel":"string"},"overrides":{"type":"array","items":{"type":"object","description":"Where a variable came from: the request's `vault`, its `secrets`, or its `onePassword`.","properties":{"type":{"type":"string","enum":["vault","secrets","onePassword"],"isRequired":true,"uniqueKey":"secrets.items.[INDEX].overrides.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The vault's name, with `type: vault`.","uniqueKey":"secrets.items.[INDEX].overrides.items.[INDEX].name","typeLabel":"string"}},"required":["type"],"uniqueKey":"secrets.items.[INDEX].overrides.items.[INDEX]","typeLabel":"object"},"description":"Earlier sources that set the same variable and were replaced, oldest first. Present only when there were any. Never `onePassword`: a 1Password variable can't be set by another source.","uniqueKey":"secrets.items.[INDEX].overrides","typeLabel":"object[]"}},"required":["env","source"],"uniqueKey":"secrets.items.[INDEX]","typeLabel":"object"},"description":"Each variable the process received, with its source. Never values.","isRequired":true,"uniqueKey":"secrets","typeLabel":"object[]"}},"required":["process","secrets"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"process":{"id":"\u003cstring>","status":"queued","command":"\u003cstring>","cwd":"\u003cstring>","started_at":123,"pid":123,"exit_code":123,"completed_at":123},"secrets":[{"env":"\u003cstring>","source":{"type":"vault","name":"\u003cstring>"},"name":"\u003cstring>","secretId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","version":123,"secretType":"totp","reference":"\u003cstring>","tokenSecret":"\u003cstring>","overrides":[{"type":"vault","name":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"f98209ef-0102-4d94-aefe-61aa42f82b22":{"description":"Invalid request body, the sandbox is a GPU sandbox, or SECRET_SOURCES_INVALID (`env` sets a variable the vault or `secrets` also sets, a 1Password variable is also set by another source, the vault has no entries, or they set more than 32 variables). SECRET_REQUIRES_CUSTOMER_UNWRAP: a customer-protected secret, vault entry or 1Password token was passed without its unwrapped envelope, or with `latest` instead of a version number. SECRET_PROTECTION_MISMATCH: `unwrapped` was passed for a secret that isn't customer-protected.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"74956b69-5ac2-41e9-b384-d957e04f2ef9":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"93abf118-548d-4319-939f-3acd937cb356":{"description":"API_KEY_SCOPE_DENIED or SECRETS_FEATURE_DISABLED.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"ccc09d6d-5af4-4a2e-b8b2-f3780217ee9f":{"description":"Sandbox not found, SECRET_NOT_FOUND, SECRET_VERSION_NOT_FOUND (also when the `onePassword` token has no value), or VAULT_NOT_FOUND.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"a12098fa-aa6f-4c8d-8627-b93703c23ce0":{"description":"The sandbox is stopped or its runtime isn't ready, or SECRET_TYPE_MISMATCH (an `op_token` secret in `secrets` or the vault, or a `onePassword` token that isn't an `op_token`). SECRET_DIGEST_MISMATCH: an unwrapped envelope isn't the one stored for that version. SECRET_VAULT_CHANGED: a vault entry changed since the vault was unwrapped; unwrap it again. SECRET_KEY_RETIRED: the version was encrypted to a retired platform key; add a new version.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"b26ece83-669c-4b08-806c-f3380c2aac44":{"description":"The sandbox couldn't use a value. SECRET_VALUE_INVALID: a stored value can't be used, such as an invalid TOTP seed; upload a new version. SECRET_ONEPASSWORD_REFERENCE_FAILED: 1Password couldn't resolve a field (`details.envs` and `details.reasons` name the variables). SECRET_ONEPASSWORD_AUTH_FAILED: 1Password rejected the token, or the token is malformed or its sign-in address isn't on 1password.com, 1password.ca, 1password.eu or their subdomains, so it wasn't sent. Other codes, such as SECRET_ENVELOPE_INVALID, mean a stored envelope couldn't be opened; `details` names the variable, secret and version.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"b6b4834f-e155-4ed5-95c2-b54497be9e31":{"description":"SECRET_ONEPASSWORD_RATE_LIMITED: 1Password is rate limiting the service account (retryable).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"860d627d-1a2c-433e-a2b0-b4de69d5350f":{"description":"Internal server error.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"65e88cd5-935c-40d9-8d90-02aaf31063a2":{"description":"The sandbox's runner doesn't support secrets. SECRET_TOTP_UNSUPPORTED: the sandbox's host can't deliver TOTP secrets yet, and nothing started (not retryable on this route; a new sandbox may run on an upgraded host).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"0e5f3803-1dc8-436c-913b-e5ffd7c247e7":{"description":"SECRET_PROCESS_OUTCOME_UNKNOWN: the start wasn't confirmed and the process may be running. Not retryable. SECRET_ONEPASSWORD_FAILED: 1Password couldn't be reached and nothing started (retryable).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"3d24e5cc-d46a-4f8a-9daf-53fab4928975":{"description":"SECRET_PROCESS_NOT_STARTED: the sandbox's host couldn't be reached and no process was started (retryable). SECRET_ONEPASSWORD_FAILED (retryable). SECRETS_NOT_CONFIGURED or SECRET_KEY_UNAVAILABLE: the sandbox's host can't decrypt secrets.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"72354f97-1407-4f51-b755-7af265249e58":{"description":"SECRET_PROCESS_TIMEOUT: timed out before the process was started (retryable).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code, such as SECRET_NOT_FOUND.","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","description":"Set instead of `code` by authentication and API key scope errors (API_KEY_SCOPE_DENIED).","uniqueKey":"error","typeLabel":"string"},"requiredScopes":{"type":"array","items":{"type":"string","uniqueKey":"requiredScopes.items.[INDEX]","typeLabel":"string"},"description":"The scope the API key is missing, with API_KEY_SCOPE_DENIED.","uniqueKey":"requiredScopes","typeLabel":"string[]"},"retryable":{"type":"boolean","description":"Whether repeating the same request can succeed. Set on delivery errors.","uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra information for some codes, such as `origin` for CREDENTIAL_ORIGIN_NOT_ALLOWED or `pages` for CREDENTIAL_PAGE_AMBIGUOUS.","uniqueKey":"details","typeLabel":"object"}},"description":"HTTP failure. Secret errors include `code` and `message`; request validation errors include only `message`; API key scope errors include `error`, `message` and `requiredScopes`.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","error":"\u003cstring>","requiredScopes":["\u003cstring>"],"retryable":true,"details":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ae6db768-78c8-4a8d-a9b5-cc7b73bd1be1":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"465fadf0-3619-4f44-9b8c-9733e81437fa":{"url":"https://api.hyperbrowser.ai","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"s2labs","siteName":"Hyperbrowser","title":"Start a sandbox process with secrets - Hyperbrowser","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T19:22:47.412Z","originalFileLocation":"api-reference/start-a-sandbox-process-with-secrets.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=\"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hyperbrowser\">\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/s2labs/EYHRrnGU8YxO5yHy/_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/s2labs/EYHRrnGU8YxO5yHy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/s2labs/EYHRrnGU8YxO5yHy/_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/s2labs/EYHRrnGU8YxO5yHy/_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/s2labs/EYHRrnGU8YxO5yHy/_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/s2labs/EYHRrnGU8YxO5yHy/_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/s2labs/EYHRrnGU8YxO5yHy/_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/s2labs/EYHRrnGU8YxO5yHy/_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/s2labs/EYHRrnGU8YxO5yHy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a sandbox process with secrets - Hyperbrowser\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hyperbrowser\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://s2labs.mintlify.site/docs/_mintlify/api/og/v2?division=Sandboxes\u0026amp;title=Start+a+sandbox+process+with+secrets\u0026amp;description=Run+a+command+in+a+sandbox+with+secrets%2C+a+vault+or+1Password+fields+as+environment+variables+for+that+process+only.\u0026amp;theme=12152b08887a830dfa4705fd\u0026amp;signature=f8d59218d5a3f193a0290a8d8537baa828d7de6f2536d14078df873abf90e076\">\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=\"Start a sandbox process with secrets - Hyperbrowser\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://s2labs.mintlify.site/docs/_mintlify/api/og/v2?division=Sandboxes\u0026amp;title=Start+a+sandbox+process+with+secrets\u0026amp;description=Run+a+command+in+a+sandbox+with+secrets%2C+a+vault+or+1Password+fields+as+environment+variables+for+that+process+only.\u0026amp;theme=12152b08887a830dfa4705fd\u0026amp;signature=f8d59218d5a3f193a0290a8d8537baa828d7de6f2536d14078df873abf90e076\">\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/s2labs/EYHRrnGU8YxO5yHy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hyperbrowser\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets\">\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/start-a-sandbox-process-with-secrets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://hyperbrowser.ai/#organization\",\"name\":\"Hyperbrowser\",\"url\":\"https://hyperbrowser.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/s2labs/zKpTDqzfkiUOx-RW/logo/light.svg?fit=max\u0026auto=format\u0026n=zKpTDqzfkiUOx-RW\u0026q=85\u0026s=44630ff7088962766621163a05b33a9d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://hyperbrowser.ai/docs#website\",\"name\":\"Hyperbrowser\",\"url\":\"https://hyperbrowser.ai/docs\",\"publisher\":{\"@id\":\"https://hyperbrowser.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets#webpage\",\"url\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets\",\"name\":\"Start a sandbox process with secrets\",\"description\":\"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.\",\"dateModified\":\"2026-10-15T19:22:47.412Z\",\"isPartOf\":{\"@id\":\"https://hyperbrowser.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sandboxes\",\"item\":\"https://hyperbrowser.ai/docs/api-reference/create-new-sandbox\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Start a sandbox process with secrets\",\"item\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets#apireference\",\"headline\":\"Start a sandbox process with secrets\",\"name\":\"Start a sandbox process with secrets\",\"description\":\"Run a command in a sandbox with secrets, a vault or 1Password fields as environment variables for that process only.\",\"url\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets\",\"mainEntityOfPage\":{\"@id\":\"https://hyperbrowser.ai/docs/api-reference/start-a-sandbox-process-with-secrets#webpage\"},\"dateModified\":\"2026-10-15T19:22:47.412Z\",\"publisher\":{\"@id\":\"https://hyperbrowser.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://hyperbrowser.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hyperbrowser\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hyperbrowser\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/start-a-sandbox-process-with-secrets.md","siteName":"Hyperbrowser","nav":{"global":null,"tabs":[{"tab":"Home","icon":"home","pages":[{"title":"Home","href":"/home"}]},{"tab":"Browsers","icon":"browser","pages":[{"title":"Browsers","href":"/introduction"}]},{"tab":"Sandboxes","icon":"server","pages":[{"title":"Sandboxes","href":"/sandboxes/introduction"}]},{"tab":"API reference","icon":"square-terminal","groups":[{"group":"Sessions","icon":"window","pages":[{"title":"Create new session","openapi":"openapi.json POST /api/session","href":"/api-reference/create-new-session"},{"title":"Get session by ID","openapi":"openapi.json GET /api/session/{id}","href":"/api-reference/get-session-by-id"},{"title":"Stop a session","openapi":"openapi.json PUT /api/session/{id}/stop","href":"/api-reference/stop-a-session"},{"title":"Update a running session","openapi":"openapi.json PUT /api/session/{id}/update","href":"/api-reference/update-a-running-session"},{"title":"Run manual CAPTCHA evaluation","openapi":"openapi.json POST /api/session/{id}/captcha/evaluate","href":"/api-reference/manually-evaluate-captcha"},{"title":"Get list of sessions","openapi":"openapi.json GET /api/sessions","href":"/api-reference/get-list-of-sessions"},{"title":"Get session recording URL","openapi":"openapi.json GET /api/session/{id}/recording-url","href":"/api-reference/get-session-recording-url"},{"title":"Get session video recording URL","openapi":"openapi.json GET /api/session/{id}/video-recording-url","href":"/api-reference/get-session-video-recording-url"},{"title":"Get session downloads URL","openapi":"openapi.json GET /api/session/{id}/downloads-url","href":"/api-reference/get-session-downloads-url"},{"title":"Fill a credential","openapi":"openapi.json POST /api/session/{id}/credentials/fill","href":"/api-reference/fill-a-credential"}]},{"group":"WebMCP","icon":"wrench","pages":[{"title":"List WebMCP tools","openapi":"openapi.json GET /api/session/{id}/webmcp/tools","href":"/api-reference/list-webmcp-tools"},{"title":"Invoke a WebMCP tool","openapi":"openapi.json POST /api/session/{id}/webmcp/invoke","href":"/api-reference/invoke-webmcp-tool"},{"title":"Start a WebMCP invocation","openapi":"openapi.json POST /api/session/{id}/webmcp/invocations","href":"/api-reference/start-webmcp-invocation"},{"title":"Get a WebMCP invocation result","openapi":"openapi.json GET /api/session/{id}/webmcp/invocations/{invocationId}","href":"/api-reference/get-webmcp-invocation-result"},{"title":"Cancel a WebMCP invocation","openapi":"openapi.json POST /api/session/{id}/webmcp/invocations/{invocationId}/cancel","href":"/api-reference/cancel-webmcp-invocation"}]},{"group":"Profiles","icon":"user-circle","pages":[{"title":"Creates a new profile","openapi":"openapi.json POST /api/profile","href":"/api-reference/creates-a-new-profile"},{"title":"Fork profile by ID","openapi":"openapi.json POST /api/profile/{id}/fork","href":"/api-reference/fork-profile-by-id"},{"title":"Get profile by ID","openapi":"openapi.json GET /api/profile/{id}","href":"/api-reference/get-profile-by-id"},{"title":"Delete profile by ID","openapi":"openapi.json DELETE /api/profile/{id}","href":"/api-reference/delete-profile-by-id"},{"title":"Get list of profiles","openapi":"openapi.json GET /api/profiles","href":"/api-reference/get-list-of-profiles"}]},{"group":"Secrets","icon":"key","pages":[{"title":"Get the secrets public key","openapi":"openapi.json GET /api/secrets/public-key","href":"/api-reference/get-secrets-public-key"},{"title":"Get list of secrets","openapi":"openapi.json GET /api/secrets","href":"/api-reference/get-list-of-secrets"},{"title":"Create a secret","openapi":"openapi.json POST /api/secrets","href":"/api-reference/create-a-secret"},{"title":"Get secret by ID","openapi":"openapi.json GET /api/secrets/{id}","href":"/api-reference/get-secret-by-id"},{"title":"Update a secret","openapi":"openapi.json PATCH /api/secrets/{id}","href":"/api-reference/update-a-secret"},{"title":"Delete a secret","openapi":"openapi.json DELETE /api/secrets/{id}","href":"/api-reference/delete-a-secret"},{"title":"Add a secret version","openapi":"openapi.json POST /api/secrets/{id}/versions","href":"/api-reference/add-a-secret-version"},{"title":"Delete a secret version","openapi":"openapi.json DELETE /api/secrets/{id}/versions/{version}","href":"/api-reference/delete-a-secret-version"},{"title":"Get a wrapped secret version","openapi":"openapi.json GET /api/secrets/{id}/versions/{version}/wrapped","href":"/api-reference/get-a-wrapped-secret-version"},{"title":"Replace a secret version's wrapping","openapi":"openapi.json PUT /api/secrets/{id}/versions/{version}/wrapping","href":"/api-reference/replace-a-secret-version-wrapping"}]},{"group":"Vaults","icon":"vault","pages":[{"title":"Get list of vaults","openapi":"openapi.json GET /api/vaults","href":"/api-reference/get-list-of-vaults"},{"title":"Create a vault","openapi":"openapi.json POST /api/vaults","href":"/api-reference/create-a-vault"},{"title":"Get vault by ID","openapi":"openapi.json GET /api/vaults/{id}","href":"/api-reference/get-vault-by-id"},{"title":"Update a vault","openapi":"openapi.json PATCH /api/vaults/{id}","href":"/api-reference/update-a-vault"},{"title":"Delete a vault","openapi":"openapi.json DELETE /api/vaults/{id}","href":"/api-reference/delete-a-vault"},{"title":"Get a wrapped vault","openapi":"openapi.json GET /api/vaults/{id}/wrapped","href":"/api-reference/get-a-wrapped-vault"}]},{"group":"Sandboxes","icon":"box","pages":[{"title":"Create new sandbox","openapi":"openapi.json POST /api/sandbox","href":"/api-reference/create-new-sandbox"},{"title":"Get sandbox by ID","openapi":"openapi.json GET /api/sandbox/{id}","href":"/api-reference/get-sandbox-by-id"},{"title":"Get list of sandboxes","openapi":"openapi.json GET /api/sandboxes","href":"/api-reference/get-list-of-sandboxes"},{"title":"Stop a sandbox","openapi":"openapi.json PUT /api/sandbox/{id}/stop","href":"/api-reference/stop-a-sandbox"},{"title":"Expose a sandbox port","openapi":"openapi.json POST /api/sandbox/{id}/expose","href":"/api-reference/expose-a-sandbox-port"},{"title":"Remove an exposed sandbox port","openapi":"openapi.json POST /api/sandbox/{id}/unexpose","href":"/api-reference/remove-an-exposed-sandbox-port"},{"title":"Create a sandbox memory snapshot","openapi":"openapi.json POST /api/sandbox/{id}/snapshot","href":"/api-reference/create-a-sandbox-memory-snapshot"},{"title":"Update sandbox network policy","openapi":"openapi.json PUT /api/sandbox/{id}/network","description":null,"href":"/api-reference/update-sandbox-network-policy"},{"title":"Start a sandbox process with secrets","openapi":"openapi.json POST /api/sandbox/{id}/processes","href":"/api-reference/start-a-sandbox-process-with-secrets"}]},{"group":"Sandbox Volumes","icon":"hard-drive","pages":[{"title":"Create a volume","openapi":"openapi.json POST /api/volume","description":null,"href":"/api-reference/create-a-volume"},{"title":"Get list of volumes","openapi":"openapi.json GET /api/volume","href":"/api-reference/get-list-of-volumes"},{"title":"Get volume by ID","openapi":"openapi.json GET /api/volume/{id}","href":"/api-reference/get-volume-by-id"},{"title":"Delete a volume","openapi":"openapi.json DELETE /api/volume/{key}","href":"/api-reference/delete-a-volume"}]},{"group":"Sandbox Images","icon":"layer-group","pages":[{"title":"Get list of sandbox images","openapi":"openapi.json GET /api/images","href":"/api-reference/get-list-of-sandbox-images"},{"title":"Delete sandbox image","openapi":"openapi.json DELETE /api/images/{key}","href":"/api-reference/delete-sandbox-image"},{"title":"Create an image build","openapi":"openapi.json POST /api/images/builds","href":"/api-reference/create-an-image-build"},{"title":"Get list of image builds","openapi":"openapi.json GET /api/images/builds","href":"/api-reference/get-list-of-image-builds"},{"title":"Get image build by ID","openapi":"openapi.json GET /api/images/builds/{buildId}","href":"/api-reference/get-image-build-by-id"},{"title":"Complete an image build upload","openapi":"openapi.json POST /api/images/builds/{buildId}/complete","href":"/api-reference/complete-an-image-build-upload"},{"title":"Cancel an image build","openapi":"openapi.json POST /api/images/builds/{buildId}/cancel","href":"/api-reference/cancel-an-image-build"}]},{"group":"Sandbox Snapshots","icon":"camera","pages":[{"title":"Get list of sandbox snapshots","openapi":"openapi.json GET /api/snapshots","href":"/api-reference/get-list-of-sandbox-snapshots"},{"title":"Get sandbox snapshot","openapi":"openapi.json GET /api/snapshots/{key}","href":"/api-reference/get-sandbox-snapshot"},{"title":"Delete sandbox snapshot","openapi":"openapi.json DELETE /api/snapshots/{key}","href":"/api-reference/delete-sandbox-snapshot"}]},{"group":"Web API","icon":"database","pages":[{"title":"Fetch a web page","openapi":"openapi.json POST /api/web/fetch","href":"/api-reference/fetch-a-web-page"},{"title":"Start a web crawl job","openapi":"openapi.json POST /api/web/crawl","href":"/api-reference/start-a-web-crawl-job"},{"title":"Get web crawl job results","openapi":"openapi.json GET /api/web/crawl/{id}","href":"/api-reference/get-web-crawl-job-results"},{"title":"Get web crawl job status","openapi":"openapi.json GET /api/web/crawl/{id}/status","href":"/api-reference/get-web-crawl-job-status"},{"title":"Search the web","openapi":"openapi.json POST /api/web/search","href":"/api-reference/search-the-web"}]},{"group":"Scrape","icon":"file-code","pages":[{"title":"Create new scrape job","openapi":"openapi.json POST /api/scrape","href":"/api-reference/create-new-scrape-job"},{"title":"Get scrape job status and result","openapi":"openapi.json GET /api/scrape/{id}","href":"/api-reference/get-scrape-job-status-and-result"},{"title":"Get scrape job status","openapi":"openapi.json GET /api/scrape/{id}/status","href":"/api-reference/get-scrape-job-status"},{"title":"Start a batch scrape job","openapi":"openapi.json POST /api/scrape/batch","href":"/api-reference/start-a-batch-scrape-job"},{"title":"Get batch scrape job status and results","openapi":"openapi.json GET /api/scrape/batch/{id}","href":"/api-reference/get-batch-scrape-job-status-and-results"},{"title":"Get batch scrape job status","openapi":"openapi.json GET /api/scrape/batch/{id}/status","href":"/api-reference/get-batch-scrape-job-status"}]},{"group":"Crawl","icon":"spider","pages":[{"title":"Start a crawl job","openapi":"openapi.json POST /api/crawl","href":"/api-reference/start-a-crawl-job"},{"title":"Get crawl job status and results","openapi":"openapi.json GET /api/crawl/{id}","href":"/api-reference/get-crawl-job-status-and-results"},{"title":"Get crawl job status","openapi":"openapi.json GET /api/crawl/{id}/status","href":"/api-reference/get-crawl-job-status"}]},{"group":"Extract","icon":"database","pages":[{"title":"Start an extract job","openapi":"openapi.json POST /api/extract","href":"/api-reference/start-an-extract-job"},{"title":"Get extract job status and results","openapi":"openapi.json GET /api/extract/{id}","href":"/api-reference/get-extract-job-status-and-results"},{"title":"Get extract job status","openapi":"openapi.json GET /api/extract/{id}/status","href":"/api-reference/get-extract-job-status"}]},{"group":"Extensions","icon":"puzzle-piece","pages":[{"title":"Add a new extension","openapi":"openapi.json POST /api/extensions/add","href":"/api-reference/add-a-new-extension"},{"title":"List all extensions","openapi":"openapi.json GET /api/extensions/list","href":"/api-reference/list-all-extensions"}]},{"group":"HyperAgent","icon":"bolt","pages":[{"title":"Start a HyperAgent task","openapi":"openapi.json POST /api/task/hyper-agent","href":"/api-reference/start-a-hyperagent-task"},{"title":"Get HyperAgent task status and results","openapi":"openapi.json GET /api/task/hyper-agent/{id}","href":"/api-reference/get-hyperagent-task-status-and-results"},{"title":"Stop a HyperAgent task","openapi":"openapi.json PUT /api/task/hyper-agent/{id}/stop","href":"/api-reference/stop-a-hyperagent-task"},{"title":"Get HyperAgent task status","openapi":"openapi.json GET /api/task/hyper-agent/{id}/status","href":"/api-reference/get-hyperagent-task-status"}]},{"group":"BrowserUse","icon":"compass","pages":[{"title":"Start a browser use task","openapi":"openapi.json POST /api/task/browser-use","href":"/api-reference/start-a-browser-use-task"},{"title":"Get browser use task status and results","openapi":"openapi.json GET /api/task/browser-use/{id}","href":"/api-reference/get-browser-use-task-status-and-results"},{"title":"Stop a browser use task","openapi":"openapi.json PUT /api/task/browser-use/{id}/stop","href":"/api-reference/stop-a-browser-use-task"},{"title":"Get browser use task status","openapi":"openapi.json GET /api/task/browser-use/{id}/status","href":"/api-reference/get-browser-use-task-status"}]},{"group":"Claude Computer Use","icon":"microchip-ai","pages":[{"title":"Start a claude computer use task","openapi":"openapi.json POST /api/task/claude-computer-use","href":"/api-reference/start-a-claude-computer-use-task"},{"title":"Get claude computer use task status and results","openapi":"openapi.json GET /api/task/claude-computer-use/{id}","href":"/api-reference/get-claude-computer-use-task-status-and-results"},{"title":"Stop a claude computer use task","openapi":"openapi.json PUT /api/task/claude-computer-use/{id}/stop","href":"/api-reference/stop-a-claude-computer-use-task"},{"title":"Get claude computer use task status","openapi":"openapi.json GET /api/task/claude-computer-use/{id}/status","href":"/api-reference/get-claude-computer-use-task-status"}]},{"group":"Gemini Computer Use","icon":"sparkles","pages":[{"title":"Start a gemini computer use task","openapi":"openapi.json POST /api/task/gemini-computer-use","href":"/api-reference/start-a-gemini-computer-use-task"},{"title":"Get gemini computer use task status and results","openapi":"openapi.json GET /api/task/gemini-computer-use/{id}","href":"/api-reference/get-gemini-computer-use-task-status-and-results"},{"title":"Stop a gemini computer use task","openapi":"openapi.json PUT /api/task/gemini-computer-use/{id}/stop","href":"/api-reference/stop-a-gemini-computer-use-task"},{"title":"Get gemini computer use task status","openapi":"openapi.json GET /api/task/gemini-computer-use/{id}/status","href":"/api-reference/get-gemini-computer-use-task-status"}]},{"group":"Meta Computer Use","icon":"microchip-ai","pages":[{"title":"Start a meta computer use task","openapi":"openapi.json POST /api/task/meta-computer-use","href":"/api-reference/start-a-meta-computer-use-task"},{"title":"Get meta computer use task status and results","openapi":"openapi.json GET /api/task/meta-computer-use/{id}","href":"/api-reference/get-meta-computer-use-task-status-and-results"},{"title":"Stop a meta computer use task","openapi":"openapi.json PUT /api/task/meta-computer-use/{id}/stop","href":"/api-reference/stop-a-meta-computer-use-task"},{"title":"Get meta computer use task status","openapi":"openapi.json GET /api/task/meta-computer-use/{id}/status","href":"/api-reference/get-meta-computer-use-task-status"}]},{"group":"Grok Computer Use","icon":"microchip-ai","pages":[{"title":"Start a grok computer use task","openapi":"openapi.json POST /api/task/grok-computer-use","href":"/api-reference/start-a-grok-computer-use-task"},{"title":"Get grok computer use task status and results","openapi":"openapi.json GET /api/task/grok-computer-use/{id}","href":"/api-reference/get-grok-computer-use-task-status-and-results"},{"title":"Stop a grok computer use task","openapi":"openapi.json PUT /api/task/grok-computer-use/{id}/stop","href":"/api-reference/stop-a-grok-computer-use-task"},{"title":"Get grok computer use task status","openapi":"openapi.json GET /api/task/grok-computer-use/{id}/status","href":"/api-reference/get-grok-computer-use-task-status"}]},{"group":"Jev Computer Use","icon":"microchip-ai","pages":[{"title":"Start a jev computer use task","openapi":"openapi.json POST /api/task/jev","href":"/api-reference/start-a-jev-computer-use-task"},{"title":"Get jev computer use task status and results","openapi":"openapi.json GET /api/task/jev/{id}","href":"/api-reference/get-jev-computer-use-task-status-and-results"},{"title":"Stop a jev computer use task","openapi":"openapi.json PUT /api/task/jev/{id}/stop","href":"/api-reference/stop-a-jev-computer-use-task"},{"title":"Get jev computer use task status","openapi":"openapi.json GET /api/task/jev/{id}/status","href":"/api-reference/get-jev-computer-use-task-status"}]},{"group":"OpenAI CUA","icon":"brain-circuit","pages":[{"title":"Start a CUA task","openapi":"openapi.json POST /api/task/cua","href":"/api-reference/start-a-cua-task"},{"title":"Get CUA task status and results","openapi":"openapi.json GET /api/task/cua/{id}","href":"/api-reference/get-cua-task-status-and-results"},{"title":"Stop a CUA task","openapi":"openapi.json PUT /api/task/cua/{id}/stop","href":"/api-reference/stop-a-cua-task"},{"title":"Get CUA task status","openapi":"openapi.json GET /api/task/cua/{id}/status","href":"/api-reference/get-cua-task-status"}]},{"group":"X402","icon":"coin","pages":[{"title":"Create a session with X402 payment","openapi":"openapi.json POST /x402/session","href":"/api-reference/create-a-session-with-x402-payment"},{"title":"Get an X402 session","openapi":"openapi.json GET /x402/session/{id}","href":"/api-reference/get-an-x402-session"},{"title":"Stop an X402 session","openapi":"openapi.json PUT /x402/session/{id}/stop","href":"/api-reference/stop-an-x402-session"},{"title":"Fetch a web page with X402 payment","openapi":"openapi.json POST /x402/web/fetch","href":"/api-reference/fetch-a-web-page-with-x402-payment"},{"title":"Search the web with X402 payment","openapi":"openapi.json POST /x402/web/search","href":"/api-reference/search-the-web-with-x402-payment"}]}]},{"tab":"SDKs","icon":"code","pages":[{"title":"SDKs","href":"/sdks/introduction"}]},{"tab":"Pricing","icon":"magnifying-glass-dollar","pages":[{"title":"Pricing","href":"/pricing"}]}]},"basePath":"","title":"Start a sandbox process with secrets - Hyperbrowser","buildId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","deploymentId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-EBSrFTg1.js","utils-Y_7TcRh4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D1wvvkPH.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-aT0ty6oN.js","snippetPresets-DoNRuyJc.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-DCFaZE46.js","ApiExamples-CXRajFpn.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BAyOsINj.js","shallow-CIcHqV1v.js","getApiPlaygroundDisplay-C5igZwEf.js","CodeSnippet-BFWnQLNh.js","CodeSnippets-Cx2mFgZW.js","getPastedJson-BOy09PZp.js","icon-BwmYtB6R.js","MethodPill-DAIhq-iu.js","DuplicateIcon-DFM8Q3ph.js","createIcon-0UdvzB4Z.js","DynamicMarkdown-DYYZTGpa.js","SectionHeading-BFCDRUuH.js","axios-vUo_bRtp.js","Markdown-C6TcKjiR.js","clsx-Y_UC780V.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-PCbBHBTv.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D4q_oRML.js"]}