Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.
Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.
Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.
Days a machine stays paused before it is deleted, counted from when it paused. Null clears it; omitted leaves it unchanged. Requires pause_after_idle_minutes; cannot be combined with archive_after_paused_days.
User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - BMA sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted.
Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.
Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.
Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.
Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.
Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"BMA Developer Docs","description":"BMA (BeeOS Managed Agents): an open-source agent runtime. Any brain × any hands, computer use, remote desktop, terminal, a replaceable scheduler and a durable event log, with the Anthropic Managed Agents API under /v1, the official SDKs and the Executor Protocol.","colors":{"primary":"#F97316","light":"#FB923C","dark":"#C2410C"},"logo":{"light":"/logo/light.svg","dark":"/logo/dark.svg","href":"/"},"favicon":"/favicon.svg","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","python","javascript","go"]}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"https://github.com/beeos-ai/bma-sdk","label":"bma-sdk"},{"href":"https://github.com/beeos-ai/bma-executor-sdk","label":"bma-executor-sdk"}]},"footer":{"socials":{"github":"https://github.com/beeos-ai"}},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"integrations":{"telemetry":{"enabled":false}},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"zh","href":"zh"},{"language":"zh-Hant","href":"zh-Hant"},{"language":"ja","href":"ja"},{"language":"ko","href":"ko"}]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4094"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[],"page":{"pagePath":"api-reference/extensions/machine-pools/update-a-machine-pool","slug":"/api-reference/extensions/machine-pools/update-a-machine-pool","pageMetadata":{"openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machine_pools/{pool_id}","description":"","href":"/api-reference/extensions/machine-pools/update-a-machine-pool","title":"Update a machine pool"},"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":{"openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machine_pools/{pool_id}","description":"","href":"/api-reference/extensions/machine-pools/update-a-machine-pool","title":"Update a machine pool"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateMachinePool","tags":["Machine pools"],"summary":"Update a machine pool","x-bma-extension":true,"parameters":["8d284723-1abe-428d-ae18-491c792fb26a"],"requestBody":"fc7e0fc1-8130-4181-ad5b-efa41baa15a2","responses":{"200":"58b6edaa-2a16-46da-8c63-71a0c89c4978","4XX":"c40e5d08-da68-48ef-b5b6-a2b276fad80c","5XX":"6538f2da-cfe8-4a1f-b04c-d6f8df20c5a5"},"method":"post","type":"path","servers":["0d7c9996-7375-41de-accd-0dc44cb88cc0"],"security":["544cfc9b-fac7-4d5f-a7c6-92ddae464f02","29e4307d-fe83-40de-a400-540b0abaa47f"],"path":"/machine_pools/{pool_id}","baseUrlOptions":["https://api.staging.bma.beeos.ai/v1"],"title":"Update a machine pool","description":"","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8d284723-1abe-428d-ae18-491c792fb26a":{"name":"pool_id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":64,"x-bma-unicode-normalization":"NFC","description":"Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.","uniqueKey":"name","typeLabel":"string"},"description":{"description":"Optional description of the pool.","type":"string","uniqueKey":"description","typeLabel":"string"},"default_machine_cpu":{"oneOf":[{"description":"Default CPU count for new machines in the pool.","type":"integer","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"default_machine_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Default CPU count for new machines in the pool.","type":"null","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"default_machine_cpu.oneOf.1","typeLabel":"null"}],"uniqueKey":"default_machine_cpu","typeLabel":"integer\u003cint32> | null"},"default_machine_memory_mb":{"oneOf":[{"description":"Default memory in MB for new machines in the pool.","type":"integer","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"default_machine_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Default memory in MB for new machines in the pool.","type":"null","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"default_machine_memory_mb.oneOf.1","typeLabel":"null"}],"uniqueKey":"default_machine_memory_mb","typeLabel":"integer\u003cint32> | null"},"default_machine_env":{"description":"Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.","type":"object","additionalProperties":{"type":"string","uniqueKey":"default_machine_env.additionalProperties","typeLabel":"string"},"uniqueKey":"default_machine_env","typeLabel":"object"},"default_machine_secret_env":{"description":"Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.","type":"object","additionalProperties":{"description":"Secret ID (sec_...).","type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"default_machine_secret_env.additionalProperties","typeLabel":"string"},"uniqueKey":"default_machine_secret_env","typeLabel":"object"},"default_machine_provider_options":{"description":"Provider-specific options applied to new machines in the pool.","type":"object","additionalProperties":true,"uniqueKey":"default_machine_provider_options","typeLabel":"object"},"default_cwd":{"description":"Default working directory for processes on machines created from the pool after this change.","type":"string","uniqueKey":"default_cwd","typeLabel":"string"},"provider_config":{"description":"Provider-specific settings for the pool.","type":"object","additionalProperties":true,"uniqueKey":"provider_config","typeLabel":"object"},"provider_auth_secret_id":{"description":"Secret ID (sec_...).","type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"provider_auth_secret_id","typeLabel":"string"},"runtime_protection_enabled":{"description":"Whether BMA should delete a pool machine when its provider remains running after its daemon becomes inactive.","type":"boolean","uniqueKey":"runtime_protection_enabled","typeLabel":"boolean"},"max_total_machines":{"description":"Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"max_total_machines","typeLabel":"integer\u003cint32>"},"max_total_cpu":{"oneOf":[{"description":"Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"max_total_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.","type":"null","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"max_total_cpu.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_total_cpu","typeLabel":"integer\u003cint32> | null"},"max_total_memory_mb":{"oneOf":[{"description":"Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"max_total_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.","type":"null","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"max_total_memory_mb.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_total_memory_mb","typeLabel":"integer\u003cint32> | null"},"min_machine_cpu":{"oneOf":[{"description":"Smallest CPU count a single machine in the pool can use.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"min_machine_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Smallest CPU count a single machine in the pool can use.","type":"null","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"min_machine_cpu.oneOf.1","typeLabel":"null"}],"uniqueKey":"min_machine_cpu","typeLabel":"integer\u003cint32> | null"},"min_machine_memory_mb":{"oneOf":[{"description":"Smallest memory in MB a single machine in the pool can use.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"min_machine_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Smallest memory in MB a single machine in the pool can use.","type":"null","format":"int32","minimum":0,"maximum":2147483647,"uniqueKey":"min_machine_memory_mb.oneOf.1","typeLabel":"null"}],"uniqueKey":"min_machine_memory_mb","typeLabel":"integer\u003cint32> | null"},"max_machine_cpu":{"oneOf":[{"description":"Largest CPU count a single machine in the pool can use.","type":"integer","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"max_machine_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Largest CPU count a single machine in the pool can use.","type":"null","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"max_machine_cpu.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_machine_cpu","typeLabel":"integer\u003cint32> | null"},"max_machine_memory_mb":{"oneOf":[{"description":"Largest memory in MB a single machine in the pool can use.","type":"integer","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"max_machine_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Largest memory in MB a single machine in the pool can use.","type":"null","format":"int32","minimum":1,"maximum":2147483647,"uniqueKey":"max_machine_memory_mb.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_machine_memory_mb","typeLabel":"integer\u003cint32> | null"},"delete_after_idle_minutes":{"oneOf":[{"description":"Idle minutes before deleting a machine from this pool. Null clears the pool default; omitted leaves it unchanged.","type":"integer","format":"int32","minimum":5,"maximum":2147483647,"uniqueKey":"delete_after_idle_minutes.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Idle minutes before deleting a machine from this pool. Null clears the pool default; omitted leaves it unchanged.","type":"null","format":"int32","minimum":5,"maximum":2147483647,"uniqueKey":"delete_after_idle_minutes.oneOf.1","typeLabel":"null"}],"uniqueKey":"delete_after_idle_minutes","typeLabel":"integer\u003cint32> | null"},"pause_after_idle_minutes":{"oneOf":[{"description":"Idle minutes before pausing a machine from this pool. Null clears it; omitted leaves it unchanged. Exclusive with delete_after_idle_minutes.","type":"integer","format":"int32","minimum":5,"maximum":2147483647,"uniqueKey":"pause_after_idle_minutes.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Idle minutes before pausing a machine from this pool. Null clears it; omitted leaves it unchanged. Exclusive with delete_after_idle_minutes.","type":"null","format":"int32","minimum":5,"maximum":2147483647,"uniqueKey":"pause_after_idle_minutes.oneOf.1","typeLabel":"null"}],"uniqueKey":"pause_after_idle_minutes","typeLabel":"integer\u003cint32> | null"},"archive_after_paused_days":{"oneOf":[{"description":"Days a machine stays paused before it is archived. Null clears it; omitted leaves it unchanged. Requires pause_after_idle_minutes.","type":"integer","format":"int32","minimum":1,"maximum":3650,"uniqueKey":"archive_after_paused_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Days a machine stays paused before it is archived. Null clears it; omitted leaves it unchanged. Requires pause_after_idle_minutes.","type":"null","format":"int32","minimum":1,"maximum":3650,"uniqueKey":"archive_after_paused_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"archive_after_paused_days","typeLabel":"integer\u003cint32> | null"},"delete_after_paused_days":{"oneOf":[{"description":"Days a machine stays paused before it is deleted, counted from when it paused. Null clears it; omitted leaves it unchanged. Requires pause_after_idle_minutes; cannot be combined with archive_after_paused_days.","type":"integer","format":"int32","minimum":1,"maximum":3650,"uniqueKey":"delete_after_paused_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Days a machine stays paused before it is deleted, counted from when it paused. Null clears it; omitted leaves it unchanged. Requires pause_after_idle_minutes; cannot be combined with archive_after_paused_days.","type":"null","format":"int32","minimum":1,"maximum":3650,"uniqueKey":"delete_after_paused_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"delete_after_paused_days","typeLabel":"integer\u003cint32> | null"},"metadata":{"type":"object","description":"User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - BMA sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/beeos-ai/beeos-managed-agents/backend/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":15,"propertyNames":{"minLength":1,"maxLength":64},"not":{"required":["observed_platform"]},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","description":"\u003cstring>","default_machine_cpu":1073741824,"default_machine_memory_mb":1073741824,"default_machine_env":{},"default_machine_secret_env":{},"default_machine_provider_options":{},"default_cwd":"\u003cstring>","provider_config":{},"provider_auth_secret_id":"\u003cstring>","runtime_protection_enabled":true,"max_total_machines":1073741823,"max_total_cpu":1073741823,"max_total_memory_mb":1073741823,"min_machine_cpu":1073741823,"min_machine_memory_mb":1073741823,"max_machine_cpu":1073741824,"max_machine_memory_mb":1073741824,"delete_after_idle_minutes":1073741826,"pause_after_idle_minutes":1073741826,"archive_after_paused_days":1825,"delete_after_paused_days":1825,"metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"58b6edaa-2a16-46da-8c63-71a0c89c4978":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","required":["type","id","org_id","name","management_kind","description","provider","default_machine_cpu","default_machine_memory_mb","default_machine_env","default_machine_secret_env","default_machine_provider_options","default_cwd","provider_config","runtime_protection_enabled","max_total_machines","max_total_cpu","max_total_memory_mb","min_machine_cpu","min_machine_memory_mb","max_machine_cpu","max_machine_memory_mb","delete_after_idle_minutes","pause_after_idle_minutes","archive_after_paused_days","delete_after_paused_days","metadata","created_at","updated_at"],"properties":{"type":{"type":"string","const":"machine_pool","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"id":{"description":"Machine pool ID (mpo_...).","type":"string","pattern":"^mpo_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"org_id":{"type":"string","pattern":"^org_[a-z2-7]{26}$","isRequired":true,"uniqueKey":"org_id","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":64,"x-bma-unicode-normalization":"NFC","description":"Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"management_kind":{"type":"string","description":"Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.","enum":["tenant","cluster"],"isRequired":true,"uniqueKey":"management_kind","typeLabel":"enum\u003cstring>"},"description":{"type":"string","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"provider":{"type":"string","isRequired":true,"uniqueKey":"provider","typeLabel":"string"},"default_machine_cpu":{"oneOf":[{"type":"integer","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"default_machine_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"default_machine_cpu.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"default_machine_cpu","typeLabel":"integer\u003cint32> | null"},"default_machine_memory_mb":{"oneOf":[{"type":"integer","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"default_machine_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"default_machine_memory_mb.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"default_machine_memory_mb","typeLabel":"integer\u003cint32> | null"},"default_machine_env":{"description":"Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.","type":"object","additionalProperties":{"type":"string","uniqueKey":"default_machine_env.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"default_machine_env","typeLabel":"object"},"default_machine_secret_env":{"description":"Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.","type":"object","additionalProperties":{"description":"Secret ID (sec_...).","type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"default_machine_secret_env.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"default_machine_secret_env","typeLabel":"object"},"default_machine_provider_options":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"default_machine_provider_options","typeLabel":"object"},"default_cwd":{"type":"string","isRequired":true,"uniqueKey":"default_cwd","typeLabel":"string"},"provider_config":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"provider_config","typeLabel":"object"},"runtime_protection_enabled":{"description":"Whether BMA deletes this pool's machines when the provider remains running after the daemon becomes inactive.","type":"boolean","isRequired":true,"uniqueKey":"runtime_protection_enabled","typeLabel":"boolean"},"max_total_machines":{"description":"Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_total_machines","typeLabel":"integer\u003cint32>"},"max_total_cpu":{"oneOf":[{"description":"Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_total_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.","type":"null","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_total_cpu.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"max_total_cpu","typeLabel":"integer\u003cint32> | null"},"max_total_memory_mb":{"oneOf":[{"description":"Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.","type":"integer","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_total_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.","type":"null","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_total_memory_mb.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"max_total_memory_mb","typeLabel":"integer\u003cint32> | null"},"min_machine_cpu":{"oneOf":[{"type":"integer","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"min_machine_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"min_machine_cpu.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"min_machine_cpu","typeLabel":"integer\u003cint32> | null"},"min_machine_memory_mb":{"oneOf":[{"type":"integer","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"min_machine_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":0,"maximum":2147483647,"isRequired":true,"uniqueKey":"min_machine_memory_mb.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"min_machine_memory_mb","typeLabel":"integer\u003cint32> | null"},"max_machine_cpu":{"oneOf":[{"type":"integer","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_machine_cpu.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_machine_cpu.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"max_machine_cpu","typeLabel":"integer\u003cint32> | null"},"max_machine_memory_mb":{"oneOf":[{"type":"integer","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_machine_memory_mb.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":1,"maximum":2147483647,"isRequired":true,"uniqueKey":"max_machine_memory_mb.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"max_machine_memory_mb","typeLabel":"integer\u003cint32> | null"},"delete_after_idle_minutes":{"oneOf":[{"description":"Idle minutes before deleting a machine from this pool, or null when the pool default is unset.","type":"integer","format":"int32","minimum":5,"maximum":2147483647,"isRequired":true,"uniqueKey":"delete_after_idle_minutes.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Idle minutes before deleting a machine from this pool, or null when the pool default is unset.","type":"null","format":"int32","minimum":5,"maximum":2147483647,"isRequired":true,"uniqueKey":"delete_after_idle_minutes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"delete_after_idle_minutes","typeLabel":"integer\u003cint32> | null"},"pause_after_idle_minutes":{"oneOf":[{"description":"Idle minutes before pausing a machine from this pool, or null when the pool does not pause idle machines.","type":"integer","format":"int32","minimum":5,"maximum":2147483647,"isRequired":true,"uniqueKey":"pause_after_idle_minutes.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Idle minutes before pausing a machine from this pool, or null when the pool does not pause idle machines.","type":"null","format":"int32","minimum":5,"maximum":2147483647,"isRequired":true,"uniqueKey":"pause_after_idle_minutes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"pause_after_idle_minutes","typeLabel":"integer\u003cint32> | null"},"archive_after_paused_days":{"oneOf":[{"description":"Days a machine stays paused before it is archived, or null when the pool does not archive.","type":"integer","format":"int32","minimum":1,"maximum":3650,"isRequired":true,"uniqueKey":"archive_after_paused_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Days a machine stays paused before it is archived, or null when the pool does not archive.","type":"null","format":"int32","minimum":1,"maximum":3650,"isRequired":true,"uniqueKey":"archive_after_paused_days.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"archive_after_paused_days","typeLabel":"integer\u003cint32> | null"},"delete_after_paused_days":{"oneOf":[{"description":"Days a machine stays paused before it is deleted, counted from when it paused, or null when the pool keeps paused machines.","type":"integer","format":"int32","minimum":1,"maximum":3650,"isRequired":true,"uniqueKey":"delete_after_paused_days.oneOf.0","typeLabel":"integer\u003cint32>"},{"description":"Days a machine stays paused before it is deleted, counted from when it paused, or null when the pool keeps paused machines.","type":"null","format":"int32","minimum":1,"maximum":3650,"isRequired":true,"uniqueKey":"delete_after_paused_days.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"delete_after_paused_days","typeLabel":"integer\u003cint32> | null"},"metadata":{"type":"object","description":"Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.","x-go-type":"resourcemeta.Metadata","x-go-type-import":{"path":"github.com/beeos-ai/beeos-managed-agents/backend/internal/resourcemeta"},"x-go-type-skip-optional-pointer":true,"maxProperties":16,"propertyNames":{"minLength":1,"maxLength":64},"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"metadata","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"provider_auth_secret_id":{"description":"Secret ID (sec_...).","type":"string","pattern":"^sec_[a-z2-7]{26}$","uniqueKey":"provider_auth_secret_id","typeLabel":"string"},"usage":{"type":"object","additionalProperties":false,"required":["machines","cpu","memory_mb"],"properties":{"machines":{"type":"integer","format":"int32","minimum":0,"isRequired":true,"uniqueKey":"usage.machines","typeLabel":"integer\u003cint32>"},"cpu":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"usage.cpu","typeLabel":"integer\u003cint64>"},"memory_mb":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"usage.memory_mb","typeLabel":"integer\u003cint64>"}},"description":"Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint.","uniqueKey":"usage","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"machine_pool","id":"\u003cstring>","org_id":"\u003cstring>","name":"\u003cstring>","management_kind":"tenant","description":"\u003cstring>","provider":"\u003cstring>","default_machine_cpu":1073741824,"default_machine_memory_mb":1073741824,"default_machine_env":{},"default_machine_secret_env":{},"default_machine_provider_options":{},"default_cwd":"\u003cstring>","provider_config":{},"runtime_protection_enabled":true,"max_total_machines":1073741823,"max_total_cpu":1073741823,"max_total_memory_mb":1073741823,"min_machine_cpu":1073741823,"min_machine_memory_mb":1073741823,"max_machine_cpu":1073741824,"max_machine_memory_mb":1073741824,"delete_after_idle_minutes":1073741826,"pause_after_idle_minutes":1073741826,"archive_after_paused_days":1825,"delete_after_paused_days":1825,"metadata":{},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","provider_auth_secret_id":"\u003cstring>","usage":{"machines":1,"cpu":1,"memory_mb":1}}}},"exampleType":"generated"}},"exampleType":"generated"},"c40e5d08-da68-48ef-b5b6-a2b276fad80c":{"description":"Anthropic error envelope.","content":{"application/json":{"schema":{"type":"object","required":["type","error"],"properties":{"type":{"const":"error","isRequired":true,"uniqueKey":"type","typeLabel":"any"},"error":{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","enum":["invalid_request_error","authentication_error","permission_error","not_found_error","rate_limit_error","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"BMA reason.","uniqueKey":"error.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"invalid_request_error","message":"\u003cstring>","code":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6538f2da-cfe8-4a1f-b04c-d6f8df20c5a5":{"description":"Anthropic error envelope.","content":{"application/json":{"schema":{"type":"object","required":["type","error"],"properties":{"type":{"const":"error","isRequired":true,"uniqueKey":"type","typeLabel":"any"},"error":{"type":"object","required":["type","message"],"properties":{"type":{"type":"string","enum":["invalid_request_error","authentication_error","permission_error","not_found_error","rate_limit_error","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"BMA reason.","uniqueKey":"error.code","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"error","error":{"type":"invalid_request_error","message":"\u003cstring>","code":"\u003cstring>"},"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"544cfc9b-fac7-4d5f-a7c6-92ddae464f02":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKey"}},"29e4307d-fe83-40de-a400-540b0abaa47f":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"0d7c9996-7375-41de-accd-0dc44cb88cc0":{"url":"https://api.staging.bma.beeos.ai/v1","description":"Hosted BMA"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"},{"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/managed-agents-extensions.openapi.yaml"},"subdomain":"localhost","siteName":"BMA Developer Docs","title":"Update a machine pool - BMA Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/extensions/machine-pools/update-a-machine-pool","matchLevel":0},"zh":{"href":"/zh/api-reference/extensions/machine-pools/update-a-machine-pool","matchLevel":1},"zh-Hant":{"href":"/zh-hant/api-reference/extensions/machine-pools/update-a-machine-pool","matchLevel":1},"ja":{"href":"/ja/api-reference/extensions/machine-pools/update-a-machine-pool","matchLevel":1},"ko":{"href":"/ko/api-reference/extensions/machine-pools/update-a-machine-pool","matchLevel":1}}},"originalFileLocation":"api-reference/extensions/machine-pools/update-a-machine-pool.mdx","locale":"en"},"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=\"BMA Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a machine pool - BMA Developer Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BMA Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./api-reference/extensions/machine-pools/update-a-machine-pool\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update a machine pool - BMA Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BMA Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F97316\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./api-reference/extensions/machine-pools/update-a-machine-pool\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/extensions/machine-pools/update-a-machine-pool.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://local./api-reference/extensions/machine-pools/update-a-machine-pool\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://local./zh/api-reference/extensions/machine-pools/update-a-machine-pool\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://local./zh-hant/api-reference/extensions/machine-pools/update-a-machine-pool\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://local./ja/api-reference/extensions/machine-pools/update-a-machine-pool\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://local./ko/api-reference/extensions/machine-pools/update-a-machine-pool\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://local./api-reference/extensions/machine-pools/update-a-machine-pool\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BMA Developer Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"BMA Developer Docs","nav":{"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","icon":"book","href":"/api-reference/introduction"},{"title":"Use the official Anthropic SDK","sidebarTitle":"Anthropic SDK","icon":"scale-balanced","href":"/compatibility"}]},{"group":"Managed Agents extensions","pages":[{"group":"Projects","pages":[{"title":"List the projects the key can see","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /organizations/{organization_id}/projects","href":"/api-reference/extensions/projects/list-the-projects-the-key-can-see"},{"title":"Create a project","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /organizations/{organization_id}/projects","href":"/api-reference/extensions/projects/create-a-project"},{"title":"List the projects the key can see (deprecated alias)","deprecated":true,"openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /orgs/{org_id}/projects","href":"/api-reference/extensions/projects/list-the-projects-the-key-can-see-deprecated-alias"},{"title":"Create a project (deprecated alias of /organizations/{organization_id}/projects)","deprecated":true,"openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /orgs/{org_id}/projects","href":"/api-reference/extensions/projects/create-a-project-deprecated-alias-of-organizations-projects"}]},{"group":"Machine pools","pages":[{"title":"List machine pools","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /machine_pools","href":"/api-reference/extensions/machine-pools/list-machine-pools"},{"title":"Create a machine pool","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machine_pools","href":"/api-reference/extensions/machine-pools/create-a-machine-pool"},{"title":"Check provider connectivity before creating a pool","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machine_pools/check_connection","href":"/api-reference/extensions/machine-pools/check-provider-connectivity-before-creating-a-pool"},{"title":"Retrieve a machine pool","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /machine_pools/{pool_id}","href":"/api-reference/extensions/machine-pools/retrieve-a-machine-pool"},{"title":"Update a machine pool","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machine_pools/{pool_id}","href":"/api-reference/extensions/machine-pools/update-a-machine-pool"},{"title":"Delete a machine pool","openapi":"/api-reference/managed-agents-extensions.openapi.yaml delete /machine_pools/{pool_id}","href":"/api-reference/extensions/machine-pools/delete-a-machine-pool"},{"title":"List the pool grants of a project","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /machine_pools/{pool_id}/grants","href":"/api-reference/extensions/machine-pools/list-the-pool-grants-of-a-project"},{"title":"Grant a project the use of a pool","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machine_pools/{pool_id}/grants","href":"/api-reference/extensions/machine-pools/grant-a-project-the-use-of-a-pool"},{"title":"Retrieve a pool grant","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /machine_pools/{pool_id}/grants/{grant_id}","href":"/api-reference/extensions/machine-pools/retrieve-a-pool-grant"},{"title":"Update a pool grant","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machine_pools/{pool_id}/grants/{grant_id}","href":"/api-reference/extensions/machine-pools/update-a-pool-grant"},{"title":"Delete a pool grant","openapi":"/api-reference/managed-agents-extensions.openapi.yaml delete /machine_pools/{pool_id}/grants/{grant_id}","href":"/api-reference/extensions/machine-pools/delete-a-pool-grant"}]},{"group":"Machines","pages":[{"title":"List machines","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /machines","href":"/api-reference/extensions/machines/list-machines"},{"title":"Create a machine","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machines","href":"/api-reference/extensions/machines/create-a-machine"},{"title":"Retrieve a machine","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /machines/{machine_id}","href":"/api-reference/extensions/machines/retrieve-a-machine"},{"title":"Update a machine","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machines/{machine_id}","href":"/api-reference/extensions/machines/update-a-machine"},{"title":"Delete a machine","openapi":"/api-reference/managed-agents-extensions.openapi.yaml delete /machines/{machine_id}","href":"/api-reference/extensions/machines/delete-a-machine"},{"title":"Resume a paused machine","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /machines/{machine_id}/resume","href":"/api-reference/extensions/machines/resume-a-paused-machine"},{"title":"Machine interaction capabilities","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /machines/{machine_id}/capabilities","href":"/api-reference/extensions/machines/machine-interaction-capabilities"}]},{"group":"Desktop sessions","pages":[{"title":"Create a desktop session","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions","href":"/api-reference/extensions/desktop-sessions/create-a-desktop-session"},{"title":"Retrieve a desktop session (control state in `control`)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /desktop_sessions/{desktop_session_id}","href":"/api-reference/extensions/desktop-sessions/retrieve-a-desktop-session-control-state-in-`control`"},{"title":"Close a desktop session","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/close","href":"/api-reference/extensions/desktop-sessions/close-a-desktop-session"},{"title":"Take input control","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/acquire_control","href":"/api-reference/extensions/desktop-sessions/take-input-control"},{"title":"Renew the control lease","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/renew_control","href":"/api-reference/extensions/desktop-sessions/renew-the-control-lease"},{"title":"Release control","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/release_control","href":"/api-reference/extensions/desktop-sessions/release-control"},{"title":"Hand control back to the agent","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/handback_control","href":"/api-reference/extensions/desktop-sessions/hand-control-back-to-the-agent"},{"title":"Send input actions","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/actions","href":"/api-reference/extensions/desktop-sessions/send-input-actions"},{"title":"Capture a screenshot","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/screenshot","href":"/api-reference/extensions/desktop-sessions/capture-a-screenshot"},{"title":"Resume the desktop agent","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/resume_agent","href":"/api-reference/extensions/desktop-sessions/resume-the-desktop-agent"},{"title":"Confirm a pending agent action","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/pending_actions/{pending_id}/confirm","href":"/api-reference/extensions/desktop-sessions/confirm-a-pending-agent-action"},{"title":"Mint a single-use ticket (purpose watch)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/tickets","href":"/api-reference/extensions/desktop-sessions/mint-a-single-use-ticket-purpose-watch"},{"title":"Mint a single-use viewer ticket (deprecated alias of tickets)","deprecated":true,"openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /desktop_sessions/{desktop_session_id}/watch_tickets","href":"/api-reference/extensions/desktop-sessions/mint-a-single-use-viewer-ticket-deprecated-alias-of-tickets"}]},{"group":"Terminal sessions","pages":[{"title":"List the terminal sessions of a machine","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /terminal_sessions","href":"/api-reference/extensions/terminal-sessions/list-the-terminal-sessions-of-a-machine"},{"title":"Open a terminal session (body machine_id)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /terminal_sessions","href":"/api-reference/extensions/terminal-sessions/open-a-terminal-session-body-machine_id"},{"title":"Retrieve a terminal session","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /terminal_sessions/{terminal_session_id}","href":"/api-reference/extensions/terminal-sessions/retrieve-a-terminal-session"},{"title":"Close a terminal session","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /terminal_sessions/{terminal_session_id}/close","href":"/api-reference/extensions/terminal-sessions/close-a-terminal-session"},{"title":"Mint a single-use ticket (purpose connect)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /terminal_sessions/{terminal_session_id}/tickets","href":"/api-reference/extensions/terminal-sessions/mint-a-single-use-ticket-purpose-connect"},{"title":"Mint a single-use connection ticket (deprecated alias of tickets)","deprecated":true,"openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /terminal_sessions/{terminal_session_id}/connection_tickets","href":"/api-reference/extensions/terminal-sessions/mint-a-single-use-connection-ticket-deprecated-alias-of-tickets"}]},{"group":"Vaults","pages":[{"title":"List vaults","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /vaults","href":"/api-reference/extensions/vaults/list-vaults"},{"title":"Create a vault","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /vaults","href":"/api-reference/extensions/vaults/create-a-vault"},{"title":"Retrieve a vault","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /vaults/{vault_id}","href":"/api-reference/extensions/vaults/retrieve-a-vault"},{"title":"Update a vault","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /vaults/{vault_id}","href":"/api-reference/extensions/vaults/update-a-vault"},{"title":"Delete a vault","openapi":"/api-reference/managed-agents-extensions.openapi.yaml delete /vaults/{vault_id}","href":"/api-reference/extensions/vaults/delete-a-vault"},{"title":"Archive a vault","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /vaults/{vault_id}/archive","href":"/api-reference/extensions/vaults/archive-a-vault"},{"title":"List credentials","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /vaults/{vault_id}/credentials","href":"/api-reference/extensions/vaults/list-credentials"},{"title":"Create a credential","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /vaults/{vault_id}/credentials","href":"/api-reference/extensions/vaults/create-a-credential"},{"title":"Retrieve a credential","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/extensions/vaults/retrieve-a-credential"},{"title":"Update or rotate a credential","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/extensions/vaults/update-or-rotate-a-credential"},{"title":"Delete a credential","openapi":"/api-reference/managed-agents-extensions.openapi.yaml delete /vaults/{vault_id}/credentials/{credential_id}","href":"/api-reference/extensions/vaults/delete-a-credential"},{"title":"Archive a credential","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /vaults/{vault_id}/credentials/{credential_id}/archive","href":"/api-reference/extensions/vaults/archive-a-credential"}]},{"group":"Skills","pages":[{"title":"List skills","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /skills","href":"/api-reference/extensions/skills/list-skills"},{"title":"Create a skill","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /skills","href":"/api-reference/extensions/skills/create-a-skill"},{"title":"Retrieve a skill","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /skills/{skill_id}","href":"/api-reference/extensions/skills/retrieve-a-skill"},{"title":"Delete a skill","openapi":"/api-reference/managed-agents-extensions.openapi.yaml delete /skills/{skill_id}","href":"/api-reference/extensions/skills/delete-a-skill"}]},{"group":"API Reference","pages":[{"title":"List files uploaded into the session (BMA extension)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /sessions/{session_id}/files","href":"/api-reference/extensions/list-files-uploaded-into-the-session-bma-extension"},{"title":"Upload one file into the session (BMA extension)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /sessions/{session_id}/files","href":"/api-reference/extensions/upload-one-file-into-the-session-bma-extension"},{"title":"Download one session file (BMA extension)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /sessions/{session_id}/files/{file_id}/content","href":"/api-reference/extensions/download-one-session-file-bma-extension"},{"title":"List the session's mounted file resources (BMA extension)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml get /sessions/{session_id}/resources","href":"/api-reference/extensions/list-the-sessions-mounted-file-resources-bma-extension"},{"title":"Mount one project file into the session (BMA extension)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml post /sessions/{session_id}/resources","href":"/api-reference/extensions/mount-one-project-file-into-the-session-bma-extension"},{"title":"Unmount one file resource from the session (BMA extension)","openapi":"/api-reference/managed-agents-extensions.openapi.yaml delete /sessions/{session_id}/resources/{resource_id}","href":"/api-reference/extensions/unmount-one-file-resource-from-the-session-bma-extension"}]}]}]},{"tab":"Self-hosting","pages":[{"title":"Self-hosting","href":"/self-hosting/overview"}]},{"tab":"Changelog \u0026 roadmap","pages":[{"title":"Changelog \u0026 roadmap","href":"/changelog"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/extensions/machine-pools/update-a-machine-pool"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-hant/api-reference/extensions/machine-pools/update-a-machine-pool"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/extensions/machine-pools/update-a-machine-pool"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/extensions/machine-pools/update-a-machine-pool"}]}]},"basePath":"","title":"Update a machine pool - BMA Developer Docs","buildId":"c8a775502049","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CVHg0w-m.js","utils-BjAqM3nE.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BfYWFTOm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CIRAtZ4t.js","snippetPresets-NHAbf5y0.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-C6Yccnv-.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cl0Ax1lR.js","shallow-Dq5-SwG1.js","getApiPlaygroundDisplay-BWau_pmk.js","CodeSnippet-DNgH4omo.js","CodeSnippets-3HFYzEMx.js","Page-YNuLxEEp.js","getPastedJson-GWgZpJy0.js","icon-HMNWawTa.js","MethodPill-DbdJv0SE.js","DuplicateIcon-DK5o2DOi.js","createIcon-BhUMOhLi.js","DynamicMarkdown-DBMlZFI3.js","SectionHeading-3Qd7n3uJ.js","axios-vUo_bRtp.js","Markdown-BOVhmCSZ.js","clsx-DfU2JnNK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DAWnNO2a.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CUjnHkIu.js"]}