Filter by a machine metadata key and exact value. Replace {key} with the metadata key, for example metadata.foo=bar. Specify multiple metadata filters to require all matches.
The number of machines to fetch (must be between 1 and 1000). Providing a limit enables pagination. This limit is advisory; responses may be shorter, or even empty, even when more machines remain.
Version is unique for each version of the machine. Pass it as
current_version when updating the Machine to reject the update if the
Machine has changed since this version.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Fly.io","colors":{"primary":"#7C3BED","light":"#A78BFA","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/fly-io/izaS1l2UMuz6sm1H/images/logo/light.svg?fit=max\u0026auto=format\u0026n=izaS1l2UMuz6sm1H\u0026q=85\u0026s=5f1256e06beb6fdd5ed68aad3dd32b39","dark":"https://mintcdn.com/fly-io/izaS1l2UMuz6sm1H/images/logo/dark.svg?fit=max\u0026auto=format\u0026n=izaS1l2UMuz6sm1H\u0026q=85\u0026s=67c887e4f1263581cb10ab19ddaf8181"},"favicon":"https://mintcdn.com/fly-io/izaS1l2UMuz6sm1H/images/logo/favicon.ico?fit=max\u0026auto=format\u0026n=izaS1l2UMuz6sm1H\u0026q=85\u0026s=b14504948f2e9d83cd3aa25e07454f22","background":{"decoration":"windows"},"navbar":{"links":[{"href":"https://fly.io/pricing/","label":"Pricing"},{"href":"/about/support","label":"Support"},{"href":"https://fly.io/app/sign-in/","label":"Log In"}],"primary":{"type":"button","label":"Sign Up","href":"https://fly.io/app/sign-up/?s=docs"}},"footer":{"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://fly.io/legal/privacy-policy"}]}]},"fonts":{"heading":{"family":"P22 Mackinac Pro","source":"https://docs.fly.io/assets/fonts/mackinac-bold.woff2","format":"woff2"},"body":{"family":"Bricolage Grotesque"}},"integrations":{"plausible":{"domain":"docs.fly.io"},"telemetry":{"enabled":false}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fly-io","hasAudioNarration":false,"actualSubdomain":"fly-io","customDomains":["docs.fly.io"],"gitSource":{"_id":"6ad7fb4f692c7c940ff1a2d1","type":"github","owner":"superfly","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6aebc0973db9b1e89aac6561","collectionId":"fc3e58d0-4128-48fd-86ed-6ba4dc4a15e7","liveDeploymentHistoryId":"6aebc0973db9b1e89aac6561","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedfef5f454d7a4981650c3","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Fly docs","count":1172},{"language":"default","tag":"Reference","count":273},{"language":"default","tag":"flyctl","count":254},{"language":"default","tag":"Commands","count":252},{"language":"default","tag":"Machines API","count":212},{"language":"default","tag":"Language \u0026 Framework Guides","count":96},{"language":"default","tag":"Sprites API","count":50},{"language":"default","tag":"Guides (Blueprints)","count":37},{"language":"default","tag":"Getting Started","count":34},{"language":"default","tag":"Machines","count":29}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"/* vietnamese */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 200 800;\n font-stretch: 75% 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y996as8bTXq_nANBjzKo3IeZx8z6up5L-eNGe6N.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 200 800;\n font-stretch: 75% 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y996as8bTXq_nANBjzKo3IeZx8z6up5L-aNGe6N.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Bricolage Grotesque';\n font-style: normal;\n font-weight: 200 800;\n font-stretch: 75% 100%;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/bricolagegrotesque/v9/3y996as8bTXq_nANBjzKo3IeZx8z6up5L-iNGQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Fragment Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/fragmentmono/v6/4iC16K5wfMRRjxp0DA6-2CLnB4Z3ia0M31U.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Fragment Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/fragmentmono/v6/4iC16K5wfMRRjxp0DA6-2CLnB4Z3iq0M31U.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Fragment Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/fragmentmono/v6/4iC16K5wfMRRjxp0DA6-2CLnB4Z3hK0M.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Fragment Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/fragmentmono/v6/4iCr6K5wfMRRjxp0DA6-2CLnB45HhrUI.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Fragment Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/fragmentmono/v6/4iCr6K5wfMRRjxp0DA6-2CLnB41HhrUI.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Fragment Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/fragmentmono/v6/4iCr6K5wfMRRjxp0DA6-2CLnB4NHhg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face{font-family:\"P22 Mackinac Pro\";src:url(\"/assets/fonts/mackinac-medium.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"P22 Mackinac Pro\";src:url(\"/assets/fonts/mackinac-medium-italic.woff2\") format(\"woff2\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"P22 Mackinac Pro\";src:url(\"/assets/fonts/mackinac-bold.woff2\") format(\"woff2\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"P22 Mackinac Pro\";src:url(\"/assets/fonts/mackinac-bold-italic.woff2\") format(\"woff2\");font-weight:700;font-style:italic;font-display:swap}:root{--default-mono-font-family: \"Fragment Mono\"}#content{font-size:17px;line-height:1.6;font-weight:325;font-variation-settings:\"wdth\" 98.5, \"opsz\" 24}#content strong,#content b{font-weight:575;font-variation-settings:\"wdth\" 97.5, \"opsz\" 24}#content h2,#content h3,#content h4,#content h5,#content h6{font-weight:500}@media (min-width: 1536px){#content-area{max-width:48rem}}.hide_icon_card [data-component-part=\"card-icon\"],.hide_icon_card h2{display:none}div.frame_white>div>div>div.relative.rounded-xl.overflow-hidden.flex.justify-center{background-color:#fff;padding:8px}div.frame_purple>div>div>div.relative.rounded-xl.overflow-hidden.flex.justify-center{background-color:#281950;padding:8px}.small_img img{max-width:200px;padding:12px}.homepage_cards .columns{gap:calc(var(--spacing) * 4)}#fly-auth-nav{display:none}@media (min-width: 1024px){#fly-auth-nav{position:fixed;top:0;right:3rem;z-index:30;height:3rem;display:flex;align-items:center;gap:1.5rem}[data-banner-state=\"visible\"] #fly-auth-nav{top:2.5rem}#sidebar li[id^=\"https://fly.io/app/sign-in/\"],#sidebar li[id^=\"https://fly.io/app/sign-up/\"]{display:none}}#fly-auth-nav a{white-space:nowrap}.fly-auth-nav-signup{display:inline-flex;align-items:center;padding:0.375rem 0.875rem}#content-area:not(:has(#api-playground-2-operation-page)) #header>.prose{display:none}"}],"page":{"pagePath":"api/machines/machines/list-machines","slug":"/api/machines/machines/list-machines","pageMetadata":{"title":"List Machines","description":"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\n","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines","href":"/api/machines/machines/list-machines","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List Machines","description":"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\n","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines","href":"/api/machines/machines/list-machines","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/fly-io/08c1baa7d07c2458/auth-nav.js","/_mintlify/custom/fly-io/a1ce438e27d4ce9e/fly-analytics.js"],"openApiReferenceData":{"operation":{"tags":["Machines"],"summary":"List Machines","description":"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\n","operationId":"Machines_list","parameters":["53fa9da5-5a30-4cee-985f-f6778b996ed7","811b3010-fa58-4555-a479-efd9698614cf","0ea235f1-60b6-4a1f-a4a1-fd0e3556b8e9","263dfa8c-81d1-43d4-af60-e655dc335001","badc4f8e-f528-4d00-b3cf-ddcc8f163811","a7551708-532f-47e2-9b3f-a30b5ec30fe9","e8aacaa2-9355-4544-a17b-1511988d1400","6abdcf6f-59b7-4075-b582-028dc0232b39","c5021da4-e23c-48c1-a584-89917869343f"],"responses":{"200":"593ab0f8-6f81-4af5-acb6-854e5d932e75","400":"566d0773-65ad-4282-b9fd-ab631bc2bcb4"},"method":"get","type":"path","servers":["46282bdf-e906-4a46-b71a-9a39fc1d3671"],"security":["2e3e241c-a298-41ad-b894-0ecd5ed48964"],"path":"/v1/apps/{app_name}/machines","baseUrlOptions":["https://api.machines.dev"],"title":"List Machines","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"53fa9da5-5a30-4cee-985f-f6778b996ed7":{"name":"app_name","in":"path","description":"Fly App Name","required":true,"schema":{"type":"string","isRequired":true,"description":"Fly App Name","uniqueKey":"","typeLabel":"string"}},"811b3010-fa58-4555-a479-efd9698614cf":{"name":"include_deleted","in":"query","description":"Include deleted machines","schema":{"type":"boolean","description":"Include deleted machines","uniqueKey":"","typeLabel":"boolean"}},"0ea235f1-60b6-4a1f-a4a1-fd0e3556b8e9":{"name":"include_leases","in":"query","description":"Include machine leases","schema":{"type":"boolean","description":"Include machine leases","uniqueKey":"","typeLabel":"boolean"}},"263dfa8c-81d1-43d4-af60-e655dc335001":{"name":"region","in":"query","description":"Region filter","schema":{"type":"string","description":"Region filter","uniqueKey":"","typeLabel":"string"}},"badc4f8e-f528-4d00-b3cf-ddcc8f163811":{"name":"state","in":"query","description":"comma separated list of states to filter (created, started, stopped, suspended)","schema":{"type":"string","description":"comma separated list of states to filter (created, started, stopped, suspended)","uniqueKey":"","typeLabel":"string"}},"a7551708-532f-47e2-9b3f-a30b5ec30fe9":{"name":"summary","in":"query","description":"Only return summary info about machines (omit config, checks, events, host_status, nonce, etc.)","schema":{"type":"boolean","description":"Only return summary info about machines (omit config, checks, events, host_status, nonce, etc.)","uniqueKey":"","typeLabel":"boolean"}},"e8aacaa2-9355-4544-a17b-1511988d1400":{"name":"metadata.{key}","in":"query","description":"Filter by a machine metadata key and exact value. Replace {key} with the metadata key, for example metadata.foo=bar. Specify multiple metadata filters to require all matches.","schema":{"type":"string","description":"Filter by a machine metadata key and exact value. Replace {key} with the metadata key, for example metadata.foo=bar. Specify multiple metadata filters to require all matches.","uniqueKey":"","typeLabel":"string"}},"6abdcf6f-59b7-4075-b582-028dc0232b39":{"name":"cursor","in":"query","description":"Value of the fly-next-cursor response header from the previous page. Requires limit.","schema":{"type":"string","description":"Value of the fly-next-cursor response header from the previous page. Requires limit.","uniqueKey":"","typeLabel":"string"}},"c5021da4-e23c-48c1-a584-89917869343f":{"name":"limit","in":"query","description":"The number of machines to fetch (must be between 1 and 1000). Providing a limit enables pagination. This limit is advisory; responses may be shorter, or even empty, even when more machines remain.","schema":{"type":"integer","description":"The number of machines to fetch (must be between 1 and 1000). Providing a limit enables pagination. This limit is advisory; responses may be shorter, or even empty, even when more machines remain.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"593ab0f8-6f81-4af5-acb6-854e5d932e75":{"description":"OK","headers":{"fly-next-cursor":{"description":"Pagination cursor for the next page. Absent when no more machines remain. Cursor expires 30 minutes after the first page was requested.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"checks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"items.[INDEX].checks.items.[INDEX].name","typeLabel":"string"},"output":{"type":"string","uniqueKey":"items.[INDEX].checks.items.[INDEX].output","typeLabel":"string"},"status":{"type":"string","uniqueKey":"items.[INDEX].checks.items.[INDEX].status","typeLabel":"string"},"updated_at":{"type":"string","uniqueKey":"items.[INDEX].checks.items.[INDEX].updated_at","typeLabel":"string"}},"uniqueKey":"items.[INDEX].checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].checks","typeLabel":"object[]"},"config":{"type":"object","properties":{"auto_destroy":{"type":"boolean","description":"Optional boolean telling the Machine to destroy itself once it’s complete (default false)","uniqueKey":"items.[INDEX].config.auto_destroy","typeLabel":"boolean"},"cache_drive":{"type":"object","description":"A cache drive attached to the Machine","properties":{"size_mb":{"type":"integer","uniqueKey":"items.[INDEX].config.cache_drive.size_mb","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].config.cache_drive","typeLabel":"object"},"checks":{"type":"object","additionalProperties":{"type":"object","properties":{"grace_period":{"type":"string","description":"The time to wait after a VM starts before checking its health","example":"1s","uniqueKey":"items.[INDEX].config.checks.additionalProperties.grace_period","typeLabel":"string"},"headers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The header name","uniqueKey":"items.[INDEX].config.checks.additionalProperties.headers.items.[INDEX].name","typeLabel":"string"},"values":{"type":"array","description":"The header value","items":{"type":"string","uniqueKey":"items.[INDEX].config.checks.additionalProperties.headers.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.checks.additionalProperties.headers.items.[INDEX].values","typeLabel":"string[]"}},"description":"For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.","uniqueKey":"items.[INDEX].config.checks.additionalProperties.headers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.checks.additionalProperties.headers","typeLabel":"object[]"},"interval":{"type":"string","description":"The time between connectivity checks","example":"15s","uniqueKey":"items.[INDEX].config.checks.additionalProperties.interval","typeLabel":"string"},"kind":{"type":"string","description":"Kind of the check (informational, readiness)","enum":["informational","readiness"],"uniqueKey":"items.[INDEX].config.checks.additionalProperties.kind","typeLabel":"enum\u003cstring>"},"method":{"type":"string","description":"For http checks, the HTTP method to use to when making the request","uniqueKey":"items.[INDEX].config.checks.additionalProperties.method","typeLabel":"string"},"path":{"type":"string","description":"For http checks, the path to send the request to","uniqueKey":"items.[INDEX].config.checks.additionalProperties.path","typeLabel":"string"},"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].config.checks.additionalProperties.port","typeLabel":"integer"},"protocol":{"type":"string","description":"For http checks, whether to use http or https","uniqueKey":"items.[INDEX].config.checks.additionalProperties.protocol","typeLabel":"string"},"timeout":{"type":"string","description":"The maximum time a connection can take before being reported as failing its health check","example":"2s","uniqueKey":"items.[INDEX].config.checks.additionalProperties.timeout","typeLabel":"string"},"tls_server_name":{"type":"string","description":"If the protocol is https, the hostname to use for TLS certificate validation","uniqueKey":"items.[INDEX].config.checks.additionalProperties.tls_server_name","typeLabel":"string"},"tls_skip_verify":{"type":"boolean","description":"For http checks with https protocol, whether or not to verify the TLS certificate","uniqueKey":"items.[INDEX].config.checks.additionalProperties.tls_skip_verify","typeLabel":"boolean"},"type":{"type":"string","description":"tcp or http","uniqueKey":"items.[INDEX].config.checks.additionalProperties.type","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.checks.additionalProperties","typeLabel":"object"},"description":"An optional object that defines one or more named top-level checks. The key for each check is the check name.","uniqueKey":"items.[INDEX].config.checks","typeLabel":"object"},"containers":{"type":"array","description":"Containers are a list of containers that will run in the machine, each from its own image.","items":{"type":"object","properties":{"cmd":{"type":"array","description":"CmdOverride is used to override the default command of the image.","items":{"type":"string","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].cmd.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].cmd","typeLabel":"string[]"},"depends_on":{"type":"array","description":"DependsOn can be used to define dependencies between containers. The container will only be\nstarted after all of its dependent conditions have been satisfied.","items":{"type":"object","properties":{"condition":{"type":"any","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].depends_on.items.[INDEX].condition","typeLabel":"any"},"name":{"type":"string","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].depends_on.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].depends_on.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].depends_on","typeLabel":"object[]"},"entrypoint":{"type":"array","description":"EntrypointOverride is used to override the default entrypoint of the image.","items":{"type":"string","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].entrypoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].entrypoint","typeLabel":"string[]"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].env.additionalProperties","typeLabel":"string"},"description":"ExtraEnv is used to add additional environment variables to the container.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].env","typeLabel":"object"},"env_from":{"type":"array","description":"EnvFrom can be provided to set environment variables from machine fields.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].env_from.items.[INDEX].env_var","typeLabel":"string"},"field_ref":{"type":"string","description":"FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.","enum":["id","version","app_name","private_ip","region","image"],"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].env_from.items.[INDEX].field_ref","typeLabel":"enum\u003cstring>"}},"description":"EnvVar defines an environment variable to be populated from a machine field, env_var","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].env_from.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].env_from","typeLabel":"object[]"},"exec":{"type":"array","description":"Image Config overrides - these fields are used to override the image configuration.\nIf not provided, the image configuration will be used.\nExecOverride is used to override the default command of the image.","items":{"type":"string","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].exec.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].exec","typeLabel":"string[]"},"files":{"type":"array","description":"Files are files that will be written to the container file system.","items":{"type":"object","properties":{"guest_path":{"type":"string","description":"GuestPath is the path on the machine where the file will be written and must be an absolute path.\nFor example: /full/path/to/file.json","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].files.items.[INDEX].guest_path","typeLabel":"string"},"image_config":{"type":"string","description":"The name of an image to use the OCI image config as the file contents.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].files.items.[INDEX].image_config","typeLabel":"string"},"mode":{"type":"integer","description":"Mode bits used to set permissions on this file as accepted by chmod(2).","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].files.items.[INDEX].mode","typeLabel":"integer"},"raw_value":{"type":"string","description":"The base64 encoded string of the file contents.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].files.items.[INDEX].raw_value","typeLabel":"string"},"secret_name":{"type":"string","description":"The name of the secret that contains the base64 encoded file contents.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].files.items.[INDEX].secret_name","typeLabel":"string"}},"description":"A file that will be written to the Machine. One of RawValue or SecretName must be set.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].files.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].files","typeLabel":"object[]"},"healthchecks":{"type":"array","description":"Healthchecks determine the health of your containers. Healthchecks can use HTTP, TCP or an Exec command.","items":{"type":"object","properties":{"exec":{"type":"object","properties":{"command":{"type":"array","description":"The command to run to check the health of the container (e.g. [\"cat\", \"/tmp/healthy\"])","items":{"type":"string","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].exec.command.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].exec.command","typeLabel":"string[]"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].exec","typeLabel":"object"},"failure_threshold":{"type":"integer","description":"The number of times the check must fail before considering the container unhealthy.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].failure_threshold","typeLabel":"integer"},"grace_period":{"type":"integer","description":"The time in seconds to wait after a container starts before checking its health.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].grace_period","typeLabel":"integer"},"http":{"type":"object","properties":{"headers":{"type":"array","description":"Additional headers to send with the request","items":{"type":"object","properties":{"name":{"type":"string","description":"The header name","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX].name","typeLabel":"string"},"values":{"type":"array","description":"The header value","items":{"type":"string","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX].values","typeLabel":"string[]"}},"description":"For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers","typeLabel":"object[]"},"method":{"type":"string","description":"The HTTP method to use to when making the request","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.method","typeLabel":"string"},"path":{"type":"string","description":"The path to send the request to","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.path","typeLabel":"string"},"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.port","typeLabel":"integer"},"scheme":{"type":"any","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.scheme","typeLabel":"any"},"tls_server_name":{"type":"string","description":"If the protocol is https, the hostname to use for TLS certificate validation","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.tls_server_name","typeLabel":"string"},"tls_skip_verify":{"type":"boolean","description":"If the protocol is https, whether or not to verify the TLS certificate","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http.tls_skip_verify","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].http","typeLabel":"object"},"interval":{"type":"integer","description":"The time in seconds between executing the defined check.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].interval","typeLabel":"integer"},"kind":{"type":"any","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].kind","typeLabel":"any"},"name":{"type":"string","description":"The name of the check. Must be unique within the container.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].name","typeLabel":"string"},"success_threshold":{"type":"integer","description":"The number of times the check must succeeed before considering the container healthy.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].success_threshold","typeLabel":"integer"},"tcp":{"type":"object","properties":{"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].tcp.port","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].tcp","typeLabel":"object"},"timeout":{"type":"integer","description":"The time in seconds to wait for the check to complete.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].timeout","typeLabel":"integer"},"unhealthy":{"type":"any","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX].unhealthy","typeLabel":"any"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].healthchecks","typeLabel":"object[]"},"image":{"type":"string","description":"Image is the docker image to run.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].image","typeLabel":"string"},"name":{"type":"string","description":"Name is used to identify the container in the machine.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].name","typeLabel":"string"},"restart":{"type":"object","description":"Restart is used to define the restart policy for the container.","properties":{"max_retries":{"type":"integer","description":"When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].restart.max_retries","typeLabel":"integer"},"policy":{"type":"string","description":"* no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.\n* always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.\n* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.","enum":["no","always","on-failure"],"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].restart.policy","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].restart","typeLabel":"object"},"secrets":{"type":"array","description":"Secrets can be provided at the process level to explicitly indicate which secrets should be\nused for the process. If not provided, the secrets provided at the machine level will be used.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].secrets.items.[INDEX].env_var","typeLabel":"string"},"name":{"type":"string","description":"Name is optional and when provided is used to reference a secret name where the EnvVar is\ndifferent from what was set as the secret name.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].secrets.items.[INDEX].name","typeLabel":"string"}},"description":"A Secret needing to be set in the environment of the Machine. env_var is required","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].secrets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].secrets","typeLabel":"object[]"},"stop":{"type":"object","description":"Stop is used to define the signal and timeout for stopping the container.","properties":{"signal":{"type":"string","enum":["SIGHUP","SIGINT","SIGQUIT","SIGKILL","SIGUSR1","SIGUSR2","SIGTERM"],"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].stop.signal","typeLabel":"enum\u003cstring>"},"timeout":{"type":"string","example":"10s","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].stop.timeout","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX].stop","typeLabel":"object"},"user":{"type":"string","description":"UserOverride is used to override the default user of the image.","uniqueKey":"items.[INDEX].config.containers.items.[INDEX].user","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.containers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.containers","typeLabel":"object[]"},"disable_machine_autostart":{"type":"boolean","description":"Deprecated: use Service.Autostart instead","uniqueKey":"items.[INDEX].config.disable_machine_autostart","typeLabel":"boolean"},"dns":{"type":"object","description":"DNS settings for the Machine","properties":{"dns_forward_rules":{"type":"array","items":{"type":"object","properties":{"addr":{"type":"string","uniqueKey":"items.[INDEX].config.dns.dns_forward_rules.items.[INDEX].addr","typeLabel":"string"},"basename":{"type":"string","uniqueKey":"items.[INDEX].config.dns.dns_forward_rules.items.[INDEX].basename","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.dns.dns_forward_rules.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.dns.dns_forward_rules","typeLabel":"object[]"},"hostname":{"type":"string","uniqueKey":"items.[INDEX].config.dns.hostname","typeLabel":"string"},"hostname_fqdn":{"type":"string","uniqueKey":"items.[INDEX].config.dns.hostname_fqdn","typeLabel":"string"},"nameservers":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.dns.nameservers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.dns.nameservers","typeLabel":"string[]"},"options":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"items.[INDEX].config.dns.options.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","uniqueKey":"items.[INDEX].config.dns.options.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.dns.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.dns.options","typeLabel":"object[]"},"searches":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.dns.searches.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.dns.searches","typeLabel":"string[]"},"skip_registration":{"type":"boolean","uniqueKey":"items.[INDEX].config.dns.skip_registration","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].config.dns","typeLabel":"object"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].config.env.additionalProperties","typeLabel":"string"},"description":"An object filled with key/value pairs to be set as environment variables","uniqueKey":"items.[INDEX].config.env","typeLabel":"object"},"files":{"type":"array","description":"Files to write into the Machine, from either a raw value or an app secret","items":{"type":"object","properties":{"guest_path":{"type":"string","description":"GuestPath is the path on the machine where the file will be written and must be an absolute path.\nFor example: /full/path/to/file.json","uniqueKey":"items.[INDEX].config.files.items.[INDEX].guest_path","typeLabel":"string"},"image_config":{"type":"string","description":"The name of an image to use the OCI image config as the file contents.","uniqueKey":"items.[INDEX].config.files.items.[INDEX].image_config","typeLabel":"string"},"mode":{"type":"integer","description":"Mode bits used to set permissions on this file as accepted by chmod(2).","uniqueKey":"items.[INDEX].config.files.items.[INDEX].mode","typeLabel":"integer"},"raw_value":{"type":"string","description":"The base64 encoded string of the file contents.","uniqueKey":"items.[INDEX].config.files.items.[INDEX].raw_value","typeLabel":"string"},"secret_name":{"type":"string","description":"The name of the secret that contains the base64 encoded file contents.","uniqueKey":"items.[INDEX].config.files.items.[INDEX].secret_name","typeLabel":"string"}},"description":"A file that will be written to the Machine. One of RawValue or SecretName must be set.","uniqueKey":"items.[INDEX].config.files.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.files","typeLabel":"object[]"},"guest":{"type":"object","description":"The resources (CPUs, memory, etc.) allocated to the Machine","properties":{"cpu_kind":{"type":"string","uniqueKey":"items.[INDEX].config.guest.cpu_kind","typeLabel":"string"},"cpus":{"type":"integer","uniqueKey":"items.[INDEX].config.guest.cpus","typeLabel":"integer"},"gpu_kind":{"type":"string","uniqueKey":"items.[INDEX].config.guest.gpu_kind","typeLabel":"string"},"gpus":{"type":"integer","uniqueKey":"items.[INDEX].config.guest.gpus","typeLabel":"integer"},"host_dedication_id":{"type":"string","uniqueKey":"items.[INDEX].config.guest.host_dedication_id","typeLabel":"string"},"kernel_args":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.guest.kernel_args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.guest.kernel_args","typeLabel":"string[]"},"max_memory_mb":{"type":"integer","uniqueKey":"items.[INDEX].config.guest.max_memory_mb","typeLabel":"integer"},"memory_mb":{"type":"integer","uniqueKey":"items.[INDEX].config.guest.memory_mb","typeLabel":"integer"},"persist_rootfs":{"type":"string","description":"Deprecated: use MachineConfig.Rootfs instead","enum":["never","always","restart"],"uniqueKey":"items.[INDEX].config.guest.persist_rootfs","typeLabel":"enum\u003cstring>"},"required_host_features":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.guest.required_host_features.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.guest.required_host_features","typeLabel":"string[]"}},"uniqueKey":"items.[INDEX].config.guest","typeLabel":"object"},"image":{"type":"string","description":"The docker image to run","uniqueKey":"items.[INDEX].config.image","typeLabel":"string"},"init":{"type":"object","description":"Arguments for init, Fly.io's footprint inside the Machine, which controls how your own code is run","properties":{"cmd":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.init.cmd.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.init.cmd","typeLabel":"string[]"},"entrypoint":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.init.entrypoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.init.entrypoint","typeLabel":"string[]"},"exec":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.init.exec.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.init.exec","typeLabel":"string[]"},"kernel_args":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.init.kernel_args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.init.kernel_args","typeLabel":"string[]"},"swap_size_mb":{"type":"integer","uniqueKey":"items.[INDEX].config.init.swap_size_mb","typeLabel":"integer"},"tty":{"type":"boolean","uniqueKey":"items.[INDEX].config.init.tty","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].config.init","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].config.metadata.additionalProperties","typeLabel":"string"},"description":"Key/value pairs of Machine metadata. Fly.io uses metadata internally for routing, process groups, and clusters","uniqueKey":"items.[INDEX].config.metadata","typeLabel":"object"},"metrics":{"type":"object","description":"An optional metrics endpoint for Prometheus on Fly.io to scrape","properties":{"https":{"type":"boolean","uniqueKey":"items.[INDEX].config.metrics.https","typeLabel":"boolean"},"path":{"type":"string","uniqueKey":"items.[INDEX].config.metrics.path","typeLabel":"string"},"port":{"type":"integer","uniqueKey":"items.[INDEX].config.metrics.port","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].config.metrics","typeLabel":"object"},"mounts":{"type":"array","description":"Persistent volumes to mount in the Machine. A Machine can mount at most one volume, which must be on\nthe same host. The mounted volume cannot be changed by updating the Machine","items":{"type":"object","properties":{"add_size_gb":{"type":"integer","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].add_size_gb","typeLabel":"integer"},"add_size_percent":{"type":"integer","description":"AddSizePercent grows by a percentage of the current size, rounded up to GiB.\nIt is mutually exclusive with AddSizeGb.","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].add_size_percent","typeLabel":"integer"},"encrypted":{"type":"boolean","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].encrypted","typeLabel":"boolean"},"extend_threshold_percent":{"type":"integer","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].extend_threshold_percent","typeLabel":"integer"},"min_add_size_gb":{"type":"integer","description":"MinAddSizeGb is the minimum proportional growth in GiB (default 1).","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].min_add_size_gb","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].name","typeLabel":"string"},"path":{"type":"string","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].path","typeLabel":"string"},"size_gb":{"type":"integer","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].size_gb","typeLabel":"integer"},"size_gb_limit":{"type":"integer","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].size_gb_limit","typeLabel":"integer"},"volume":{"type":"string","uniqueKey":"items.[INDEX].config.mounts.items.[INDEX].volume","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.mounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.mounts","typeLabel":"object[]"},"processes":{"type":"array","description":"Multiple processes to run within this one Machine, all from the Machine's image. Unrelated to the\nprocess groups in fly.toml, which run on separate Machines. To run processes from different\nimages, use containers instead","items":{"type":"object","properties":{"cmd":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].cmd.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.processes.items.[INDEX].cmd","typeLabel":"string[]"},"entrypoint":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].entrypoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.processes.items.[INDEX].entrypoint","typeLabel":"string[]"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].env.additionalProperties","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.processes.items.[INDEX].env","typeLabel":"object"},"env_from":{"type":"array","description":"EnvFrom can be provided to set environment variables from machine fields.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].env_from.items.[INDEX].env_var","typeLabel":"string"},"field_ref":{"type":"string","description":"FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.","enum":["id","version","app_name","private_ip","region","image"],"uniqueKey":"items.[INDEX].config.processes.items.[INDEX].env_from.items.[INDEX].field_ref","typeLabel":"enum\u003cstring>"}},"description":"EnvVar defines an environment variable to be populated from a machine field, env_var","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].env_from.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.processes.items.[INDEX].env_from","typeLabel":"object[]"},"exec":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].exec.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.processes.items.[INDEX].exec","typeLabel":"string[]"},"ignore_app_secrets":{"type":"boolean","description":"IgnoreAppSecrets can be set to true to ignore the secrets for the App the Machine belongs to\nand only use the secrets provided at the process level. The default/legacy behavior is to use\nthe secrets provided at the App level.","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].ignore_app_secrets","typeLabel":"boolean"},"secrets":{"type":"array","description":"Secrets can be provided at the process level to explicitly indicate which secrets should be\nused for the process. If not provided, the secrets provided at the machine level will be used.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].secrets.items.[INDEX].env_var","typeLabel":"string"},"name":{"type":"string","description":"Name is optional and when provided is used to reference a secret name where the EnvVar is\ndifferent from what was set as the secret name.","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].secrets.items.[INDEX].name","typeLabel":"string"}},"description":"A Secret needing to be set in the environment of the Machine. env_var is required","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].secrets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.processes.items.[INDEX].secrets","typeLabel":"object[]"},"user":{"type":"string","uniqueKey":"items.[INDEX].config.processes.items.[INDEX].user","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.processes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.processes","typeLabel":"object[]"},"restart":{"type":"object","description":"Whether and how the Machine is restarted after its main process exits","properties":{"max_retries":{"type":"integer","description":"When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.","uniqueKey":"items.[INDEX].config.restart.max_retries","typeLabel":"integer"},"policy":{"type":"string","description":"* no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.\n* always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.\n* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.","enum":["no","always","on-failure"],"uniqueKey":"items.[INDEX].config.restart.policy","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].config.restart","typeLabel":"object"},"rootfs":{"type":"object","description":"The size of the Machine's root filesystem and whether it persists","properties":{"persist":{"type":"string","enum":["never","always","restart"],"uniqueKey":"items.[INDEX].config.rootfs.persist","typeLabel":"enum\u003cstring>"},"size_gb":{"type":"integer","uniqueKey":"items.[INDEX].config.rootfs.size_gb","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].config.rootfs","typeLabel":"object"},"schedule":{"type":"string","description":"Run the Machine at an interval: one of hourly, daily, weekly or monthly. The interval starts when\nthe Machine is created","uniqueKey":"items.[INDEX].config.schedule","typeLabel":"string"},"services":{"type":"array","description":"Network services that Fly Proxy routes traffic to","items":{"type":"object","properties":{"autostart":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].autostart","typeLabel":"boolean"},"autostop":{"type":"string","description":"Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for \"off\" and \"stop\" in responses.\n* \"off\" or false - Do not autostop the Machine.\n* \"stop\" or true - Automatically stop the Machine.\n* \"suspend\" - Automatically suspend the Machine, falling back to a full stop if this is not possible.","enum":["off","stop","suspend"],"uniqueKey":"items.[INDEX].config.services.items.[INDEX].autostop","typeLabel":"enum\u003cstring>"},"checks":{"type":"array","description":"An optional list of service checks","items":{"type":"object","properties":{"grace_period":{"type":"string","description":"The time to wait after a VM starts before checking its health","example":"1s","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].grace_period","typeLabel":"string"},"headers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The header name","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX].name","typeLabel":"string"},"values":{"type":"array","description":"The header value","items":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX].values","typeLabel":"string[]"}},"description":"For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].headers","typeLabel":"object[]"},"interval":{"type":"string","description":"The time between connectivity checks","example":"15s","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].interval","typeLabel":"string"},"method":{"type":"string","description":"For http checks, the HTTP method to use to when making the request","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].method","typeLabel":"string"},"path":{"type":"string","description":"For http checks, the path to send the request to","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].path","typeLabel":"string"},"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].port","typeLabel":"integer"},"protocol":{"type":"string","description":"For http checks, whether to use http or https","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].protocol","typeLabel":"string"},"timeout":{"type":"string","description":"The maximum time a connection can take before being reported as failing its health check","example":"2s","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].timeout","typeLabel":"string"},"tls_server_name":{"type":"string","description":"If the protocol is https, the hostname to use for TLS certificate validation","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].tls_server_name","typeLabel":"string"},"tls_skip_verify":{"type":"boolean","description":"For http checks with https protocol, whether or not to verify the TLS certificate","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].tls_skip_verify","typeLabel":"boolean"},"type":{"type":"string","description":"tcp or http","uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].checks","typeLabel":"object[]"},"concurrency":{"type":"object","properties":{"hard_limit":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].concurrency.hard_limit","typeLabel":"integer"},"soft_limit":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].concurrency.soft_limit","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].concurrency.type","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].concurrency","typeLabel":"object"},"force_instance_description":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].force_instance_description","typeLabel":"string"},"force_instance_key":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].force_instance_key","typeLabel":"string"},"internal_port":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].internal_port","typeLabel":"integer"},"min_machines_running":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].min_machines_running","typeLabel":"integer"},"ports":{"type":"array","items":{"type":"object","properties":{"end_port":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].end_port","typeLabel":"integer"},"force_https":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].force_https","typeLabel":"boolean"},"handlers":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].handlers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].handlers","typeLabel":"string[]"},"http_options":{"type":"object","properties":{"compress":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.compress","typeLabel":"boolean"},"h2_backend":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.h2_backend","typeLabel":"boolean"},"headers_read_timeout":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.headers_read_timeout","typeLabel":"integer"},"idle_timeout":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.idle_timeout","typeLabel":"integer"},"replay_cache":{"type":"array","items":{"type":"object","properties":{"allow_bypass":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].allow_bypass","typeLabel":"boolean"},"name":{"type":"string","description":"Name of the cookie or header to key the cache on","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].name","typeLabel":"string"},"path_prefix":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].path_prefix","typeLabel":"string"},"ttl_seconds":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].ttl_seconds","typeLabel":"integer"},"type":{"type":"string","description":"Currently either \"cookie\" or \"header\"","enum":["cookie","header"],"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache","typeLabel":"object[]"},"response":{"type":"object","properties":{"headers":{"type":"object","additionalProperties":{"type":"object","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.response.headers.additionalProperties","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.response.headers","typeLabel":"object"},"pristine":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.response.pristine","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options.response","typeLabel":"object"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].http_options","typeLabel":"object"},"port":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].port","typeLabel":"integer"},"proxy_proto_options":{"type":"object","properties":{"fly_src":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].proxy_proto_options.fly_src","typeLabel":"boolean"},"version":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].proxy_proto_options.version","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].proxy_proto_options","typeLabel":"object"},"start_port":{"type":"integer","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].start_port","typeLabel":"integer"},"tls_options":{"type":"object","properties":{"alpn":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].tls_options.alpn.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].tls_options.alpn","typeLabel":"string[]"},"default_self_signed":{"type":"boolean","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].tls_options.default_self_signed","typeLabel":"boolean"},"versions":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].tls_options.versions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].tls_options.versions","typeLabel":"string[]"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX].tls_options","typeLabel":"object"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.services.items.[INDEX].ports","typeLabel":"object[]"},"protocol":{"type":"string","uniqueKey":"items.[INDEX].config.services.items.[INDEX].protocol","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.services.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.services","typeLabel":"object[]"},"size":{"type":"string","description":"Deprecated: use Guest instead","uniqueKey":"items.[INDEX].config.size","typeLabel":"string"},"spot":{"type":"object","description":"Spot pricing settings for the Machine","properties":{"max_price_fraction":{"type":"number","description":"MaxPriceFraction is the maximum fraction of the full Machine price you will pay for this Machine. Range: (0, 1.0]","uniqueKey":"items.[INDEX].config.spot.max_price_fraction","typeLabel":"number"}},"uniqueKey":"items.[INDEX].config.spot","typeLabel":"object"},"standbys":{"type":"array","description":"Standbys enable a machine to be a standby for another. In the event of a hardware failure,\nthe standby machine will be started.","items":{"type":"string","uniqueKey":"items.[INDEX].config.standbys.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].config.standbys","typeLabel":"string[]"},"statics":{"type":"array","description":"Static files to serve under a URL prefix. Fly Proxy routes matching requests to a file server\ninside the Machine, bypassing your application's own process; the Machine must be running. The\nfiles are read either from a path inside the Machine or from a Tigris bucket that belongs to the\napp; no bucket is created for you","items":{"required":["guest_path","url_prefix"],"type":"object","properties":{"guest_path":{"type":"string","description":"The path inside the Machine, or inside tigris_bucket when set, where the files to serve are located","isRequired":true,"uniqueKey":"items.[INDEX].config.statics.items.[INDEX].guest_path","typeLabel":"string"},"url_prefix":{"type":"string","description":"The URL prefix under which the files are served","isRequired":true,"uniqueKey":"items.[INDEX].config.statics.items.[INDEX].url_prefix","typeLabel":"string"},"index_document":{"type":"string","description":"The document served for requests to the URL prefix or any of its subfolders. Only works with tigris_bucket","uniqueKey":"items.[INDEX].config.statics.items.[INDEX].index_document","typeLabel":"string"},"tigris_bucket":{"type":"string","description":"An existing Tigris bucket belonging to the app to read the files from, instead of the Machine's\nfilesystem. The files are still served through the Machine","uniqueKey":"items.[INDEX].config.statics.items.[INDEX].tigris_bucket","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.statics.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].config.statics","typeLabel":"object[]"},"stop_config":{"type":"object","description":"How the Machine is shut down gracefully: the signal sent to it and how long to wait before a hard shutdown","properties":{"signal":{"type":"string","enum":["SIGHUP","SIGINT","SIGQUIT","SIGKILL","SIGUSR1","SIGUSR2","SIGTERM"],"uniqueKey":"items.[INDEX].config.stop_config.signal","typeLabel":"enum\u003cstring>"},"timeout":{"type":"string","example":"10s","uniqueKey":"items.[INDEX].config.stop_config.timeout","typeLabel":"string"}},"uniqueKey":"items.[INDEX].config.stop_config","typeLabel":"object"}},"uniqueKey":"items.[INDEX].config","typeLabel":"object"},"cordoned":{"type":"boolean","uniqueKey":"items.[INDEX].cordoned","typeLabel":"boolean"},"created_at":{"type":"string","uniqueKey":"items.[INDEX].created_at","typeLabel":"string"},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"items.[INDEX].events.items.[INDEX].id","typeLabel":"string"},"request":{"type":"object","uniqueKey":"items.[INDEX].events.items.[INDEX].request","typeLabel":"object"},"source":{"type":"string","uniqueKey":"items.[INDEX].events.items.[INDEX].source","typeLabel":"string"},"status":{"type":"string","uniqueKey":"items.[INDEX].events.items.[INDEX].status","typeLabel":"string"},"timestamp":{"type":"integer","uniqueKey":"items.[INDEX].events.items.[INDEX].timestamp","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"items.[INDEX].events.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"items.[INDEX].events.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].events","typeLabel":"object[]"},"host_features":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].host_features.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].host_features","typeLabel":"string[]"},"host_status":{"type":"string","enum":["ok","unknown","unreachable"],"uniqueKey":"items.[INDEX].host_status","typeLabel":"enum\u003cstring>"},"id":{"type":"string","uniqueKey":"items.[INDEX].id","typeLabel":"string"},"image_ref":{"type":"object","properties":{"digest":{"type":"string","uniqueKey":"items.[INDEX].image_ref.digest","typeLabel":"string"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].image_ref.labels.additionalProperties","typeLabel":"string"},"uniqueKey":"items.[INDEX].image_ref.labels","typeLabel":"object"},"registry":{"type":"string","uniqueKey":"items.[INDEX].image_ref.registry","typeLabel":"string"},"repository":{"type":"string","uniqueKey":"items.[INDEX].image_ref.repository","typeLabel":"string"},"tag":{"type":"string","uniqueKey":"items.[INDEX].image_ref.tag","typeLabel":"string"}},"uniqueKey":"items.[INDEX].image_ref","typeLabel":"object"},"incomplete_config":{"type":"object","properties":{"auto_destroy":{"type":"boolean","description":"Optional boolean telling the Machine to destroy itself once it’s complete (default false)","uniqueKey":"items.[INDEX].incomplete_config.auto_destroy","typeLabel":"boolean"},"cache_drive":{"type":"object","description":"A cache drive attached to the Machine","properties":{"size_mb":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.cache_drive.size_mb","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].incomplete_config.cache_drive","typeLabel":"object"},"checks":{"type":"object","additionalProperties":{"type":"object","properties":{"grace_period":{"type":"string","description":"The time to wait after a VM starts before checking its health","example":"1s","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.grace_period","typeLabel":"string"},"headers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The header name","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.headers.items.[INDEX].name","typeLabel":"string"},"values":{"type":"array","description":"The header value","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.headers.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.headers.items.[INDEX].values","typeLabel":"string[]"}},"description":"For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.headers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.headers","typeLabel":"object[]"},"interval":{"type":"string","description":"The time between connectivity checks","example":"15s","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.interval","typeLabel":"string"},"kind":{"type":"string","description":"Kind of the check (informational, readiness)","enum":["informational","readiness"],"uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.kind","typeLabel":"enum\u003cstring>"},"method":{"type":"string","description":"For http checks, the HTTP method to use to when making the request","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.method","typeLabel":"string"},"path":{"type":"string","description":"For http checks, the path to send the request to","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.path","typeLabel":"string"},"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.port","typeLabel":"integer"},"protocol":{"type":"string","description":"For http checks, whether to use http or https","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.protocol","typeLabel":"string"},"timeout":{"type":"string","description":"The maximum time a connection can take before being reported as failing its health check","example":"2s","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.timeout","typeLabel":"string"},"tls_server_name":{"type":"string","description":"If the protocol is https, the hostname to use for TLS certificate validation","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.tls_server_name","typeLabel":"string"},"tls_skip_verify":{"type":"boolean","description":"For http checks with https protocol, whether or not to verify the TLS certificate","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.tls_skip_verify","typeLabel":"boolean"},"type":{"type":"string","description":"tcp or http","uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties.type","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.checks.additionalProperties","typeLabel":"object"},"description":"An optional object that defines one or more named top-level checks. The key for each check is the check name.","uniqueKey":"items.[INDEX].incomplete_config.checks","typeLabel":"object"},"containers":{"type":"array","description":"Containers are a list of containers that will run in the machine, each from its own image.","items":{"type":"object","properties":{"cmd":{"type":"array","description":"CmdOverride is used to override the default command of the image.","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].cmd.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].cmd","typeLabel":"string[]"},"depends_on":{"type":"array","description":"DependsOn can be used to define dependencies between containers. The container will only be\nstarted after all of its dependent conditions have been satisfied.","items":{"type":"object","properties":{"condition":{"type":"any","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].depends_on.items.[INDEX].condition","typeLabel":"any"},"name":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].depends_on.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].depends_on.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].depends_on","typeLabel":"object[]"},"entrypoint":{"type":"array","description":"EntrypointOverride is used to override the default entrypoint of the image.","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].entrypoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].entrypoint","typeLabel":"string[]"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].env.additionalProperties","typeLabel":"string"},"description":"ExtraEnv is used to add additional environment variables to the container.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].env","typeLabel":"object"},"env_from":{"type":"array","description":"EnvFrom can be provided to set environment variables from machine fields.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].env_from.items.[INDEX].env_var","typeLabel":"string"},"field_ref":{"type":"string","description":"FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.","enum":["id","version","app_name","private_ip","region","image"],"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].env_from.items.[INDEX].field_ref","typeLabel":"enum\u003cstring>"}},"description":"EnvVar defines an environment variable to be populated from a machine field, env_var","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].env_from.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].env_from","typeLabel":"object[]"},"exec":{"type":"array","description":"Image Config overrides - these fields are used to override the image configuration.\nIf not provided, the image configuration will be used.\nExecOverride is used to override the default command of the image.","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].exec.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].exec","typeLabel":"string[]"},"files":{"type":"array","description":"Files are files that will be written to the container file system.","items":{"type":"object","properties":{"guest_path":{"type":"string","description":"GuestPath is the path on the machine where the file will be written and must be an absolute path.\nFor example: /full/path/to/file.json","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].files.items.[INDEX].guest_path","typeLabel":"string"},"image_config":{"type":"string","description":"The name of an image to use the OCI image config as the file contents.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].files.items.[INDEX].image_config","typeLabel":"string"},"mode":{"type":"integer","description":"Mode bits used to set permissions on this file as accepted by chmod(2).","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].files.items.[INDEX].mode","typeLabel":"integer"},"raw_value":{"type":"string","description":"The base64 encoded string of the file contents.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].files.items.[INDEX].raw_value","typeLabel":"string"},"secret_name":{"type":"string","description":"The name of the secret that contains the base64 encoded file contents.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].files.items.[INDEX].secret_name","typeLabel":"string"}},"description":"A file that will be written to the Machine. One of RawValue or SecretName must be set.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].files.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].files","typeLabel":"object[]"},"healthchecks":{"type":"array","description":"Healthchecks determine the health of your containers. Healthchecks can use HTTP, TCP or an Exec command.","items":{"type":"object","properties":{"exec":{"type":"object","properties":{"command":{"type":"array","description":"The command to run to check the health of the container (e.g. [\"cat\", \"/tmp/healthy\"])","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].exec.command.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].exec.command","typeLabel":"string[]"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].exec","typeLabel":"object"},"failure_threshold":{"type":"integer","description":"The number of times the check must fail before considering the container unhealthy.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].failure_threshold","typeLabel":"integer"},"grace_period":{"type":"integer","description":"The time in seconds to wait after a container starts before checking its health.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].grace_period","typeLabel":"integer"},"http":{"type":"object","properties":{"headers":{"type":"array","description":"Additional headers to send with the request","items":{"type":"object","properties":{"name":{"type":"string","description":"The header name","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX].name","typeLabel":"string"},"values":{"type":"array","description":"The header value","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX].values","typeLabel":"string[]"}},"description":"For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.headers","typeLabel":"object[]"},"method":{"type":"string","description":"The HTTP method to use to when making the request","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.method","typeLabel":"string"},"path":{"type":"string","description":"The path to send the request to","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.path","typeLabel":"string"},"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.port","typeLabel":"integer"},"scheme":{"type":"any","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.scheme","typeLabel":"any"},"tls_server_name":{"type":"string","description":"If the protocol is https, the hostname to use for TLS certificate validation","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.tls_server_name","typeLabel":"string"},"tls_skip_verify":{"type":"boolean","description":"If the protocol is https, whether or not to verify the TLS certificate","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http.tls_skip_verify","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].http","typeLabel":"object"},"interval":{"type":"integer","description":"The time in seconds between executing the defined check.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].interval","typeLabel":"integer"},"kind":{"type":"any","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].kind","typeLabel":"any"},"name":{"type":"string","description":"The name of the check. Must be unique within the container.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].name","typeLabel":"string"},"success_threshold":{"type":"integer","description":"The number of times the check must succeeed before considering the container healthy.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].success_threshold","typeLabel":"integer"},"tcp":{"type":"object","properties":{"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].tcp.port","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].tcp","typeLabel":"object"},"timeout":{"type":"integer","description":"The time in seconds to wait for the check to complete.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].timeout","typeLabel":"integer"},"unhealthy":{"type":"any","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX].unhealthy","typeLabel":"any"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].healthchecks","typeLabel":"object[]"},"image":{"type":"string","description":"Image is the docker image to run.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].image","typeLabel":"string"},"name":{"type":"string","description":"Name is used to identify the container in the machine.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].name","typeLabel":"string"},"restart":{"type":"object","description":"Restart is used to define the restart policy for the container.","properties":{"max_retries":{"type":"integer","description":"When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].restart.max_retries","typeLabel":"integer"},"policy":{"type":"string","description":"* no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.\n* always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.\n* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.","enum":["no","always","on-failure"],"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].restart.policy","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].restart","typeLabel":"object"},"secrets":{"type":"array","description":"Secrets can be provided at the process level to explicitly indicate which secrets should be\nused for the process. If not provided, the secrets provided at the machine level will be used.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].secrets.items.[INDEX].env_var","typeLabel":"string"},"name":{"type":"string","description":"Name is optional and when provided is used to reference a secret name where the EnvVar is\ndifferent from what was set as the secret name.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].secrets.items.[INDEX].name","typeLabel":"string"}},"description":"A Secret needing to be set in the environment of the Machine. env_var is required","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].secrets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].secrets","typeLabel":"object[]"},"stop":{"type":"object","description":"Stop is used to define the signal and timeout for stopping the container.","properties":{"signal":{"type":"string","enum":["SIGHUP","SIGINT","SIGQUIT","SIGKILL","SIGUSR1","SIGUSR2","SIGTERM"],"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].stop.signal","typeLabel":"enum\u003cstring>"},"timeout":{"type":"string","example":"10s","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].stop.timeout","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].stop","typeLabel":"object"},"user":{"type":"string","description":"UserOverride is used to override the default user of the image.","uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX].user","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.containers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.containers","typeLabel":"object[]"},"disable_machine_autostart":{"type":"boolean","description":"Deprecated: use Service.Autostart instead","uniqueKey":"items.[INDEX].incomplete_config.disable_machine_autostart","typeLabel":"boolean"},"dns":{"type":"object","description":"DNS settings for the Machine","properties":{"dns_forward_rules":{"type":"array","items":{"type":"object","properties":{"addr":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.dns_forward_rules.items.[INDEX].addr","typeLabel":"string"},"basename":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.dns_forward_rules.items.[INDEX].basename","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.dns.dns_forward_rules.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.dns.dns_forward_rules","typeLabel":"object[]"},"hostname":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.hostname","typeLabel":"string"},"hostname_fqdn":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.hostname_fqdn","typeLabel":"string"},"nameservers":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.nameservers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.dns.nameservers","typeLabel":"string[]"},"options":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.options.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.options.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.dns.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.dns.options","typeLabel":"object[]"},"searches":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.dns.searches.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.dns.searches","typeLabel":"string[]"},"skip_registration":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.dns.skip_registration","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].incomplete_config.dns","typeLabel":"object"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.env.additionalProperties","typeLabel":"string"},"description":"An object filled with key/value pairs to be set as environment variables","uniqueKey":"items.[INDEX].incomplete_config.env","typeLabel":"object"},"files":{"type":"array","description":"Files to write into the Machine, from either a raw value or an app secret","items":{"type":"object","properties":{"guest_path":{"type":"string","description":"GuestPath is the path on the machine where the file will be written and must be an absolute path.\nFor example: /full/path/to/file.json","uniqueKey":"items.[INDEX].incomplete_config.files.items.[INDEX].guest_path","typeLabel":"string"},"image_config":{"type":"string","description":"The name of an image to use the OCI image config as the file contents.","uniqueKey":"items.[INDEX].incomplete_config.files.items.[INDEX].image_config","typeLabel":"string"},"mode":{"type":"integer","description":"Mode bits used to set permissions on this file as accepted by chmod(2).","uniqueKey":"items.[INDEX].incomplete_config.files.items.[INDEX].mode","typeLabel":"integer"},"raw_value":{"type":"string","description":"The base64 encoded string of the file contents.","uniqueKey":"items.[INDEX].incomplete_config.files.items.[INDEX].raw_value","typeLabel":"string"},"secret_name":{"type":"string","description":"The name of the secret that contains the base64 encoded file contents.","uniqueKey":"items.[INDEX].incomplete_config.files.items.[INDEX].secret_name","typeLabel":"string"}},"description":"A file that will be written to the Machine. One of RawValue or SecretName must be set.","uniqueKey":"items.[INDEX].incomplete_config.files.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.files","typeLabel":"object[]"},"guest":{"type":"object","description":"The resources (CPUs, memory, etc.) allocated to the Machine","properties":{"cpu_kind":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.guest.cpu_kind","typeLabel":"string"},"cpus":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.guest.cpus","typeLabel":"integer"},"gpu_kind":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.guest.gpu_kind","typeLabel":"string"},"gpus":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.guest.gpus","typeLabel":"integer"},"host_dedication_id":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.guest.host_dedication_id","typeLabel":"string"},"kernel_args":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.guest.kernel_args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.guest.kernel_args","typeLabel":"string[]"},"max_memory_mb":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.guest.max_memory_mb","typeLabel":"integer"},"memory_mb":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.guest.memory_mb","typeLabel":"integer"},"persist_rootfs":{"type":"string","description":"Deprecated: use MachineConfig.Rootfs instead","enum":["never","always","restart"],"uniqueKey":"items.[INDEX].incomplete_config.guest.persist_rootfs","typeLabel":"enum\u003cstring>"},"required_host_features":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.guest.required_host_features.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.guest.required_host_features","typeLabel":"string[]"}},"uniqueKey":"items.[INDEX].incomplete_config.guest","typeLabel":"object"},"image":{"type":"string","description":"The docker image to run","uniqueKey":"items.[INDEX].incomplete_config.image","typeLabel":"string"},"init":{"type":"object","description":"Arguments for init, Fly.io's footprint inside the Machine, which controls how your own code is run","properties":{"cmd":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.init.cmd.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.init.cmd","typeLabel":"string[]"},"entrypoint":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.init.entrypoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.init.entrypoint","typeLabel":"string[]"},"exec":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.init.exec.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.init.exec","typeLabel":"string[]"},"kernel_args":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.init.kernel_args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.init.kernel_args","typeLabel":"string[]"},"swap_size_mb":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.init.swap_size_mb","typeLabel":"integer"},"tty":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.init.tty","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].incomplete_config.init","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.metadata.additionalProperties","typeLabel":"string"},"description":"Key/value pairs of Machine metadata. Fly.io uses metadata internally for routing, process groups, and clusters","uniqueKey":"items.[INDEX].incomplete_config.metadata","typeLabel":"object"},"metrics":{"type":"object","description":"An optional metrics endpoint for Prometheus on Fly.io to scrape","properties":{"https":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.metrics.https","typeLabel":"boolean"},"path":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.metrics.path","typeLabel":"string"},"port":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.metrics.port","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].incomplete_config.metrics","typeLabel":"object"},"mounts":{"type":"array","description":"Persistent volumes to mount in the Machine. A Machine can mount at most one volume, which must be on\nthe same host. The mounted volume cannot be changed by updating the Machine","items":{"type":"object","properties":{"add_size_gb":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].add_size_gb","typeLabel":"integer"},"add_size_percent":{"type":"integer","description":"AddSizePercent grows by a percentage of the current size, rounded up to GiB.\nIt is mutually exclusive with AddSizeGb.","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].add_size_percent","typeLabel":"integer"},"encrypted":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].encrypted","typeLabel":"boolean"},"extend_threshold_percent":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].extend_threshold_percent","typeLabel":"integer"},"min_add_size_gb":{"type":"integer","description":"MinAddSizeGb is the minimum proportional growth in GiB (default 1).","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].min_add_size_gb","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].name","typeLabel":"string"},"path":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].path","typeLabel":"string"},"size_gb":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].size_gb","typeLabel":"integer"},"size_gb_limit":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].size_gb_limit","typeLabel":"integer"},"volume":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX].volume","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.mounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.mounts","typeLabel":"object[]"},"processes":{"type":"array","description":"Multiple processes to run within this one Machine, all from the Machine's image. Unrelated to the\nprocess groups in fly.toml, which run on separate Machines. To run processes from different\nimages, use containers instead","items":{"type":"object","properties":{"cmd":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].cmd.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].cmd","typeLabel":"string[]"},"entrypoint":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].entrypoint.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].entrypoint","typeLabel":"string[]"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].env.additionalProperties","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].env","typeLabel":"object"},"env_from":{"type":"array","description":"EnvFrom can be provided to set environment variables from machine fields.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].env_from.items.[INDEX].env_var","typeLabel":"string"},"field_ref":{"type":"string","description":"FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.","enum":["id","version","app_name","private_ip","region","image"],"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].env_from.items.[INDEX].field_ref","typeLabel":"enum\u003cstring>"}},"description":"EnvVar defines an environment variable to be populated from a machine field, env_var","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].env_from.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].env_from","typeLabel":"object[]"},"exec":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].exec.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].exec","typeLabel":"string[]"},"ignore_app_secrets":{"type":"boolean","description":"IgnoreAppSecrets can be set to true to ignore the secrets for the App the Machine belongs to\nand only use the secrets provided at the process level. The default/legacy behavior is to use\nthe secrets provided at the App level.","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].ignore_app_secrets","typeLabel":"boolean"},"secrets":{"type":"array","description":"Secrets can be provided at the process level to explicitly indicate which secrets should be\nused for the process. If not provided, the secrets provided at the machine level will be used.","items":{"type":"object","properties":{"env_var":{"type":"string","description":"EnvVar is required and is the name of the environment variable that will be set from the\nsecret. It must be a valid environment variable name.","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].secrets.items.[INDEX].env_var","typeLabel":"string"},"name":{"type":"string","description":"Name is optional and when provided is used to reference a secret name where the EnvVar is\ndifferent from what was set as the secret name.","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].secrets.items.[INDEX].name","typeLabel":"string"}},"description":"A Secret needing to be set in the environment of the Machine. env_var is required","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].secrets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].secrets","typeLabel":"object[]"},"user":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX].user","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.processes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.processes","typeLabel":"object[]"},"restart":{"type":"object","description":"Whether and how the Machine is restarted after its main process exits","properties":{"max_retries":{"type":"integer","description":"When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.","uniqueKey":"items.[INDEX].incomplete_config.restart.max_retries","typeLabel":"integer"},"policy":{"type":"string","description":"* no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.\n* always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.\n* on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.","enum":["no","always","on-failure"],"uniqueKey":"items.[INDEX].incomplete_config.restart.policy","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].incomplete_config.restart","typeLabel":"object"},"rootfs":{"type":"object","description":"The size of the Machine's root filesystem and whether it persists","properties":{"persist":{"type":"string","enum":["never","always","restart"],"uniqueKey":"items.[INDEX].incomplete_config.rootfs.persist","typeLabel":"enum\u003cstring>"},"size_gb":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.rootfs.size_gb","typeLabel":"integer"}},"uniqueKey":"items.[INDEX].incomplete_config.rootfs","typeLabel":"object"},"schedule":{"type":"string","description":"Run the Machine at an interval: one of hourly, daily, weekly or monthly. The interval starts when\nthe Machine is created","uniqueKey":"items.[INDEX].incomplete_config.schedule","typeLabel":"string"},"services":{"type":"array","description":"Network services that Fly Proxy routes traffic to","items":{"type":"object","properties":{"autostart":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].autostart","typeLabel":"boolean"},"autostop":{"type":"string","description":"Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for \"off\" and \"stop\" in responses.\n* \"off\" or false - Do not autostop the Machine.\n* \"stop\" or true - Automatically stop the Machine.\n* \"suspend\" - Automatically suspend the Machine, falling back to a full stop if this is not possible.","enum":["off","stop","suspend"],"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].autostop","typeLabel":"enum\u003cstring>"},"checks":{"type":"array","description":"An optional list of service checks","items":{"type":"object","properties":{"grace_period":{"type":"string","description":"The time to wait after a VM starts before checking its health","example":"1s","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].grace_period","typeLabel":"string"},"headers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The header name","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX].name","typeLabel":"string"},"values":{"type":"array","description":"The header value","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX].values","typeLabel":"string[]"}},"description":"For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].headers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].headers","typeLabel":"object[]"},"interval":{"type":"string","description":"The time between connectivity checks","example":"15s","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].interval","typeLabel":"string"},"method":{"type":"string","description":"For http checks, the HTTP method to use to when making the request","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].method","typeLabel":"string"},"path":{"type":"string","description":"For http checks, the path to send the request to","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].path","typeLabel":"string"},"port":{"type":"integer","description":"The port to connect to, often the same as internal_port","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].port","typeLabel":"integer"},"protocol":{"type":"string","description":"For http checks, whether to use http or https","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].protocol","typeLabel":"string"},"timeout":{"type":"string","description":"The maximum time a connection can take before being reported as failing its health check","example":"2s","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].timeout","typeLabel":"string"},"tls_server_name":{"type":"string","description":"If the protocol is https, the hostname to use for TLS certificate validation","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].tls_server_name","typeLabel":"string"},"tls_skip_verify":{"type":"boolean","description":"For http checks with https protocol, whether or not to verify the TLS certificate","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].tls_skip_verify","typeLabel":"boolean"},"type":{"type":"string","description":"tcp or http","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].checks","typeLabel":"object[]"},"concurrency":{"type":"object","properties":{"hard_limit":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].concurrency.hard_limit","typeLabel":"integer"},"soft_limit":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].concurrency.soft_limit","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].concurrency.type","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].concurrency","typeLabel":"object"},"force_instance_description":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].force_instance_description","typeLabel":"string"},"force_instance_key":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].force_instance_key","typeLabel":"string"},"internal_port":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].internal_port","typeLabel":"integer"},"min_machines_running":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].min_machines_running","typeLabel":"integer"},"ports":{"type":"array","items":{"type":"object","properties":{"end_port":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].end_port","typeLabel":"integer"},"force_https":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].force_https","typeLabel":"boolean"},"handlers":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].handlers.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].handlers","typeLabel":"string[]"},"http_options":{"type":"object","properties":{"compress":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.compress","typeLabel":"boolean"},"h2_backend":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.h2_backend","typeLabel":"boolean"},"headers_read_timeout":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.headers_read_timeout","typeLabel":"integer"},"idle_timeout":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.idle_timeout","typeLabel":"integer"},"replay_cache":{"type":"array","items":{"type":"object","properties":{"allow_bypass":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].allow_bypass","typeLabel":"boolean"},"name":{"type":"string","description":"Name of the cookie or header to key the cache on","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].name","typeLabel":"string"},"path_prefix":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].path_prefix","typeLabel":"string"},"ttl_seconds":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].ttl_seconds","typeLabel":"integer"},"type":{"type":"string","description":"Currently either \"cookie\" or \"header\"","enum":["cookie","header"],"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.replay_cache","typeLabel":"object[]"},"response":{"type":"object","properties":{"headers":{"type":"object","additionalProperties":{"type":"object","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.response.headers.additionalProperties","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.response.headers","typeLabel":"object"},"pristine":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.response.pristine","typeLabel":"boolean"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options.response","typeLabel":"object"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].http_options","typeLabel":"object"},"port":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].port","typeLabel":"integer"},"proxy_proto_options":{"type":"object","properties":{"fly_src":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].proxy_proto_options.fly_src","typeLabel":"boolean"},"version":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].proxy_proto_options.version","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].proxy_proto_options","typeLabel":"object"},"start_port":{"type":"integer","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].start_port","typeLabel":"integer"},"tls_options":{"type":"object","properties":{"alpn":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].tls_options.alpn.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].tls_options.alpn","typeLabel":"string[]"},"default_self_signed":{"type":"boolean","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].tls_options.default_self_signed","typeLabel":"boolean"},"versions":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].tls_options.versions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].tls_options.versions","typeLabel":"string[]"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX].tls_options","typeLabel":"object"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].ports","typeLabel":"object[]"},"protocol":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX].protocol","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.services.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.services","typeLabel":"object[]"},"size":{"type":"string","description":"Deprecated: use Guest instead","uniqueKey":"items.[INDEX].incomplete_config.size","typeLabel":"string"},"spot":{"type":"object","description":"Spot pricing settings for the Machine","properties":{"max_price_fraction":{"type":"number","description":"MaxPriceFraction is the maximum fraction of the full Machine price you will pay for this Machine. Range: (0, 1.0]","uniqueKey":"items.[INDEX].incomplete_config.spot.max_price_fraction","typeLabel":"number"}},"uniqueKey":"items.[INDEX].incomplete_config.spot","typeLabel":"object"},"standbys":{"type":"array","description":"Standbys enable a machine to be a standby for another. In the event of a hardware failure,\nthe standby machine will be started.","items":{"type":"string","uniqueKey":"items.[INDEX].incomplete_config.standbys.items.[INDEX]","typeLabel":"string"},"uniqueKey":"items.[INDEX].incomplete_config.standbys","typeLabel":"string[]"},"statics":{"type":"array","description":"Static files to serve under a URL prefix. Fly Proxy routes matching requests to a file server\ninside the Machine, bypassing your application's own process; the Machine must be running. The\nfiles are read either from a path inside the Machine or from a Tigris bucket that belongs to the\napp; no bucket is created for you","items":{"required":["guest_path","url_prefix"],"type":"object","properties":{"guest_path":{"type":"string","description":"The path inside the Machine, or inside tigris_bucket when set, where the files to serve are located","isRequired":true,"uniqueKey":"items.[INDEX].incomplete_config.statics.items.[INDEX].guest_path","typeLabel":"string"},"url_prefix":{"type":"string","description":"The URL prefix under which the files are served","isRequired":true,"uniqueKey":"items.[INDEX].incomplete_config.statics.items.[INDEX].url_prefix","typeLabel":"string"},"index_document":{"type":"string","description":"The document served for requests to the URL prefix or any of its subfolders. Only works with tigris_bucket","uniqueKey":"items.[INDEX].incomplete_config.statics.items.[INDEX].index_document","typeLabel":"string"},"tigris_bucket":{"type":"string","description":"An existing Tigris bucket belonging to the app to read the files from, instead of the Machine's\nfilesystem. The files are still served through the Machine","uniqueKey":"items.[INDEX].incomplete_config.statics.items.[INDEX].tigris_bucket","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.statics.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].incomplete_config.statics","typeLabel":"object[]"},"stop_config":{"type":"object","description":"How the Machine is shut down gracefully: the signal sent to it and how long to wait before a hard shutdown","properties":{"signal":{"type":"string","enum":["SIGHUP","SIGINT","SIGQUIT","SIGKILL","SIGUSR1","SIGUSR2","SIGTERM"],"uniqueKey":"items.[INDEX].incomplete_config.stop_config.signal","typeLabel":"enum\u003cstring>"},"timeout":{"type":"string","example":"10s","uniqueKey":"items.[INDEX].incomplete_config.stop_config.timeout","typeLabel":"string"}},"uniqueKey":"items.[INDEX].incomplete_config.stop_config","typeLabel":"object"}},"uniqueKey":"items.[INDEX].incomplete_config","typeLabel":"object"},"instance_id":{"type":"string","description":"InstanceID is the same value as `version`.\n\nDeprecated: use `version`.","uniqueKey":"items.[INDEX].instance_id","typeLabel":"string"},"lease":{"type":"object","properties":{"description":{"type":"string","uniqueKey":"items.[INDEX].lease.description","typeLabel":"string"},"expires_at":{"type":"integer","uniqueKey":"items.[INDEX].lease.expires_at","typeLabel":"integer"},"owner":{"type":"string","uniqueKey":"items.[INDEX].lease.owner","typeLabel":"string"}},"uniqueKey":"items.[INDEX].lease","typeLabel":"object"},"name":{"type":"string","uniqueKey":"items.[INDEX].name","typeLabel":"string"},"nonce":{"type":"string","description":"Nonce is only every returned on machine creation if a lease_duration was provided.","uniqueKey":"items.[INDEX].nonce","typeLabel":"string"},"private_ip":{"type":"string","description":"PrivateIP is the internal 6PN address of the machine.","uniqueKey":"items.[INDEX].private_ip","typeLabel":"string"},"region":{"type":"string","uniqueKey":"items.[INDEX].region","typeLabel":"string"},"state":{"type":"string","uniqueKey":"items.[INDEX].state","typeLabel":"string"},"updated_at":{"type":"string","uniqueKey":"items.[INDEX].updated_at","typeLabel":"string"},"version":{"type":"string","description":"Version is unique for each version of the machine. Pass it as\n`current_version` when updating the Machine to reject the update if the\nMachine has changed since this version.","uniqueKey":"items.[INDEX].version","typeLabel":"string"}},"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"checks":[{"name":"\u003cstring>","output":"\u003cstring>","status":"\u003cstring>","updated_at":"\u003cstring>"}],"config":{"auto_destroy":true,"cache_drive":{"size_mb":123},"checks":{},"containers":[{"cmd":["\u003cstring>"],"depends_on":[{"condition":"\u003cunknown>","name":"\u003cstring>"}],"entrypoint":["\u003cstring>"],"env":{},"env_from":[{"env_var":"\u003cstring>","field_ref":"id"}],"exec":["\u003cstring>"],"files":[{"guest_path":"\u003cstring>","image_config":"\u003cstring>","mode":123,"raw_value":"\u003cstring>","secret_name":"\u003cstring>"}],"healthchecks":[{"exec":{"command":["\u003cstring>"]},"failure_threshold":123,"grace_period":123,"http":{"headers":[{"name":"\u003cstring>","values":["\u003cstring>"]}],"method":"\u003cstring>","path":"\u003cstring>","port":123,"scheme":"\u003cunknown>","tls_server_name":"\u003cstring>","tls_skip_verify":true},"interval":123,"kind":"\u003cunknown>","name":"\u003cstring>","success_threshold":123,"tcp":{"port":123},"timeout":123,"unhealthy":"\u003cunknown>"}],"image":"\u003cstring>","name":"\u003cstring>","restart":{"max_retries":123,"policy":"no"},"secrets":[{"env_var":"\u003cstring>","name":"\u003cstring>"}],"stop":{"signal":"SIGHUP","timeout":"10s"},"user":"\u003cstring>"}],"disable_machine_autostart":true,"dns":{"dns_forward_rules":[{"addr":"\u003cstring>","basename":"\u003cstring>"}],"hostname":"\u003cstring>","hostname_fqdn":"\u003cstring>","nameservers":["\u003cstring>"],"options":[{"name":"\u003cstring>","value":"\u003cstring>"}],"searches":["\u003cstring>"],"skip_registration":true},"env":{},"files":[{"guest_path":"\u003cstring>","image_config":"\u003cstring>","mode":123,"raw_value":"\u003cstring>","secret_name":"\u003cstring>"}],"guest":{"cpu_kind":"\u003cstring>","cpus":123,"gpu_kind":"\u003cstring>","gpus":123,"host_dedication_id":"\u003cstring>","kernel_args":["\u003cstring>"],"max_memory_mb":123,"memory_mb":123,"persist_rootfs":"never","required_host_features":["\u003cstring>"]},"image":"\u003cstring>","init":{"cmd":["\u003cstring>"],"entrypoint":["\u003cstring>"],"exec":["\u003cstring>"],"kernel_args":["\u003cstring>"],"swap_size_mb":123,"tty":true},"metadata":{},"metrics":{"https":true,"path":"\u003cstring>","port":123},"mounts":[{"add_size_gb":123,"add_size_percent":123,"encrypted":true,"extend_threshold_percent":123,"min_add_size_gb":123,"name":"\u003cstring>","path":"\u003cstring>","size_gb":123,"size_gb_limit":123,"volume":"\u003cstring>"}],"processes":[{"cmd":["\u003cstring>"],"entrypoint":["\u003cstring>"],"env":{},"env_from":[{"env_var":"\u003cstring>","field_ref":"id"}],"exec":["\u003cstring>"],"ignore_app_secrets":true,"secrets":[{"env_var":"\u003cstring>","name":"\u003cstring>"}],"user":"\u003cstring>"}],"restart":{"max_retries":123,"policy":"no"},"rootfs":{"persist":"never","size_gb":123},"schedule":"\u003cstring>","services":[{"autostart":true,"autostop":"off","checks":[{"grace_period":"1s","headers":[{"name":"\u003cstring>","values":["\u003cstring>"]}],"interval":"15s","method":"\u003cstring>","path":"\u003cstring>","port":123,"protocol":"\u003cstring>","timeout":"2s","tls_server_name":"\u003cstring>","tls_skip_verify":true,"type":"\u003cstring>"}],"concurrency":{"hard_limit":123,"soft_limit":123,"type":"\u003cstring>"},"force_instance_description":"\u003cstring>","force_instance_key":"\u003cstring>","internal_port":123,"min_machines_running":123,"ports":[{"end_port":123,"force_https":true,"handlers":["\u003cstring>"],"http_options":{"compress":true,"h2_backend":true,"headers_read_timeout":123,"idle_timeout":123,"replay_cache":[{"allow_bypass":true,"name":"\u003cstring>","path_prefix":"\u003cstring>","ttl_seconds":123,"type":"cookie"}],"response":{"headers":{},"pristine":true}},"port":123,"proxy_proto_options":{"fly_src":true,"version":"\u003cstring>"},"start_port":123,"tls_options":{"alpn":["\u003cstring>"],"default_self_signed":true,"versions":["\u003cstring>"]}}],"protocol":"\u003cstring>"}],"size":"\u003cstring>","spot":{"max_price_fraction":123},"standbys":["\u003cstring>"],"statics":[{"guest_path":"\u003cstring>","url_prefix":"\u003cstring>","index_document":"\u003cstring>","tigris_bucket":"\u003cstring>"}],"stop_config":{"signal":"SIGHUP","timeout":"10s"}},"cordoned":true,"created_at":"\u003cstring>","events":[{"id":"\u003cstring>","request":{},"source":"\u003cstring>","status":"\u003cstring>","timestamp":123,"type":"\u003cstring>"}],"host_features":["\u003cstring>"],"host_status":"ok","id":"\u003cstring>","image_ref":{"digest":"\u003cstring>","labels":{},"registry":"\u003cstring>","repository":"\u003cstring>","tag":"\u003cstring>"},"incomplete_config":{"auto_destroy":true,"cache_drive":{"size_mb":123},"checks":{},"containers":[{"cmd":["\u003cstring>"],"depends_on":[{"condition":"\u003cunknown>","name":"\u003cstring>"}],"entrypoint":["\u003cstring>"],"env":{},"env_from":[{"env_var":"\u003cstring>","field_ref":"id"}],"exec":["\u003cstring>"],"files":[{"guest_path":"\u003cstring>","image_config":"\u003cstring>","mode":123,"raw_value":"\u003cstring>","secret_name":"\u003cstring>"}],"healthchecks":[{"exec":{"command":["\u003cstring>"]},"failure_threshold":123,"grace_period":123,"http":{"headers":[{"name":"\u003cstring>","values":["\u003cstring>"]}],"method":"\u003cstring>","path":"\u003cstring>","port":123,"scheme":"\u003cunknown>","tls_server_name":"\u003cstring>","tls_skip_verify":true},"interval":123,"kind":"\u003cunknown>","name":"\u003cstring>","success_threshold":123,"tcp":{"port":123},"timeout":123,"unhealthy":"\u003cunknown>"}],"image":"\u003cstring>","name":"\u003cstring>","restart":{"max_retries":123,"policy":"no"},"secrets":[{"env_var":"\u003cstring>","name":"\u003cstring>"}],"stop":{"signal":"SIGHUP","timeout":"10s"},"user":"\u003cstring>"}],"disable_machine_autostart":true,"dns":{"dns_forward_rules":[{"addr":"\u003cstring>","basename":"\u003cstring>"}],"hostname":"\u003cstring>","hostname_fqdn":"\u003cstring>","nameservers":["\u003cstring>"],"options":[{"name":"\u003cstring>","value":"\u003cstring>"}],"searches":["\u003cstring>"],"skip_registration":true},"env":{},"files":[{"guest_path":"\u003cstring>","image_config":"\u003cstring>","mode":123,"raw_value":"\u003cstring>","secret_name":"\u003cstring>"}],"guest":{"cpu_kind":"\u003cstring>","cpus":123,"gpu_kind":"\u003cstring>","gpus":123,"host_dedication_id":"\u003cstring>","kernel_args":["\u003cstring>"],"max_memory_mb":123,"memory_mb":123,"persist_rootfs":"never","required_host_features":["\u003cstring>"]},"image":"\u003cstring>","init":{"cmd":["\u003cstring>"],"entrypoint":["\u003cstring>"],"exec":["\u003cstring>"],"kernel_args":["\u003cstring>"],"swap_size_mb":123,"tty":true},"metadata":{},"metrics":{"https":true,"path":"\u003cstring>","port":123},"mounts":[{"add_size_gb":123,"add_size_percent":123,"encrypted":true,"extend_threshold_percent":123,"min_add_size_gb":123,"name":"\u003cstring>","path":"\u003cstring>","size_gb":123,"size_gb_limit":123,"volume":"\u003cstring>"}],"processes":[{"cmd":["\u003cstring>"],"entrypoint":["\u003cstring>"],"env":{},"env_from":[{"env_var":"\u003cstring>","field_ref":"id"}],"exec":["\u003cstring>"],"ignore_app_secrets":true,"secrets":[{"env_var":"\u003cstring>","name":"\u003cstring>"}],"user":"\u003cstring>"}],"restart":{"max_retries":123,"policy":"no"},"rootfs":{"persist":"never","size_gb":123},"schedule":"\u003cstring>","services":[{"autostart":true,"autostop":"off","checks":[{"grace_period":"1s","headers":[{"name":"\u003cstring>","values":["\u003cstring>"]}],"interval":"15s","method":"\u003cstring>","path":"\u003cstring>","port":123,"protocol":"\u003cstring>","timeout":"2s","tls_server_name":"\u003cstring>","tls_skip_verify":true,"type":"\u003cstring>"}],"concurrency":{"hard_limit":123,"soft_limit":123,"type":"\u003cstring>"},"force_instance_description":"\u003cstring>","force_instance_key":"\u003cstring>","internal_port":123,"min_machines_running":123,"ports":[{"end_port":123,"force_https":true,"handlers":["\u003cstring>"],"http_options":{"compress":true,"h2_backend":true,"headers_read_timeout":123,"idle_timeout":123,"replay_cache":[{"allow_bypass":true,"name":"\u003cstring>","path_prefix":"\u003cstring>","ttl_seconds":123,"type":"cookie"}],"response":{"headers":{},"pristine":true}},"port":123,"proxy_proto_options":{"fly_src":true,"version":"\u003cstring>"},"start_port":123,"tls_options":{"alpn":["\u003cstring>"],"default_self_signed":true,"versions":["\u003cstring>"]}}],"protocol":"\u003cstring>"}],"size":"\u003cstring>","spot":{"max_price_fraction":123},"standbys":["\u003cstring>"],"statics":[{"guest_path":"\u003cstring>","url_prefix":"\u003cstring>","index_document":"\u003cstring>","tigris_bucket":"\u003cstring>"}],"stop_config":{"signal":"SIGHUP","timeout":"10s"}},"instance_id":"\u003cstring>","lease":{"description":"\u003cstring>","expires_at":123,"owner":"\u003cstring>"},"name":"\u003cstring>","nonce":"\u003cstring>","private_ip":"\u003cstring>","region":"\u003cstring>","state":"\u003cstring>","updated_at":"\u003cstring>","version":"\u003cstring>"}]}},"exampleType":"generated"}},"exampleType":"generated"},"566d0773-65ad-4282-b9fd-ab631bc2bcb4":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"details":{"type":"object","description":"Deprecated","uniqueKey":"details","typeLabel":"object"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"status":{"type":"string","enum":["unknown","insufficient_capacity","volume_placement_capacity","name_taken"],"x-enum-varnames":["unknown","capacityErr","volumePlacementCapacityErr","nameTakenErr"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"details":{},"error":"\u003cstring>","status":"unknown"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2e3e241c-a298-41ad-b894-0ecd5ed48964":{"FlyBearerAuth":{"type":"http","scheme":"bearer","description":"A Fly API token with access to the requested organization or resource. Send it as `Authorization: Bearer \u003cFly API token>`.","scopes":[],"schemeName":"FlyBearerAuth"}}},"servers":{"46282bdf-e906-4a46-b71a-9a39fc1d3671":{"url":"https://api.machines.dev"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A Fly API token with access to the requested organization or resource. Send it as `Authorization: Bearer \u003cFly API token>`.","scopes":[],"schemeName":"FlyBearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A Fly API token with access to the requested organization or resource. Send it as `Authorization: Bearer \u003cFly API token>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"FlyBearerAuth","name":"Authorization"}],"title":"FlyBearerAuth"}]},"originalFileLocation":"api/machines/openapi.json"},"subdomain":"fly-io","siteName":"Fly.io","title":"List Machines - Fly.io","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T21:40:59.399Z","originalFileLocation":"api/machines/machines/list-machines.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fly.io\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fly-io/pksrSrIEk6ICJvMM/_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/fly-io/pksrSrIEk6ICJvMM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fly-io/pksrSrIEk6ICJvMM/_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/fly-io/pksrSrIEk6ICJvMM/_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/fly-io/pksrSrIEk6ICJvMM/_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/fly-io/pksrSrIEk6ICJvMM/_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/fly-io/pksrSrIEk6ICJvMM/_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/fly-io/pksrSrIEk6ICJvMM/_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/fly-io/pksrSrIEk6ICJvMM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Machines - Fly.io\">\u003cmeta data-mint-head property=\"og:description\" content=\"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fly.io\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fly.io/api/machines/machines/list-machines\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fly-io.mintlify.site/_mintlify/api/og/v2?division=Machines\u0026amp;title=List+Machines\u0026amp;description=List+all+Machines+associated+with+a+specific+app%2C+with+optional+filters+for+including+deleted+Machines+and+filtering+by+region.%0A\u0026amp;theme=8d885d55ffdf567e0c64e798\u0026amp;signature=3b7988da6f4dfd229ce118063f7ec7e7efbf2b5e950f8698ae7aec9364a0703f\">\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=\"List Machines - Fly.io\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fly-io.mintlify.site/_mintlify/api/og/v2?division=Machines\u0026amp;title=List+Machines\u0026amp;description=List+all+Machines+associated+with+a+specific+app%2C+with+optional+filters+for+including+deleted+Machines+and+filtering+by+region.%0A\u0026amp;theme=8d885d55ffdf567e0c64e798\u0026amp;signature=3b7988da6f4dfd229ce118063f7ec7e7efbf2b5e950f8698ae7aec9364a0703f\">\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/fly-io/pksrSrIEk6ICJvMM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fly.io\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3BED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fly.io/api/machines/machines/list-machines\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/machines/machines/list-machines.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fly.io/#organization\",\"name\":\"Fly.io\",\"url\":\"https://docs.fly.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fly-io/izaS1l2UMuz6sm1H/images/logo/light.svg?fit=max\u0026auto=format\u0026n=izaS1l2UMuz6sm1H\u0026q=85\u0026s=5f1256e06beb6fdd5ed68aad3dd32b39\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fly.io#website\",\"name\":\"Fly.io\",\"url\":\"https://docs.fly.io\",\"publisher\":{\"@id\":\"https://docs.fly.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fly.io/api/machines/machines/list-machines#webpage\",\"url\":\"https://docs.fly.io/api/machines/machines/list-machines\",\"name\":\"List Machines\",\"description\":\"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\",\"dateModified\":\"2026-10-23T21:40:59.399Z\",\"isPartOf\":{\"@id\":\"https://docs.fly.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fly.io/api/machines/machines/list-machines#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fly.io/api/machines/machines/list-machines#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Machines API\",\"item\":\"https://docs.fly.io/api/machines/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List Machines\",\"item\":\"https://docs.fly.io/api/machines/machines/list-machines\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fly.io/api/machines/machines/list-machines#apireference\",\"headline\":\"List Machines\",\"name\":\"List Machines\",\"description\":\"List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.\",\"url\":\"https://docs.fly.io/api/machines/machines/list-machines\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fly.io/api/machines/machines/list-machines#webpage\"},\"dateModified\":\"2026-10-23T21:40:59.399Z\",\"publisher\":{\"@id\":\"https://docs.fly.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fly.io#website\"}}]}\u003c/script>","siteName":"Fly.io","nav":{"global":null,"tabs":[{"tab":"Fly docs","pages":[{"title":"Fly docs","href":"/getting-started"}]},{"tab":"Machines API","pages":[{"group":"Machines API","pages":[{"title":"Machines API overview","sidebarTitle":"Overview","icon":"book-open","href":"/api/machines"},{"group":"Apps","icon":"grid-2","pages":[{"title":"List Apps","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps","href":"/api/machines/apps/list-apps"},{"title":"Create App","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps","href":"/api/machines/apps/create-app"},{"title":"Get App","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}","href":"/api/machines/apps/get-app"},{"title":"Destroy App","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}","href":"/api/machines/apps/destroy-app"},{"title":"Create App deploy token","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/deploy_token","href":"/api/machines/apps/create-app-deploy-token"},{"title":"List IP assignments for app","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/ip_assignments","href":"/api/machines/apps/list-ip-assignments-for-app"},{"title":"Assign new IP address to app","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/ip_assignments","href":"/api/machines/apps/assign-new-ip-address-to-app"},{"title":"Remove IP assignment from app","description":null,"deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/ip_assignments/{ip}","href":"/api/machines/apps/remove-ip-assignment-from-app"}]},{"group":"Machines","icon":"server","pages":[{"title":"List Machines","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines","href":"/api/machines/machines/list-machines"},{"title":"Create Machine","description":"Create a Machine within a specific app using the details provided in the request body.\n\n**Important**: This request can fail, and you’re responsible for handling that failure. If you ask for a large Machine, or a Machine in a region we happen to be at capacity for, you might need to retry the request, or to fall back to another region. If you’re working directly with the Machines API, you’re taking some responsibility for your own orchestration!\n","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines","href":"/api/machines/machines/create-machine"},{"title":"Get Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}","href":"/api/machines/machines/get-machine"},{"title":"Update Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}","href":"/api/machines/machines/update-machine"},{"title":"Destroy Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/machines/{machine_id}","href":"/api/machines/machines/destroy-machine"},{"title":"Cordon Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/cordon","href":"/api/machines/machines/cordon-machine"},{"title":"List Events","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/events","href":"/api/machines/machines/list-events"},{"title":"Execute Command","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/exec","href":"/api/machines/machines/execute-command"},{"title":"Get Lease","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/lease","href":"/api/machines/machines/get-lease"},{"title":"Create Lease","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/lease","href":"/api/machines/machines/create-lease"},{"title":"Release Lease","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/machines/{machine_id}/lease","href":"/api/machines/machines/release-lease"},{"title":"Get Machine Memory","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/memory","href":"/api/machines/machines/get-machine-memory"},{"title":"Set Machine Memory Limit","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json put /v1/apps/{app_name}/machines/{machine_id}/memory","href":"/api/machines/machines/set-machine-memory-limit"},{"title":"Reclaim Machine Memory","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/memory/reclaim","href":"/api/machines/machines/reclaim-machine-memory"},{"title":"Get Metadata","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/metadata","href":"/api/machines/machines/get-metadata"},{"title":"Update Metadata (deprecated PUT alias of PATCH)","deprecated":true,"version":null,"openapi":"/api/machines/openapi.json put /v1/apps/{app_name}/machines/{machine_id}/metadata","href":"/api/machines/machines/update-metadata-deprecated-put-alias-of-patch"},{"title":"Update Metadata (set/remove multiple keys)","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json patch /v1/apps/{app_name}/machines/{machine_id}/metadata","href":"/api/machines/machines/update-metadata-setremove-multiple-keys"},{"title":"Get Metadata Value","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/metadata/{key}","href":"/api/machines/machines/get-metadata-value"},{"title":"Upsert Metadata Key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/metadata/{key}","href":"/api/machines/machines/upsert-metadata-key"},{"title":"Delete Metadata","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/machines/{machine_id}/metadata/{key}","href":"/api/machines/machines/delete-metadata"},{"title":"List Processes","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/ps","href":"/api/machines/machines/list-processes"},{"title":"Restart Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/restart","href":"/api/machines/machines/restart-machine"},{"title":"Signal Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/signal","href":"/api/machines/machines/signal-machine"},{"title":"Start Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/start","href":"/api/machines/machines/start-machine"},{"title":"Stop Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/stop","href":"/api/machines/machines/stop-machine"},{"title":"Suspend Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/suspend","href":"/api/machines/machines/suspend-machine"},{"title":"Uncordon Machine","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/machines/{machine_id}/uncordon","href":"/api/machines/machines/uncordon-machine"},{"title":"List Versions","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/versions","href":"/api/machines/machines/list-versions"},{"title":"Wait for State","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/machines/{machine_id}/wait","href":"/api/machines/machines/wait-for-state"}]},{"group":"Volumes","icon":"hard-drive","pages":[{"title":"List Volumes","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/volumes","href":"/api/machines/volumes/list-volumes"},{"title":"Create Volume","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/volumes","href":"/api/machines/volumes/create-volume"},{"title":"Get Volume","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/volumes/{volume_id}","href":"/api/machines/volumes/get-volume"},{"title":"Update Volume","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json put /v1/apps/{app_name}/volumes/{volume_id}","href":"/api/machines/volumes/update-volume"},{"title":"Destroy Volume","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/volumes/{volume_id}","href":"/api/machines/volumes/destroy-volume"},{"title":"Extend Volume","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json put /v1/apps/{app_name}/volumes/{volume_id}/extend","href":"/api/machines/volumes/extend-volume"},{"title":"List Snapshots","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/volumes/{volume_id}/snapshots","href":"/api/machines/volumes/list-snapshots"},{"title":"Create Snapshot","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/volumes/{volume_id}/snapshots","href":"/api/machines/volumes/create-snapshot"}]},{"group":"Postgres Clusters","icon":"database","pages":[{"title":"List Postgres Clusters","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres","href":"/api/machines/postgres-clusters/list-postgres-clusters"},{"title":"Create Postgres Cluster","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres","href":"/api/machines/postgres-clusters/create-postgres-cluster"},{"title":"List Postgres Plans","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/plans","href":"/api/machines/postgres-clusters/list-postgres-plans"},{"title":"Get Postgres Cluster","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}","href":"/api/machines/postgres-clusters/get-postgres-cluster"},{"title":"Delete Postgres Cluster","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/postgres/{postgres_cluster_id}","href":"/api/machines/postgres-clusters/delete-postgres-cluster"},{"title":"Attach Cluster to App","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/attachments","href":"/api/machines/postgres-clusters/attach-cluster-to-app"},{"title":"Detach Cluster from App","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/postgres/{postgres_cluster_id}/attachments/{app_name}","href":"/api/machines/postgres-clusters/detach-cluster-from-app"},{"title":"List Backups","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}/backups","href":"/api/machines/postgres-clusters/list-backups"},{"title":"Create Backup","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/backups","href":"/api/machines/postgres-clusters/create-backup"},{"title":"List Databases","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}/databases","href":"/api/machines/postgres-clusters/list-databases"},{"title":"Create Database","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/databases","href":"/api/machines/postgres-clusters/create-database"},{"title":"Drop Database","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/postgres/{postgres_cluster_id}/databases/{database_name}","href":"/api/machines/postgres-clusters/drop-database"},{"title":"List Extensions","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}/databases/{database_name}/extensions","href":"/api/machines/postgres-clusters/list-extensions"},{"title":"Enable Extension","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/databases/{database_name}/extensions","href":"/api/machines/postgres-clusters/enable-extension"},{"title":"Disable Extension","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/postgres/{postgres_cluster_id}/databases/{database_name}/extensions/{extension_name}","href":"/api/machines/postgres-clusters/disable-extension"},{"title":"Fork Cluster to New Cluster","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/fork","href":"/api/machines/postgres-clusters/fork-cluster-to-new-cluster"},{"title":"List Active Queries","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}/queries/active","href":"/api/machines/postgres-clusters/list-active-queries"},{"title":"List Slow Queries","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}/queries/slow","href":"/api/machines/postgres-clusters/list-slow-queries"},{"title":"Restore Backup or Point in Time to New Cluster","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/restore","href":"/api/machines/postgres-clusters/restore-backup-or-point-in-time-to-new-cluster"},{"title":"List Users","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}/users","href":"/api/machines/postgres-clusters/list-users"},{"title":"Create User","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/users","href":"/api/machines/postgres-clusters/create-user"},{"title":"Delete User","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/postgres/{postgres_cluster_id}/users/{username}","href":"/api/machines/postgres-clusters/delete-user"},{"title":"Update User Role","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json patch /v1/postgres/{postgres_cluster_id}/users/{username}","href":"/api/machines/postgres-clusters/update-user-role"},{"title":"Get User Credentials","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/postgres/{postgres_cluster_id}/users/{username}/credentials","href":"/api/machines/postgres-clusters/get-user-credentials"},{"title":"Rotate User Password","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/postgres/{postgres_cluster_id}/users/{username}/rotate_password","href":"/api/machines/postgres-clusters/rotate-user-password"}]},{"group":"Secrets","icon":"lock","pages":[{"title":"List secret keys belonging to an app","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/secretkeys","href":"/api/machines/secrets/list-secret-keys-belonging-to-an-app"},{"title":"Get an app's secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/secretkeys/{secret_name}","href":"/api/machines/secrets/get-an-apps-secret-key"},{"title":"Create or update a secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secretkeys/{secret_name}","href":"/api/machines/secrets/create-or-update-a-secret-key"},{"title":"Delete an app's secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/secretkeys/{secret_name}","href":"/api/machines/secrets/delete-an-apps-secret-key"},{"title":"Decrypt with a secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secretkeys/{secret_name}/decrypt","href":"/api/machines/secrets/decrypt-with-a-secret-key"},{"title":"Encrypt with a secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secretkeys/{secret_name}/encrypt","href":"/api/machines/secrets/encrypt-with-a-secret-key"},{"title":"Generate a random secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secretkeys/{secret_name}/generate","href":"/api/machines/secrets/generate-a-random-secret-key"},{"title":"Sign with a secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secretkeys/{secret_name}/sign","href":"/api/machines/secrets/sign-with-a-secret-key"},{"title":"Verify with a secret key","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secretkeys/{secret_name}/verify","href":"/api/machines/secrets/verify-with-a-secret-key"},{"title":"List app secrets belonging to an app","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/secrets","href":"/api/machines/secrets/list-app-secrets-belonging-to-an-app"},{"title":"Update app secrets belonging to an app","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secrets","href":"/api/machines/secrets/update-app-secrets-belonging-to-an-app"},{"title":"Get an app secret","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/secrets/{secret_name}","href":"/api/machines/secrets/get-an-app-secret"},{"title":"Create or update Secret","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/secrets/{secret_name}","href":"/api/machines/secrets/create-or-update-secret"},{"title":"Delete an app secret","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/secrets/{secret_name}","href":"/api/machines/secrets/delete-an-app-secret"}]},{"group":"TLS Certificates","icon":"shield-check","pages":[{"title":"List certificates for app","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/certificates","href":"/api/machines/tls-certificates/list-certificates-for-app"},{"title":"Request ACME certificate","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/certificates/acme","href":"/api/machines/tls-certificates/request-acme-certificate"},{"title":"Upload custom certificate","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/certificates/custom","href":"/api/machines/tls-certificates/upload-custom-certificate"},{"title":"Get certificate details","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/apps/{app_name}/certificates/{hostname}","href":"/api/machines/tls-certificates/get-certificate-details"},{"title":"Remove certificate","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/certificates/{hostname}","href":"/api/machines/tls-certificates/remove-certificate"},{"title":"Remove ACME certificates","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/certificates/{hostname}/acme","href":"/api/machines/tls-certificates/remove-acme-certificates"},{"title":"Check DNS and re-validate certificate","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/apps/{app_name}/certificates/{hostname}/check","href":"/api/machines/tls-certificates/check-dns-and-re-validate-certificate"},{"title":"Remove custom certificate","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json delete /v1/apps/{app_name}/certificates/{hostname}/custom","href":"/api/machines/tls-certificates/remove-custom-certificate"}]},{"group":"Tokens","icon":"key","pages":[{"title":"Authenticate token header","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/tokens/authenticate","href":"/api/machines/tokens/authenticate-token-header"},{"title":"Authorize token for resource access","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/tokens/authorize","href":"/api/machines/tokens/authorize-token-for-resource-access"},{"title":"Get Current Token Information","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/tokens/current","href":"/api/machines/tokens/get-current-token-information"},{"title":"Request a Petsem token for accessing KMS","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/tokens/kms","href":"/api/machines/tokens/request-a-petsem-token-for-accessing-kms"},{"title":"Request an OIDC token","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/tokens/oidc","href":"/api/machines/tokens/request-an-oidc-token"}]},{"group":"Organizations","icon":"building","pages":[{"title":"List All Machines","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/orgs/{org_slug}/machines","href":"/api/machines/organizations/list-all-machines"},{"title":"List All Volumes","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/orgs/{org_slug}/volumes","href":"/api/machines/organizations/list-all-volumes"}]},{"group":"Platform","icon":"globe","pages":[{"title":"Get Placements","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json post /v1/platform/placements","href":"/api/machines/platform/get-placements"},{"title":"Get Regions","deprecated":null,"version":null,"openapi":"/api/machines/openapi.json get /v1/platform/regions","href":"/api/machines/platform/get-regions"}]},{"title":"Models","icon":"boxes","href":"/api/machines/models"}]}]},{"tab":"Sprite docs","pages":[{"title":"Sprite docs","href":"/sprites"}]},{"tab":"Sprites API","pages":[{"title":"Sprites API","href":"/sprites/api/connectors/list-connectors"}]}]},"basePath":"","title":"List Machines - Fly.io","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BUDYNlhG.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}