A durable machine-root disk. The container's entire root filesystem delta
lives on a qcow-backed volume mounted at "/", so disk snapshots capture the
whole machine state. Shorthand for a DurableDisk with mount_path "/" and
the qcow driver.
Capacity verdict for the requested GPU types, computed at stub creation:
"available", "low", or "none". Empty when no check applies (CPU-only
workloads, private-pool-only stubs, or pool-selector-bound stubs).
Name of an existing ready private pool in the workspace that satisfies
the GPU request. Set instead of capacity_status "none" so clients can
re-issue stub creation targeting this pool.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"levers9","description":"Levers AI Lab: run functions, endpoints, queues, sandboxes, notebooks and GPU jobs on your own cluster; build datasets with human annotation; post-train call agents with human feedback.","colors":{"primary":"#5b9cf6","light":"#8ec0ff","dark":"#2f6fd6"},"logo":{"light":"https://mintcdn.com/levers9/MpDd6UF8JRoz9i--/logo/levers-light.png?fit=max\u0026auto=format\u0026n=MpDd6UF8JRoz9i--\u0026q=85\u0026s=19f74bdb4d66b7ef5afff595f7d598b9","dark":"https://mintcdn.com/levers9/MpDd6UF8JRoz9i--/logo/levers-dark.png?fit=max\u0026auto=format\u0026n=MpDd6UF8JRoz9i--\u0026q=85\u0026s=106049e1271483140250d7d0f8aa184a","href":"https://uselevers.com"},"favicon":"https://mintcdn.com/levers9/MpDd6UF8JRoz9i--/favicon.png?fit=max\u0026auto=format\u0026n=MpDd6UF8JRoz9i--\u0026q=85\u0026s=dde5213235f0c63c31a52d69f714e3d6","navbar":{"links":[{"href":"https://levers9-app.uselevers.com","label":"Dashboard"},{"href":"https://pypi.org/project/levers9/","label":"PyPI"}],"primary":{"type":"github","href":"https://github.com/gnomefin/levers9"}},"footer":{"socials":{"github":"https://github.com/gnomefin/levers9","website":"https://uselevers.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"levers9","hasAudioNarration":false,"actualSubdomain":"levers9","customDomains":[],"gitSource":{"type":"github","owner":"gnomefin","repo":"levers9","deployBranch":"main","contentDirectory":"docs/mintlify","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ade1e7812d8b1b7b9f0fbc1","collectionId":"6113fcb0-75fa-4a83-b6e8-5990f2d9797e","liveDeploymentHistoryId":"6ade1e7812d8b1b7b9f0fbc1","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ade1e7812d8b1b7b9f0fbc1","clientVersion":"0.0.4005","searchFilterCounts":[{"language":"default","tag":"API reference","count":112},{"language":"default","tag":"ControlPlane","count":67},{"language":"default","tag":"ControlPlaneService","count":67},{"language":"default","tag":"Guides","count":60},{"language":"default","tag":"Boxes","count":24},{"language":"default","tag":"BoxService","count":24},{"language":"default","tag":"Build with the SDK","count":16},{"language":"default","tag":"RL Arena","count":13},{"language":"default","tag":"Volumes","count":13},{"language":"default","tag":"VolumeService","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/controlplaneservice/stubs","slug":"/api-reference/controlplaneservice/stubs","pageMetadata":{"title":"Stubs","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /stubs","href":"/api-reference/controlplaneservice/stubs","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Stubs","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /stubs","href":"/api-reference/controlplaneservice/stubs","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Stubs","operationId":"ControlPlaneService_GetOrCreateStub","responses":{"200":"44922686-085a-48e1-9525-96e79fb558d7","default":"1a597598-e929-4358-a96e-d6b9e86e32cc"},"requestBody":"1af8ed9a-431a-4078-9ee2-e73a17eee75e","tags":["ControlPlaneService"],"method":"post","type":"path","servers":["75403181-f1b0-4dd4-aa1a-20f130dfaf52","33060361-d564-43b4-9902-6b48d8f64d3e"],"security":["1fded91b-431c-4ba2-b30d-603b0a0f3bec"],"path":"/stubs","baseUrlOptions":["https://levers9.uselevers.com","https://api.uselevers.com"],"title":"Stubs","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"objectId":{"type":"string","uniqueKey":"objectId","typeLabel":"string"},"imageId":{"type":"string","uniqueKey":"imageId","typeLabel":"string"},"stubType":{"type":"string","uniqueKey":"stubType","typeLabel":"string"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"pythonVersion":{"type":"string","uniqueKey":"pythonVersion","typeLabel":"string"},"cpu":{"type":"string","format":"int64","uniqueKey":"cpu","typeLabel":"string\u003cint64>"},"memory":{"type":"string","format":"int64","uniqueKey":"memory","typeLabel":"string\u003cint64>"},"gpu":{"type":"string","uniqueKey":"gpu","typeLabel":"string"},"handler":{"type":"string","uniqueKey":"handler","typeLabel":"string"},"retries":{"type":"integer","format":"int64","uniqueKey":"retries","typeLabel":"integer\u003cint64>"},"timeout":{"type":"string","format":"int64","uniqueKey":"timeout","typeLabel":"string\u003cint64>"},"keepWarmSeconds":{"type":"number","format":"float","uniqueKey":"keepWarmSeconds","typeLabel":"number\u003cfloat>"},"workers":{"type":"integer","format":"int64","uniqueKey":"workers","typeLabel":"integer\u003cint64>"},"maxPendingTasks":{"type":"integer","format":"int64","uniqueKey":"maxPendingTasks","typeLabel":"integer\u003cint64>"},"volumes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"volumes.items.[INDEX].id","typeLabel":"string"},"mountPath":{"type":"string","uniqueKey":"volumes.items.[INDEX].mountPath","typeLabel":"string"},"config":{"type":"object","properties":{"bucketName":{"type":"string","uniqueKey":"volumes.items.[INDEX].config.bucketName","typeLabel":"string"},"accessKey":{"type":"string","uniqueKey":"volumes.items.[INDEX].config.accessKey","typeLabel":"string"},"secretKey":{"type":"string","uniqueKey":"volumes.items.[INDEX].config.secretKey","typeLabel":"string"},"endpointUrl":{"type":"string","uniqueKey":"volumes.items.[INDEX].config.endpointUrl","typeLabel":"string"},"region":{"type":"string","uniqueKey":"volumes.items.[INDEX].config.region","typeLabel":"string"},"readOnly":{"type":"boolean","uniqueKey":"volumes.items.[INDEX].config.readOnly","typeLabel":"boolean"},"forcePathStyle":{"type":"boolean","uniqueKey":"volumes.items.[INDEX].config.forcePathStyle","typeLabel":"boolean"}},"uniqueKey":"volumes.items.[INDEX].config","typeLabel":"object"}},"uniqueKey":"volumes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"volumes","typeLabel":"object[]"},"forceCreate":{"type":"boolean","uniqueKey":"forceCreate","typeLabel":"boolean"},"onStart":{"type":"string","uniqueKey":"onStart","typeLabel":"string"},"callbackUrl":{"type":"string","uniqueKey":"callbackUrl","typeLabel":"string"},"authorized":{"type":"boolean","uniqueKey":"authorized","typeLabel":"boolean"},"secrets":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"secrets.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"secrets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"secrets","typeLabel":"object[]"},"autoscaler":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"autoscaler.type","typeLabel":"string"},"maxContainers":{"type":"integer","format":"int64","uniqueKey":"autoscaler.maxContainers","typeLabel":"integer\u003cint64>"},"tasksPerContainer":{"type":"integer","format":"int64","uniqueKey":"autoscaler.tasksPerContainer","typeLabel":"integer\u003cint64>"},"minContainers":{"type":"integer","format":"int64","uniqueKey":"autoscaler.minContainers","typeLabel":"integer\u003cint64>"}},"uniqueKey":"autoscaler","typeLabel":"object"},"taskPolicy":{"type":"object","properties":{"timeout":{"type":"string","format":"int64","uniqueKey":"taskPolicy.timeout","typeLabel":"string\u003cint64>"},"maxRetries":{"type":"integer","format":"int64","uniqueKey":"taskPolicy.maxRetries","typeLabel":"integer\u003cint64>"},"ttl":{"type":"integer","format":"int64","uniqueKey":"taskPolicy.ttl","typeLabel":"integer\u003cint64>"}},"uniqueKey":"taskPolicy","typeLabel":"object"},"concurrentRequests":{"type":"integer","format":"int64","uniqueKey":"concurrentRequests","typeLabel":"integer\u003cint64>"},"extra":{"type":"string","uniqueKey":"extra","typeLabel":"string"},"checkpointEnabled":{"type":"boolean","uniqueKey":"checkpointEnabled","typeLabel":"boolean"},"gpuCount":{"type":"integer","format":"int64","uniqueKey":"gpuCount","typeLabel":"integer\u003cint64>"},"onDeploy":{"type":"string","uniqueKey":"onDeploy","typeLabel":"string"},"onDeployStubId":{"type":"string","uniqueKey":"onDeployStubId","typeLabel":"string"},"entrypoint":{"type":"array","items":{"type":"string","uniqueKey":"entrypoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"entrypoint","typeLabel":"string[]"},"ports":{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"ports.items.[INDEX]","typeLabel":"integer\u003cint64>"},"uniqueKey":"ports","typeLabel":"integer\u003cint64>[]"},"env":{"type":"array","items":{"type":"string","uniqueKey":"env.items.[INDEX]","typeLabel":"string"},"uniqueKey":"env","typeLabel":"string[]"},"appName":{"type":"string","uniqueKey":"appName","typeLabel":"string"},"pricing":{"type":"object","properties":{"maxInFlight":{"type":"string","format":"int64","uniqueKey":"pricing.maxInFlight","typeLabel":"string\u003cint64>"},"costModel":{"type":"string","uniqueKey":"pricing.costModel","typeLabel":"string"},"costPerTask":{"type":"number","format":"double","uniqueKey":"pricing.costPerTask","typeLabel":"number\u003cdouble>"},"costPerTaskDurationMs":{"type":"number","format":"double","uniqueKey":"pricing.costPerTaskDurationMs","typeLabel":"number\u003cdouble>"}},"uniqueKey":"pricing","typeLabel":"object"},"inputs":{"type":"object","properties":{"fields":{"type":"object","additionalProperties":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"inputs.fields.additionalProperties.type","typeLabel":"string"},"fields":{"oneOf":[{"$circularRef":"00707ac6-e055-4b88-9805-9ac2cdb29822"}],"uniqueKey":"inputs.fields.additionalProperties.fields","typeLabel":"any"}},"uniqueKey":"inputs.fields.additionalProperties","typeLabel":"object"},"uniqueKey":"inputs.fields","typeLabel":"object"}},"uniqueKey":"inputs","typeLabel":"object"},"outputs":{"type":"object","properties":{"fields":{"type":"object","additionalProperties":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"outputs.fields.additionalProperties.type","typeLabel":"string"},"fields":{"oneOf":[{"$circularRef":"00707ac6-e055-4b88-9805-9ac2cdb29822"}],"uniqueKey":"outputs.fields.additionalProperties.fields","typeLabel":"any"}},"uniqueKey":"outputs.fields.additionalProperties","typeLabel":"object"},"uniqueKey":"outputs.fields","typeLabel":"object"}},"uniqueKey":"outputs","typeLabel":"object"},"tcp":{"type":"boolean","uniqueKey":"tcp","typeLabel":"boolean"},"blockNetwork":{"type":"boolean","uniqueKey":"blockNetwork","typeLabel":"boolean"},"allowList":{"type":"array","items":{"type":"string","uniqueKey":"allowList.items.[INDEX]","typeLabel":"string"},"uniqueKey":"allowList","typeLabel":"string[]"},"dockerEnabled":{"type":"boolean","uniqueKey":"dockerEnabled","typeLabel":"boolean"},"pool":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"pool.name","typeLabel":"string"},"gpu":{"type":"array","items":{"type":"string","uniqueKey":"pool.gpu.items.[INDEX]","typeLabel":"string"},"uniqueKey":"pool.gpu","typeLabel":"string[]"},"nodes":{"type":"integer","format":"int64","uniqueKey":"pool.nodes","typeLabel":"integer\u003cint64>"},"ttl":{"type":"string","uniqueKey":"pool.ttl","typeLabel":"string"},"maxSpend":{"type":"number","format":"double","uniqueKey":"pool.maxSpend","typeLabel":"number\u003cdouble>"},"providers":{"type":"array","items":{"type":"string","uniqueKey":"pool.providers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"pool.providers","typeLabel":"string[]"},"regions":{"type":"array","items":{"type":"string","uniqueKey":"pool.regions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"pool.regions","typeLabel":"string[]"},"minReliability":{"type":"number","format":"double","uniqueKey":"pool.minReliability","typeLabel":"number\u003cdouble>"},"selector":{"type":"string","uniqueKey":"pool.selector","typeLabel":"string"},"mode":{"type":"string","uniqueKey":"pool.mode","typeLabel":"string"},"transport":{"type":"string","uniqueKey":"pool.transport","typeLabel":"string"},"fallback":{"type":"string","uniqueKey":"pool.fallback","typeLabel":"string"},"priority":{"type":"integer","format":"int32","uniqueKey":"pool.priority","typeLabel":"integer\u003cint32>"},"offerId":{"type":"string","uniqueKey":"pool.offerId","typeLabel":"string"},"containerRuntime":{"type":"string","description":"Runtime for workers in this pool.","uniqueKey":"pool.containerRuntime","typeLabel":"string"}},"uniqueKey":"pool","typeLabel":"object"},"isService":{"type":"boolean","uniqueKey":"isService","typeLabel":"boolean"},"serving":{"type":"object","properties":{"appKind":{"type":"string","uniqueKey":"serving.appKind","typeLabel":"string"},"servingProtocol":{"type":"string","uniqueKey":"serving.servingProtocol","typeLabel":"string"},"llm":{"type":"object","properties":{"modelId":{"type":"string","uniqueKey":"serving.llm.modelId","typeLabel":"string"},"engine":{"type":"string","uniqueKey":"serving.llm.engine","typeLabel":"string"},"servedModelName":{"type":"string","uniqueKey":"serving.llm.servedModelName","typeLabel":"string"},"contextLength":{"type":"string","format":"int64","uniqueKey":"serving.llm.contextLength","typeLabel":"string\u003cint64>"},"tokenizer":{"type":"string","uniqueKey":"serving.llm.tokenizer","typeLabel":"string"},"metricsPath":{"type":"string","uniqueKey":"serving.llm.metricsPath","typeLabel":"string"},"sloTier":{"type":"string","uniqueKey":"serving.llm.sloTier","typeLabel":"string"}},"uniqueKey":"serving.llm","typeLabel":"object"},"database":{"type":"object","properties":{"kind":{"type":"string","uniqueKey":"serving.database.kind","typeLabel":"string"},"port":{"type":"integer","format":"int64","uniqueKey":"serving.database.port","typeLabel":"integer\u003cint64>"},"readinessProbe":{"type":"string","uniqueKey":"serving.database.readinessProbe","typeLabel":"string"},"connectionEnvName":{"type":"string","uniqueKey":"serving.database.connectionEnvName","typeLabel":"string"},"credentialSecretNames":{"type":"array","items":{"type":"string","uniqueKey":"serving.database.credentialSecretNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"serving.database.credentialSecretNames","typeLabel":"string[]"},"durabilityMode":{"type":"string","uniqueKey":"serving.database.durabilityMode","typeLabel":"string"},"usernameSecretName":{"type":"string","uniqueKey":"serving.database.usernameSecretName","typeLabel":"string"},"passwordSecretName":{"type":"string","uniqueKey":"serving.database.passwordSecretName","typeLabel":"string"},"databaseSecretName":{"type":"string","uniqueKey":"serving.database.databaseSecretName","typeLabel":"string"},"connectionUrlSecretName":{"type":"string","uniqueKey":"serving.database.connectionUrlSecretName","typeLabel":"string"}},"uniqueKey":"serving.database","typeLabel":"object"}},"uniqueKey":"serving","typeLabel":"object"},"disks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"disks.items.[INDEX].name","typeLabel":"string"},"size":{"type":"string","uniqueKey":"disks.items.[INDEX].size","typeLabel":"string"},"mountPath":{"type":"string","uniqueKey":"disks.items.[INDEX].mountPath","typeLabel":"string"},"filesystem":{"type":"string","uniqueKey":"disks.items.[INDEX].filesystem","typeLabel":"string"},"driver":{"type":"string","uniqueKey":"disks.items.[INDEX].driver","typeLabel":"string"},"readOnly":{"type":"boolean","uniqueKey":"disks.items.[INDEX].readOnly","typeLabel":"boolean"},"sourceSnapshotId":{"type":"string","description":"Snapshot used to initialize a disk with no snapshot history.","uniqueKey":"disks.items.[INDEX].sourceSnapshotId","typeLabel":"string"}},"uniqueKey":"disks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"disks","typeLabel":"object[]"},"allowMarketplace":{"type":"boolean","uniqueKey":"allowMarketplace","typeLabel":"boolean"},"checkpointTrigger":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"checkpointTrigger.type","typeLabel":"string"},"httpPath":{"type":"string","uniqueKey":"checkpointTrigger.httpPath","typeLabel":"string"},"httpPort":{"type":"integer","format":"int64","uniqueKey":"checkpointTrigger.httpPort","typeLabel":"integer\u003cint64>"},"timeoutSeconds":{"type":"integer","format":"int64","uniqueKey":"checkpointTrigger.timeoutSeconds","typeLabel":"integer\u003cint64>"},"intervalSeconds":{"type":"integer","format":"int64","uniqueKey":"checkpointTrigger.intervalSeconds","typeLabel":"integer\u003cint64>"}},"uniqueKey":"checkpointTrigger","typeLabel":"object"},"hostname":{"type":"string","description":"Hostname to set inside the container.","uniqueKey":"hostname","typeLabel":"string"},"persistentRoot":{"type":"object","properties":{"size":{"type":"string","uniqueKey":"persistentRoot.size","typeLabel":"string"},"sourceSnapshotId":{"type":"string","description":"Snapshot used to initialize the root with no snapshot history.","uniqueKey":"persistentRoot.sourceSnapshotId","typeLabel":"string"},"name":{"type":"string","description":"Disk name backing the root. Disk snapshot history is keyed by this name\nwithin the workspace, so each machine wanting its own root lineage must\nuse a distinct name (e.g. the machine id). Defaults to \"root\".","uniqueKey":"persistentRoot.name","typeLabel":"string"}},"description":"A durable machine-root disk. The container's entire root filesystem delta\nlives on a qcow-backed volume mounted at \"/\", so disk snapshots capture the\nwhole machine state. Shorthand for a DurableDisk with mount_path \"/\" and\nthe qcow driver.","uniqueKey":"persistentRoot","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"objectId":"\u003cstring>","imageId":"\u003cstring>","stubType":"\u003cstring>","name":"\u003cstring>","pythonVersion":"\u003cstring>","cpu":"\u003cstring>","memory":"\u003cstring>","gpu":"\u003cstring>","handler":"\u003cstring>","retries":123,"timeout":"\u003cstring>","keepWarmSeconds":123,"workers":123,"maxPendingTasks":123,"volumes":[{"id":"\u003cstring>","mountPath":"\u003cstring>","config":{"bucketName":"\u003cstring>","accessKey":"\u003cstring>","secretKey":"\u003cstring>","endpointUrl":"\u003cstring>","region":"\u003cstring>","readOnly":true,"forcePathStyle":true}}],"forceCreate":true,"onStart":"\u003cstring>","callbackUrl":"\u003cstring>","authorized":true,"secrets":[{"name":"\u003cstring>"}],"autoscaler":{"type":"\u003cstring>","maxContainers":123,"tasksPerContainer":123,"minContainers":123},"taskPolicy":{"timeout":"\u003cstring>","maxRetries":123,"ttl":123},"concurrentRequests":123,"extra":"\u003cstring>","checkpointEnabled":true,"gpuCount":123,"onDeploy":"\u003cstring>","onDeployStubId":"\u003cstring>","entrypoint":["\u003cstring>"],"ports":[123],"env":["\u003cstring>"],"appName":"\u003cstring>","pricing":{"maxInFlight":"\u003cstring>","costModel":"\u003cstring>","costPerTask":123,"costPerTaskDurationMs":123},"inputs":{"fields":{}},"outputs":{"fields":{}},"tcp":true,"blockNetwork":true,"allowList":["\u003cstring>"],"dockerEnabled":true,"pool":{"name":"\u003cstring>","gpu":["\u003cstring>"],"nodes":123,"ttl":"\u003cstring>","maxSpend":123,"providers":["\u003cstring>"],"regions":["\u003cstring>"],"minReliability":123,"selector":"\u003cstring>","mode":"\u003cstring>","transport":"\u003cstring>","fallback":"\u003cstring>","priority":123,"offerId":"\u003cstring>","containerRuntime":"\u003cstring>"},"isService":true,"serving":{"appKind":"\u003cstring>","servingProtocol":"\u003cstring>","llm":{"modelId":"\u003cstring>","engine":"\u003cstring>","servedModelName":"\u003cstring>","contextLength":"\u003cstring>","tokenizer":"\u003cstring>","metricsPath":"\u003cstring>","sloTier":"\u003cstring>"},"database":{"kind":"\u003cstring>","port":123,"readinessProbe":"\u003cstring>","connectionEnvName":"\u003cstring>","credentialSecretNames":["\u003cstring>"],"durabilityMode":"\u003cstring>","usernameSecretName":"\u003cstring>","passwordSecretName":"\u003cstring>","databaseSecretName":"\u003cstring>","connectionUrlSecretName":"\u003cstring>"}},"disks":[{"name":"\u003cstring>","size":"\u003cstring>","mountPath":"\u003cstring>","filesystem":"\u003cstring>","driver":"\u003cstring>","readOnly":true,"sourceSnapshotId":"\u003cstring>"}],"allowMarketplace":true,"checkpointTrigger":{"type":"\u003cstring>","httpPath":"\u003cstring>","httpPort":123,"timeoutSeconds":123,"intervalSeconds":123},"hostname":"\u003cstring>","persistentRoot":{"size":"\u003cstring>","sourceSnapshotId":"\u003cstring>","name":"\u003cstring>"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"44922686-085a-48e1-9525-96e79fb558d7":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","uniqueKey":"ok","typeLabel":"boolean"},"stubId":{"type":"string","uniqueKey":"stubId","typeLabel":"string"},"errMsg":{"type":"string","uniqueKey":"errMsg","typeLabel":"string"},"warnMsg":{"type":"string","uniqueKey":"warnMsg","typeLabel":"string"},"capacityStatus":{"type":"string","description":"Capacity verdict for the requested GPU types, computed at stub creation:\n\"available\", \"low\", or \"none\". Empty when no check applies (CPU-only\nworkloads, private-pool-only stubs, or pool-selector-bound stubs).","uniqueKey":"capacityStatus","typeLabel":"string"},"unsupportedGpus":{"type":"array","items":{"type":"string","uniqueKey":"unsupportedGpus.items.[INDEX]","typeLabel":"string"},"description":"GPU types from the request that no serverless pool supports.","uniqueKey":"unsupportedGpus","typeLabel":"string[]"},"matchedPrivatePool":{"type":"string","description":"Name of an existing ready private pool in the workspace that satisfies\nthe GPU request. Set instead of capacity_status \"none\" so clients can\nre-issue stub creation targeting this pool.","uniqueKey":"matchedPrivatePool","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":true,"stubId":"\u003cstring>","errMsg":"\u003cstring>","warnMsg":"\u003cstring>","capacityStatus":"\u003cstring>","unsupportedGpus":["\u003cstring>"],"matchedPrivatePool":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1a597598-e929-4358-a96e-d6b9e86e32cc":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","uniqueKey":"details.items.[INDEX].@type","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1fded91b-431c-4ba2-b30d-603b0a0f3bec":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"75403181-f1b0-4dd4-aa1a-20f130dfaf52":{"url":"https://levers9.uselevers.com","description":"local controlplane"},"33060361-d564-43b4-9902-6b48d8f64d3e":{"url":"https://api.uselevers.com","description":"hosted"}},"schemas":{"00707ac6-e055-4b88-9805-9ac2cdb29822":{"type":"object","properties":{"fields":{"type":"object","additionalProperties":{"type":"object","properties":{"type":{"type":"string"},"fields":{"oneOf":[{}]}}}}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi/controlplane.openapi.json"},"subdomain":"levers9","siteName":"levers9","title":"Stubs - levers9","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T15:21:37.655Z","originalFileLocation":"api-reference/controlplaneservice/stubs.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=\"application-name\" content=\"levers9\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Stubs - levers9\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"levers9\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://levers9.mintlify.app/_mintlify/api/og/v2?division=ControlPlaneService\u0026amp;title=Stubs\u0026amp;theme=3f8683039210dbf61eebe455\u0026amp;signature=7ce2ae17f7001dac977dd81d81ee60129e26ddd0f58edfb09bd3b504162a835e\">\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=\"Stubs - levers9\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://levers9.mintlify.app/_mintlify/api/og/v2?division=ControlPlaneService\u0026amp;title=Stubs\u0026amp;theme=3f8683039210dbf61eebe455\u0026amp;signature=7ce2ae17f7001dac977dd81d81ee60129e26ddd0f58edfb09bd3b504162a835e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/levers9/Tic-ZUhtiXLp1bN4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"levers9\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5b9cf6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/controlplaneservice/stubs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://levers9.mintlify.app/#organization\",\"name\":\"levers9\",\"url\":\"https://levers9.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/levers9/MpDd6UF8JRoz9i--/logo/levers-light.png?fit=max\u0026auto=format\u0026n=MpDd6UF8JRoz9i--\u0026q=85\u0026s=19f74bdb4d66b7ef5afff595f7d598b9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://levers9.mintlify.app#website\",\"name\":\"levers9\",\"url\":\"https://levers9.mintlify.app\",\"publisher\":{\"@id\":\"https://levers9.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs#webpage\",\"url\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs\",\"name\":\"Stubs\",\"dateModified\":\"2026-10-25T15:21:37.655Z\",\"isPartOf\":{\"@id\":\"https://levers9.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ControlPlane\",\"item\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/auth\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ControlPlaneService\",\"item\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/auth\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Stubs\",\"item\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs#apireference\",\"headline\":\"Stubs\",\"name\":\"Stubs\",\"url\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs\",\"mainEntityOfPage\":{\"@id\":\"https://levers9.mintlify.app/api-reference/controlplaneservice/stubs#webpage\"},\"dateModified\":\"2026-10-25T15:21:37.655Z\",\"publisher\":{\"@id\":\"https://levers9.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://levers9.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"levers9\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"levers9","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/api-reference/overview"},{"title":"Dashboard API","href":"/api-reference/dashboard-api"}]},{"group":"ControlPlane","pages":[{"group":"ControlPlaneService","pages":[{"title":"Auth","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /auth/authorize","href":"/api-reference/controlplaneservice/auth"},{"title":"Sign payload","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /auth/sign","href":"/api-reference/controlplaneservice/sign-payload"},{"title":"List containers","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /containers","href":"/api-reference/controlplaneservice/list-containers"},{"title":"Stop container","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /containers/{containerId}/stop","href":"/api-reference/controlplaneservice/stop-container"},{"title":"Deployments","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /deployments","href":"/api-reference/controlplaneservice/deployments"},{"title":"Delete deployment","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json delete /deployments/{id}","href":"/api-reference/controlplaneservice/delete-deployment"},{"title":"Scale deployment","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /deployments/{id}/scale","href":"/api-reference/controlplaneservice/scale-deployment"},{"title":"Start deployment","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /deployments/{id}/start","href":"/api-reference/controlplaneservice/start-deployment"},{"title":"Stop deployment","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /deployments/{id}/stop","href":"/api-reference/controlplaneservice/stop-deployment"},{"title":"Machines","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /machines","href":"/api-reference/controlplaneservice/machines"},{"title":"Create machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /machines","href":"/api-reference/controlplaneservice/create-machine"},{"title":"Update machine availability","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /machines/availability","href":"/api-reference/controlplaneservice/update-machine-availability"},{"title":"Join machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /machines/join","href":"/api-reference/controlplaneservice/join-machine"},{"title":"Update machine route status","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /machines/routes/status","href":"/api-reference/controlplaneservice/update-machine-route-status"},{"title":"List machine routes","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /machines/routes:list","href":"/api-reference/controlplaneservice/list-machine-routes"},{"title":"Update machine SSH status","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /machines/ssh/status","href":"/api-reference/controlplaneservice/update-machine-ssh-status"},{"title":"Request machine transport credential","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /machines/transport-credential","href":"/api-reference/controlplaneservice/request-machine-transport-credential"},{"title":"Delete machine","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json delete /machines/{machineId}","href":"/api-reference/controlplaneservice/delete-machine"},{"title":"List marketplace listings","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /marketplace/listings","href":"/api-reference/controlplaneservice/list-marketplace-listings"},{"title":"Create marketplace listing","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /marketplace/listings","href":"/api-reference/controlplaneservice/create-marketplace-listing"},{"title":"Update marketplace listing","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /marketplace/listings/{listingId}","href":"/api-reference/controlplaneservice/update-marketplace-listing"},{"title":"Delete marketplace listing","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json delete /marketplace/listings/{listingId}","href":"/api-reference/controlplaneservice/delete-marketplace-listing"},{"title":"Get marketplace join command","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /marketplace/listings/{listingId}/join-command","href":"/api-reference/controlplaneservice/get-marketplace-join-command"},{"title":"List marketplace machines","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /marketplace/listings/{listingId}/machines","href":"/api-reference/controlplaneservice/list-marketplace-machines"},{"title":"List marketplace offers","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /marketplace/offers","href":"/api-reference/controlplaneservice/list-marketplace-offers"},{"title":"Get marketplace offer","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /marketplace/offers/{listingId}","href":"/api-reference/controlplaneservice/get-marketplace-offer"},{"title":"List marketplace rentals","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /marketplace/rentals","href":"/api-reference/controlplaneservice/list-marketplace-rentals"},{"title":"Create marketplace rental","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /marketplace/rentals","href":"/api-reference/controlplaneservice/create-marketplace-rental"},{"title":"Delete marketplace rental","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json delete /marketplace/rentals/{rentalId}","href":"/api-reference/controlplaneservice/delete-marketplace-rental"},{"title":"Launch rental workload","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /marketplace/rentals/{rentalId}/launch","href":"/api-reference/controlplaneservice/launch-rental-workload"},{"title":"Create object","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /objects","href":"/api-reference/controlplaneservice/create-object"},{"title":"Objects","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /objects/{hash}","href":"/api-reference/controlplaneservice/objects"},{"title":"Pools","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /pools","href":"/api-reference/controlplaneservice/pools"},{"title":"Create pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools","href":"/api-reference/controlplaneservice/create-pool"},{"title":"Create byoc pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/byoc","href":"/api-reference/controlplaneservice/create-byoc-pool"},{"title":"Revoke pool join token","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/join-tokens/revoke","href":"/api-reference/controlplaneservice/revoke-pool-join-token"},{"title":"List private pools","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /pools/private","href":"/api-reference/controlplaneservice/list-private-pools"},{"title":"Delete pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json delete /pools/{name}","href":"/api-reference/controlplaneservice/delete-pool"},{"title":"Extend pool capacity","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/{name}/extend","href":"/api-reference/controlplaneservice/extend-pool-capacity"},{"title":"Get byoc pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /pools/{poolName}/byoc","href":"/api-reference/controlplaneservice/get-byoc-pool"},{"title":"Scale byoc pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/{poolName}/byoc/scale","href":"/api-reference/controlplaneservice/scale-byoc-pool"},{"title":"Get pool join command","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/{poolName}/join-command","href":"/api-reference/controlplaneservice/get-pool-join-command"},{"title":"Create pool join token","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/{poolName}/join-tokens","href":"/api-reference/controlplaneservice/create-pool-join-token"},{"title":"List pool machines","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /pools/{poolName}/machines","href":"/api-reference/controlplaneservice/list-pool-machines"},{"title":"List machine containers","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /pools/{poolName}/machines/{machineId}/containers","href":"/api-reference/controlplaneservice/list-machine-containers"},{"title":"Activate machine SSH key","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/{poolName}/machines/{machineId}/ssh/key:activate","href":"/api-reference/controlplaneservice/activate-machine-ssh-key"},{"title":"Download machine SSH key","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/{poolName}/machines/{machineId}/ssh/key:download","href":"/api-reference/controlplaneservice/download-machine-ssh-key"},{"title":"Rotate machine SSH key","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools/{poolName}/machines/{machineId}/ssh/key:rotate","href":"/api-reference/controlplaneservice/rotate-machine-ssh-key"},{"title":"Launch pool capacity","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools:launch","href":"/api-reference/controlplaneservice/launch-pool-capacity"},{"title":"Private compute pools","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /pools:offers","href":"/api-reference/controlplaneservice/private-compute-pools"},{"title":"Stubs","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /stubs","href":"/api-reference/controlplaneservice/stubs"},{"title":"Deploy stub","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /stubs/deploy","href":"/api-reference/controlplaneservice/deploy-stub"},{"title":"Get URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /stubs/{stubId}/url","href":"/api-reference/controlplaneservice/get-url"},{"title":"List tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /tasks","href":"/api-reference/controlplaneservice/list-tasks"},{"title":"End task","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /tasks/end","href":"/api-reference/controlplaneservice/end-task"},{"title":"Tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /tasks/start","href":"/api-reference/controlplaneservice/tasks"},{"title":"Stop tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /tasks/stop","href":"/api-reference/controlplaneservice/stop-tasks"},{"title":"Tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /tokens","href":"/api-reference/controlplaneservice/tokens"},{"title":"Create token","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /tokens","href":"/api-reference/controlplaneservice/create-token"},{"title":"Delete token","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json delete /tokens/{tokenId}","href":"/api-reference/controlplaneservice/delete-token"},{"title":"Toggle token","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /tokens/{tokenId}/toggle","href":"/api-reference/controlplaneservice/toggle-token"},{"title":"Workers","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /workers","href":"/api-reference/controlplaneservice/workers"},{"title":"Cordon worker","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /workers/{workerId}/cordon","href":"/api-reference/controlplaneservice/cordon-worker"},{"title":"Drain worker","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /workers/{workerId}/drain","href":"/api-reference/controlplaneservice/drain-worker"},{"title":"Uncordon worker","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /workers/{workerId}/uncordon","href":"/api-reference/controlplaneservice/uncordon-worker"},{"title":"Workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json get /workspace/config","href":"/api-reference/controlplaneservice/workspace"},{"title":"Create a new workspace with a primary token (cluster admin only). Used by the dashboard\nto provision a workspace for a team or user that signed in.","deprecated":null,"version":null,"openapi":"/api-reference/openapi/controlplane.openapi.json post /workspaces","href":"/api-reference/controlplaneservice/create-a-new-workspace-with-a-primary-token-cluster-admin-only-used-by-the-dashboardto-provision-a-workspace-for-a-team-or-user-that-signed-in"}]}]},{"group":"Boxes","pages":[{"group":"BoxService","pages":[{"title":"Create a box","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes","href":"/api-reference/boxservice/create-a-box"},{"title":"Connect to a box","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/connect","href":"/api-reference/boxservice/connect-to-a-box"},{"title":"Snapshot a box's filesystem as a blueprint","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/create-image-from-filesystem","href":"/api-reference/boxservice/snapshot-a-boxs-filesystem-as-a-blueprint"},{"title":"Create a directory","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/directories","href":"/api-reference/boxservice/create-a-directory"},{"title":"Delete a directory","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json delete /boxes/{containerId}/directories/{containerPath}","href":"/api-reference/boxservice/delete-a-directory"},{"title":"Run a command","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/exec","href":"/api-reference/boxservice/run-a-command"},{"title":"List files","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/files","href":"/api-reference/boxservice/list-files"},{"title":"Download a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/files/download/{containerPath}","href":"/api-reference/boxservice/download-a-file"},{"title":"Find in files","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/files/find","href":"/api-reference/boxservice/find-in-files"},{"title":"Replace in files","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/files/replace","href":"/api-reference/boxservice/replace-in-files"},{"title":"Stat a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/files/stat","href":"/api-reference/boxservice/stat-a-file"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/files/upload","href":"/api-reference/boxservice/upload-a-file"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json delete /boxes/{containerId}/files/{containerPath}","href":"/api-reference/boxservice/delete-a-file"},{"title":"Kill a process","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/kill","href":"/api-reference/boxservice/kill-a-process"},{"title":"Update network permissions","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/network/update","href":"/api-reference/boxservice/update-network-permissions"},{"title":"Expose a port","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/ports/expose","href":"/api-reference/boxservice/expose-a-port"},{"title":"List processes","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/processes","href":"/api-reference/boxservice/list-processes"},{"title":"Snapshot the disks","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/snapshot-disks","href":"/api-reference/boxservice/snapshot-the-disks"},{"title":"Snapshot memory","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/snapshot-memory","href":"/api-reference/boxservice/snapshot-memory"},{"title":"Get status","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/status","href":"/api-reference/boxservice/get-status"},{"title":"Read stderr","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/stderr","href":"/api-reference/boxservice/read-stderr"},{"title":"Read stdout","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/stdout","href":"/api-reference/boxservice/read-stdout"},{"title":"Update the TTL","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json post /boxes/{containerId}/ttl","href":"/api-reference/boxservice/update-the-ttl"},{"title":"List exposed URLs","deprecated":null,"version":null,"openapi":"/api-reference/openapi/box.openapi.json get /boxes/{containerId}/urls","href":"/api-reference/boxservice/list-exposed-urls"}]}]},{"group":"Volumes","pages":[{"group":"VolumeService","pages":[{"title":"List volumes","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json get /volumes","href":"/api-reference/volumeservice/list-volumes"},{"title":"Get or create a volume","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes","href":"/api-reference/volumeservice/get-or-create-a-volume"},{"title":"Copy path stream","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/copy-path","href":"/api-reference/volumeservice/copy-path-stream"},{"title":"Multipart Upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json get /volumes/file-service-info","href":"/api-reference/volumeservice/multipart-upload"},{"title":"Create multipart upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/multipart-upload","href":"/api-reference/volumeservice/create-multipart-upload"},{"title":"Abort multipart upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/multipart-upload/abort","href":"/api-reference/volumeservice/abort-multipart-upload"},{"title":"Complete multipart upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/multipart-upload/complete","href":"/api-reference/volumeservice/complete-multipart-upload"},{"title":"Create presigned URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/presigned-url","href":"/api-reference/volumeservice/create-presigned-url"},{"title":"Delete volume","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/{name}/delete","href":"/api-reference/volumeservice/delete-volume"},{"title":"Move path","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/{originalPath}/move","href":"/api-reference/volumeservice/move-path"},{"title":"List path","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json get /volumes/{path}","href":"/api-reference/volumeservice/list-path"},{"title":"Delete path","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json post /volumes/{path}/delete","href":"/api-reference/volumeservice/delete-path"},{"title":"Stat path","deprecated":null,"version":null,"openapi":"/api-reference/openapi/volume.openapi.json get /volumes/{path}/stat","href":"/api-reference/volumeservice/stat-path"}]}]},{"group":"Blueprints","pages":[{"group":"BlueprintService","pages":[{"title":"Build a blueprint","deprecated":null,"version":null,"openapi":"/api-reference/openapi/blueprint.openapi.json post /blueprints/build","href":"/api-reference/blueprintservice/build-a-blueprint"},{"title":"Verify a blueprint build","deprecated":null,"version":null,"openapi":"/api-reference/openapi/blueprint.openapi.json post /blueprints/verify-build","href":"/api-reference/blueprintservice/verify-a-blueprint-build"}]}]},{"group":"Disks","pages":[{"group":"DiskService","pages":[{"title":"List disks","deprecated":null,"version":null,"openapi":"/api-reference/openapi/disk.openapi.json get /disks","href":"/api-reference/diskservice/list-disks"},{"title":"Get or create a disk","deprecated":null,"version":null,"openapi":"/api-reference/openapi/disk.openapi.json post /disks","href":"/api-reference/diskservice/get-or-create-a-disk"},{"title":"List disk snapshots","deprecated":null,"version":null,"openapi":"/api-reference/openapi/disk.openapi.json get /disks/snapshots","href":"/api-reference/diskservice/list-disk-snapshots"},{"title":"Delete disk","deprecated":null,"version":null,"openapi":"/api-reference/openapi/disk.openapi.json post /disks/{name}/delete","href":"/api-reference/diskservice/delete-disk"}]}]}]}]},"title":"Stubs - levers9","buildId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","deploymentId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rBlzXElK.js","utils-AjnlCZis.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-swvqTHUt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CG9fqVU0.js","snippetPresets-CQaUsst6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-DAdT3l54.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B1x8JMQI.js","shallow-D3oUTT8_.js","getApiPlaygroundDisplay-CXVJ98Sz.js","CodeSnippet-HbTSvyGs.js","CodeSnippets-DvgXFP0T.js","Page-C2raW8UD.js","getPastedJson-CfDE0eLj.js","icon-DBPqa2DN.js","MethodPill-86CHHFOO.js","DuplicateIcon-B5BXvyBd.js","createIcon-C_r05QJX.js","DynamicMarkdown-Cp6hhEk1.js","SectionHeading-RZjzOLoo.js","axios-vUo_bRtp.js","Markdown-B0YOyiNO.js","clsx-Q3eNRTcf.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-tb1XVL5i.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9O1lyZBL.js"]}