{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Inferless","colors":{"primary":"#94CF09","light":"#9FDD0C","dark":"#94CF09"},"favicon":"/favicon.svg","logo":"https://mintcdn.com/inferless-68/x3qz0tMEu71kbXM1/logo.svg?fit=max\u0026auto=format\u0026n=x3qz0tMEu71kbXM1\u0026q=85\u0026s=241b9045e381a10cd0ebd5472ed04426","api":{"mdx":{"server":"https://api.inferless.com/","auth":{"method":"key","name":"Authorization"}}},"navbar":{"primary":{"type":"button","label":"Deploy now","href":"https://console.inferless.com/auth/signup"}},"footer":{"socials":{"twitter":"https://twitter.com/Inferless_","linkedin":"https://www.linkedin.com/company/inferless/"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"inferless-68","hasAudioNarration":false,"actualSubdomain":"inferless-68","customDomains":["docs.inferless.com"],"gitSource":{"type":"github","owner":"aginfer","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e61c03d4026a3ef76639","collectionId":"cf72979f-d810-4a81-a972-54a5c06f0e42","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e61c03d4026a3ef76639:success","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Documentation","count":142},{"language":"default","tag":"Changelog","count":102},{"language":"default","tag":"Tutorials","count":51},{"language":"default","tag":"How to Guides","count":51},{"language":"default","tag":"How-to Guides","count":51},{"language":"default","tag":"References","count":32},{"language":"default","tag":"Cookbook","count":20},{"language":"default","tag":"Model Import","count":17},{"language":"default","tag":"CLI","count":13},{"language":"default","tag":"API Reference","count":12}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":""}],"page":{"pagePath":"api-reference/model-management-apis/model-settings-update","slug":"/api-reference/model-management-apis/model-settings-update","pageMetadata":{"authMethod":"key","title":"Model Settings - Update APIs","description":"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings","api":"POST /rest/model/settings/update/","href":"/api-reference/model-management-apis/model-settings-update"},"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: \"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={hr:`hr`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(ParamField,{path:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Your workspace API token. You can find it in Workspace Settings`})}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(ParamField,{path:`model_id`,type:`string`,required:true,id:`param-model-id`,children:_jsx(_components.p,{children:`The ID of the model whose settings you want to update.`})}),`\n`,_jsxs(ParamField,{path:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The settings you want to update for the model.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{path:`min_replica`,type:`integer`,id:`param-min-replica`,children:_jsx(_components.p,{children:`The minimum number of replicas for the model.`})}),_jsx(ParamField,{path:`max_replica`,type:`integer`,id:`param-max-replica`,children:_jsx(_components.p,{children:`The maximum number of replicas for the model.`})}),_jsx(ParamField,{path:`scale_down_delay`,type:`integer`,id:`param-scale-down-delay`,children:_jsx(_components.p,{children:`The delay in seconds before scaling down the model.`})}),_jsx(ParamField,{path:`inference_time`,type:`integer`,id:`param-inference-time`,children:_jsx(_components.p,{children:`The maximum time in seconds for the model to process an inference request.`})}),_jsx(ParamField,{path:`is_dedicated`,type:`boolean`,id:`param-is-dedicated`,children:_jsx(_components.p,{children:`Whether the model uses a dedicated machine or a shared machine.`})}),_jsx(ParamField,{path:`machine_type`,type:`string`,id:`param-machine-type`,children:_jsx(_components.p,{children:`The machine type for the model.`})}),_jsx(ParamField,{path:`container_concurrency`,type:`integer`,id:`param-container-concurrency`,children:_jsx(_components.p,{children:`The number of concurrent requests the model can handle.`})}),_jsx(ParamField,{path:`is_input_output_enabled`,type:`boolean`,id:`param-is-input-output-enabled`,children:_jsx(_components.p,{children:`Whether the model supports input and output tracking.`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"authMethod":"key","title":"Model Settings - Update APIs","description":"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings","api":"POST /rest/model/settings/update/","href":"/api-reference/model-management-apis/model-settings-update"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(ParamField,{path:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Your workspace API token. You can find it in Workspace Settings`})}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(ParamField,{path:`model_id`,type:`string`,required:true,id:`param-model-id`,children:_jsx(_components.p,{children:`The ID of the model whose settings you want to update.`})}),`\n`,_jsxs(ParamField,{path:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The settings you want to update for the model.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{path:`min_replica`,type:`integer`,id:`param-min-replica`,children:_jsx(_components.p,{children:`The minimum number of replicas for the model.`})}),_jsx(ParamField,{path:`max_replica`,type:`integer`,id:`param-max-replica`,children:_jsx(_components.p,{children:`The maximum number of replicas for the model.`})}),_jsx(ParamField,{path:`scale_down_delay`,type:`integer`,id:`param-scale-down-delay`,children:_jsx(_components.p,{children:`The delay in seconds before scaling down the model.`})}),_jsx(ParamField,{path:`inference_time`,type:`integer`,id:`param-inference-time`,children:_jsx(_components.p,{children:`The maximum time in seconds for the model to process an inference request.`})}),_jsx(ParamField,{path:`is_dedicated`,type:`boolean`,id:`param-is-dedicated`,children:_jsx(_components.p,{children:`Whether the model uses a dedicated machine or a shared machine.`})}),_jsx(ParamField,{path:`machine_type`,type:`string`,id:`param-machine-type`,children:_jsx(_components.p,{children:`The machine type for the model.`})}),_jsx(ParamField,{path:`container_concurrency`,type:`integer`,id:`param-container-concurrency`,children:_jsx(_components.p,{children:`The number of concurrent requests the model can handle.`})}),_jsx(ParamField,{path:`is_input_output_enabled`,type:`boolean`,id:`param-is-input-output-enabled`,children:_jsx(_components.p,{children:`Whether the model supports input and output tracking.`})})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request`,numberOfLines:`16`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.inferless.com/rest/model/settings/update/'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: \u003cworkspace-token>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model_id\": \"\u003cmodel-id>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"min_replica\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_replica\": 2,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"scale_down_delay\": 30,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"inference_time\": 120,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_dedicated\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"machine_type\": \"T4\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"container_concurrency\": 10,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_input_output_enabled\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Model updated successfully\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"authMethod":"key","title":"Model Settings - Update APIs","description":"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings","api":"POST /rest/model/settings/update/","href":"/api-reference/model-management-apis/model-settings-update"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authorizations","slug":"authorizations","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --location\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.inferless.com/rest/model/settings/update/'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: \u0026#x3C;workspace-token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--data \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model_id\": \"\u0026#x3C;model-id>\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"data\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"min_replica\": 0,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"max_replica\": 2,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"scale_down_delay\": 30,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"inference_time\": 120,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is_dedicated\": false,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"machine_type\": \"T4\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"container_concurrency\": 10,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is_input_output_enabled\": false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Model updated successfully\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Model Settings - Update APIs","path":"/rest/model/settings/update/","servers":[{"url":"https://api.inferless.com/"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"Authorization":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"Authorization":{"schema":[{"type":"string","description":"Your workspace API token. You can find it in Workspace Settings","required":true}]},"model_id":{"schema":[{"type":"string","description":"The ID of the model whose settings you want to update.","required":true}]},"data":{"schema":[{"type":"object","properties":{"min_replica":[{"type":"integer","description":"The minimum number of replicas for the model."}],"max_replica":[{"type":"integer","description":"The maximum number of replicas for the model."}],"scale_down_delay":[{"type":"integer","description":"The delay in seconds before scaling down the model."}],"inference_time":[{"type":"integer","description":"The maximum time in seconds for the model to process an inference request."}],"is_dedicated":[{"type":"boolean","description":"Whether the model uses a dedicated machine or a shared machine."}],"machine_type":[{"type":"string","description":"The machine type for the model."}],"container_concurrency":[{"type":"integer","description":"The number of concurrent requests the model can handle."}],"is_input_output_enabled":[{"type":"boolean","description":"Whether the model supports input and output tracking."}]},"description":"The settings you want to update for the model.","required":true}]}}},"body":{}},"response":{},"deprecated":false}},"jsLinks":["/_mintlify/custom/inferless-68/6d3a04977a5a57f2/script.js"],"subdomain":"inferless-68","siteName":"Inferless","title":"Model Settings - Update APIs - Inferless","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T00:52:36.784Z","originalFileLocation":"api-reference/model-management-apis/model-settings-update.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=\"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings\">\u003cmeta data-mint-head name=\"application-name\" content=\"Inferless\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/inferless-68/MfmZdM7S4hFeN-tG/_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/inferless-68/MfmZdM7S4hFeN-tG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/inferless-68/MfmZdM7S4hFeN-tG/_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/inferless-68/MfmZdM7S4hFeN-tG/_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/inferless-68/MfmZdM7S4hFeN-tG/_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/inferless-68/MfmZdM7S4hFeN-tG/_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/inferless-68/MfmZdM7S4hFeN-tG/_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/inferless-68/MfmZdM7S4hFeN-tG/_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/inferless-68/MfmZdM7S4hFeN-tG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Model Settings - Update APIs - Inferless\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Inferless\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://inferless-68.mintlify.app/_mintlify/api/og/v2?division=Model+Management+APIs\u0026amp;title=Model+Settings+-+Update+APIs\u0026amp;description=This+endpoint+updates+the+settings+of+a+model.+You+can+configure+Min%2FMax+Replicas%2C+Timeout+and+Concurrency+Settings\u0026amp;theme=1b0063b82697cac5893e61de\u0026amp;signature=a1108da5c65207af13034f2d027ae36a1d96dbfe495c7aae05515c9fb5e03711\">\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=\"Model Settings - Update APIs - Inferless\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://inferless-68.mintlify.app/_mintlify/api/og/v2?division=Model+Management+APIs\u0026amp;title=Model+Settings+-+Update+APIs\u0026amp;description=This+endpoint+updates+the+settings+of+a+model.+You+can+configure+Min%2FMax+Replicas%2C+Timeout+and+Concurrency+Settings\u0026amp;theme=1b0063b82697cac5893e61de\u0026amp;signature=a1108da5c65207af13034f2d027ae36a1d96dbfe495c7aae05515c9fb5e03711\">\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/inferless-68/MfmZdM7S4hFeN-tG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Inferless\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#94CF09\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/model-management-apis/model-settings-update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.inferless.com/#organization\",\"name\":\"Inferless\",\"url\":\"https://docs.inferless.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/inferless-68/x3qz0tMEu71kbXM1/logo.svg?fit=max\u0026auto=format\u0026n=x3qz0tMEu71kbXM1\u0026q=85\u0026s=241b9045e381a10cd0ebd5472ed04426\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.inferless.com#website\",\"name\":\"Inferless\",\"url\":\"https://docs.inferless.com\",\"publisher\":{\"@id\":\"https://docs.inferless.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update#webpage\",\"url\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update\",\"name\":\"Model Settings - Update APIs\",\"description\":\"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings\",\"dateModified\":\"2026-01-07T00:52:36.784Z\",\"isPartOf\":{\"@id\":\"https://docs.inferless.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.inferless.com/api-reference/aws-privatelink\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Model Settings - Update APIs\",\"item\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update#apireference\",\"headline\":\"Model Settings - Update APIs\",\"name\":\"Model Settings - Update APIs\",\"description\":\"This endpoint updates the settings of a model. You can configure Min/Max Replicas, Timeout and Concurrency Settings\",\"url\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.inferless.com/api-reference/model-management-apis/model-settings-update#webpage\"},\"dateModified\":\"2026-01-07T00:52:36.784Z\",\"publisher\":{\"@id\":\"https://docs.inferless.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.inferless.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Inferless\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Inferless","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","groups":[{"group":"","pages":[{"title":null,"href":"/introduction/introduction"}]},{"group":"Getting Started","pages":[{"title":"Deploy a ML Model with Inferless","href":"/getting-started/deploy-ml"},{"title":"Deploy Serverless Containers","href":"/getting-started/deploy-containers"}]},{"group":"Concepts","pages":[{"title":"Overview","href":"/concepts/overview"},{"title":null,"href":"/model-import/cli-import"},{"title":"Handling Input / Output with Inferless","href":"/concepts/configuring-the-input-output-schema"},{"title":"Bring custom packages","href":"/concepts/building-custom-images"},{"title":"Working with Files on Inferless ","href":"/concepts/working-with-files"},{"title":"Working with NFS - My Volumes","href":"/concepts/working-with-nfs-volumes"},{"title":"Configuring Concurrent Requests","href":"/concepts/processing-concurrent-requests"},{"title":"Automatic Build on Inferless","href":"/concepts/setting-up-automatic-builds"},{"title":"Managing Secrets on Inferless","href":"/concepts/managing-secrets-on-inferless"},{"title":"Remote Run: Run your code remotely","href":"/concepts/remote-run"},{"title":"Dynamic Batching","href":"/concepts/dynamic-batching"},{"title":"Streaming with SSE Events","href":"/concepts/streaming-with-sse"}]},{"group":"Integrations","pages":[{"title":"Hugging face","href":"/integrations/hugging-face"},{"group":"Git (Custom Code)","pages":[{"title":"Git (Custom Code)","href":"/integrations/git-custom-code/git--custom-code"},{"title":"GitHub - Demo","href":"/integrations/git-custom-code/github---demo"},{"title":"GitLab - Demo","href":"/integrations/git-custom-code/gitlab---demo"}]},{"title":"Docker","href":"/integrations/docker"},{"group":"Cloud Buckets - S3/ GCS","pages":[{"title":"Cloud Buckets - S3/ GCS","href":"/integrations/cloud-buckets/cloud-buckets---s3--gcs"},{"title":"Demo S3","href":"/integrations/cloud-buckets/demo-s3"},{"title":"Demo GCS","href":"/integrations/cloud-buckets/demo-gcs"}]},{"group":"File Import from System","pages":[{"title":"File Import from System","href":"/integrations/file-import-system/file-import-from-system"},{"title":"Import from system","href":"/integrations/file-import-system/import-from-system"}]},{"title":"Model Alerts using AWS SNS","href":"/integrations/aws-sns/aws-sns"}]},{"group":"API Reference","pages":[{"title":"AWS PrivateLink - Inferless","href":"/api-reference/aws-privatelink"},{"group":"Model Endpoint","pages":[{"title":"Model Endpoint","href":"/api-reference/model-endpoint/model-endpoint"},{"title":"Test your model endpoint","href":"/api-reference/model-endpoint/test-your-model-endpoint"},{"title":"Configuring the Model Settings","href":"/api-reference/model-endpoint/configuring-the-model-settings"},{"title":"Setting up Webhooks","href":"/api-reference/model-endpoint/setting-up-webhooks"},{"title":"Inferless Python Client","href":"/api-reference/model-endpoint/inferless-python-client"}]},{"group":"Debugging your Model with Logs","pages":[{"title":"Debugging your model with Logs","href":"/api-reference/debugging-model/debugging-your-model-with-logs"},{"title":"Call Logs","href":"/api-reference/debugging-model/call-logs"},{"title":"Build Logs","href":"/api-reference/debugging-model/build-logs"}]},{"title":"Version Management","description":null,"href":"/api-reference/version-management"},{"group":"Model Management APIs","pages":[{"title":"Model Settings - Update APIs","api":"POST /rest/model/settings/update/","href":"/api-reference/model-management-apis/model-settings-update"},{"title":"Get Logs - API ","description":"This endpoint gets the logs of a model.","api":"POST /rest/model/logs/get/","href":"/api-reference/model-management-apis/model-logs-get"}]}]},{"group":"Model Import","pages":[{"group":"File Structure Requirements","pages":[{"title":"File structure requirements","href":"/model-import/file-structure-req/file-structure-requirements"},{"title":"Importing from Github","href":"/model-import/file-structure-req/importing-from-github"},{"title":"Import using CLI","href":"/model-import/file-structure-req/import-using-cli"},{"title":"Importing from Cloud Buckets","href":"/model-import/file-structure-req/importing-from-cloud-buckets"},{"title":"Import using Docker","href":"/model-import/file-structure-req/import-using-docker"},{"title":"Importing your file from your System","href":"/model-import/file-structure-req/importing-your-file-from-your-system"}]},{"title":"Input / Output Schema","href":"/model-import/input-output-schema"},{"title":"Bring custom packages","href":"/model-import/bring-custom-packages"},{"group":"Automatic Build via webhooks","pages":[{"title":"Automatic Build via webhooks","href":"/model-import/automatic-build/automatic-build-via-webhooks"},{"title":"Github","href":"/model-import/automatic-build/github"},{"title":"Docker","href":"/model-import/automatic-build/docker"},{"title":"Hugging Face","href":"/model-import/automatic-build/hugging-face"},{"title":"AWS Sagemaker","href":"/model-import/automatic-build/aws-sagemaker"},{"title":"Google Vertex AI","href":"/model-import/automatic-build/google-vertex-ai"}]},{"title":"Configuring the Inference Service","href":"/model-import/configuring-the-inference-service"},{"title":"My Volumes","href":"/model-import/my-volumes"},{"title":"My Secrets","href":"/model-import/my-secrets"}]}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/cookbook/serverless-logo-generator"}]},{"tab":"References","pages":[{"title":"References","href":"/references/overview"}]},{"tab":"OSS Cheatsheet","pages":[{"title":"OSS Cheatsheet","href":"/cheatsheet/tts-cheatsheet"}]}]},{"anchor":"Tutorials","icon":"books","pages":[{"title":"Tutorials","href":"/how-to-guides/deploy-a-codellama-python-34b-model-using-inferless"}]},{"anchor":"Changelog","icon":"swap","pages":[{"title":"Changelog","href":"/changelog/overview"}]},{"anchor":"Blog","href":"https://www.inferless.com/blog","icon":"newspaper"}]},"basePath":"","title":"Model Settings - Update APIs - Inferless","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js"]}