{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Basedash Documentation","colors":{"primary":"#3C50FF","light":"#6373FF","dark":"#061DE0"},"logo":{"light":"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/logo/light.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=ffbaede88501c143a403b5850090b42a","dark":"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/logo/dark.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=aec54d36c0048b53e3df724fc231dd94","href":"https://www.basedash.com"},"favicon":"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/favicon.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=e6d2754428c77f51e2c1146803c90746","appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@basedash.com","label":"Contact us"}],"primary":{"type":"button","label":"Log in","href":"https://charts.basedash.com"}},"footer":{"socials":{"x":"https://x.com/Basedash","github":"https://github.com/Basedash","linkedin":"https://linkedin.com/company/Basedash"}},"seo":{"metatags":{"canonical":"https://www.basedash.com/docs"}},"styling":{"codeblocks":"dark","latex":false},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://www.basedash.com/changelog"},{"anchor":"Contact support","icon":"life-ring","href":"mailto:support@basedash.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"basedash","hasAudioNarration":false,"actualSubdomain":"basedash","customDomains":["basedash.com"],"gitSource":{"type":"github","owner":"basedash","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf983930794ec1211d3e0c","collectionId":"a35d677a-ba8c-41f0-a632-125d1d8cfe71","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf983930794ec1211d3e0c"},"feedback":{"thumbs":false,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adf983930794ec1211d3e0c","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Data sources","count":728},{"language":"default","tag":"Connectors","count":708},{"language":"default","tag":"Developers","count":97},{"language":"default","tag":"Endpoints","count":91},{"language":"default","tag":"Documentation","count":57},{"language":"default","tag":"Build","count":25},{"language":"default","tag":"Chart types","count":17},{"language":"default","tag":"Administration","count":13},{"language":"default","tag":"Chats","count":11},{"language":"default","tag":"Dashboards","count":11}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@basedash.com"}},"basePath":"/docs","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":false},"customCss":[],"page":{"pagePath":"api-reference/models/update-a-model","slug":"/api-reference/models/update-a-model","pageMetadata":{"title":"Update a model","description":"Updates an existing model. Requires admin access to the organization.","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/update-a-model","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: \"Updates an existing model. Requires admin access to the organization.\"\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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Update a model","description":"Updates an existing model. Requires admin access to the organization.","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/update-a-model","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/basedash/598c05dbac71c2b9/scripts/generate-connector-pages.js","/docs/_mintlify/custom/basedash/92fde38ba79efb2a/scripts/ignored-connectors.js","/docs/_mintlify/custom/basedash/1b6dcfd155bb195c/scripts/content-constants.js","/docs/_mintlify/custom/basedash/b1d78f42287990a8/scripts/sync-content-constants.js"],"openApiReferenceData":{"operation":{"summary":"Update a model","description":"Updates an existing model. Requires admin access to the organization.","tags":["Models"],"security":["f789ee1d-1ee4-46ff-8bca-84793d56faef"],"parameters":["07f6c85a-fd44-4a8d-8598-9952c63c53e4","4013449c-2f23-4741-8b7f-2d160edcfd8c"],"requestBody":"3d895096-1f38-4025-a0da-a3c1c4f1683d","responses":{"200":"e9918132-bc31-4bc3-b29e-97ec46266f0c","400":"2a7d2ba7-aa94-4645-a5dc-dacb63d7a646","401":"2660e48c-bf84-46d3-b032-48b7c16ef347","404":"213ba48b-fa71-4671-96ff-f8c3a4a4cf17","409":"ab453347-1e6b-4da1-bc9d-4500cf938868","429":"dc12c235-c753-468f-b70e-6d60393a47a5","500":"be5630fa-de95-4b89-adb7-5ae4710f535d"},"method":"patch","type":"path","servers":["ced2b752-ccc0-40d7-8000-3375bc31a7ca"],"path":"/api/public/organizations/{orgId}/models/{id}","baseUrlOptions":["https://charts.basedash.com"],"title":"Update a model","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"07f6c85a-fd44-4a8d-8598-9952c63c53e4":{"schema":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Organization ID","name":"orgId","in":"path"},"4013449c-2f23-4741-8b7f-2d160edcfd8c":{"schema":{"type":"string","description":"Model ID","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Model ID","name":"id","in":"path"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"description":"Human-readable model name","uniqueKey":"name","typeLabel":"string"},"referenceName":{"type":"string","minLength":1,"maxLength":100,"description":"Stable SQL reference name for the model","uniqueKey":"referenceName","typeLabel":"string"},"description":{"type":"string","maxLength":10000,"description":"Model description","uniqueKey":"description","typeLabel":"string"},"sqlQuery":{"type":"string","minLength":1,"maxLength":100000,"description":"SQL query that defines the reusable dataset","uniqueKey":"sqlQuery","typeLabel":"string"},"measures":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$","isRequired":true,"uniqueKey":"measures.items.[INDEX].name","typeLabel":"string"},"sql":{"type":"string","minLength":1,"maxLength":10000,"isRequired":true,"uniqueKey":"measures.items.[INDEX].sql","typeLabel":"string"},"description":{"type":"string","maxLength":10000,"uniqueKey":"measures.items.[INDEX].description","typeLabel":"string"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"measures.items.[INDEX].synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"uniqueKey":"measures.items.[INDEX].synonyms","typeLabel":"string[]"}},"required":["name","sql"],"uniqueKey":"measures.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Ordered reusable aggregate expressions","uniqueKey":"measures","typeLabel":"object[]"},"segments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$","isRequired":true,"uniqueKey":"segments.items.[INDEX].name","typeLabel":"string"},"sql":{"type":"string","minLength":1,"maxLength":10000,"isRequired":true,"uniqueKey":"segments.items.[INDEX].sql","typeLabel":"string"},"description":{"type":"string","maxLength":10000,"uniqueKey":"segments.items.[INDEX].description","typeLabel":"string"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"segments.items.[INDEX].synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"uniqueKey":"segments.items.[INDEX].synonyms","typeLabel":"string[]"}},"required":["name","sql"],"uniqueKey":"segments.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Ordered reusable predicate expressions","uniqueKey":"segments","typeLabel":"object[]"},"defaultTimeColumn":{"oneOf":[{"type":"string","minLength":1,"maxLength":256,"description":"Default date result column, or null for no default","uniqueKey":"defaultTimeColumn.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":256,"description":"Default date result column, or null for no default","uniqueKey":"defaultTimeColumn.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultTimeColumn","typeLabel":"string | null"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"description":"Alternative names for the model","uniqueKey":"synonyms","typeLabel":"string[]"},"grain":{"type":"string","maxLength":10000,"description":"What one row in the model represents","uniqueKey":"grain","typeLabel":"string"},"keyColumns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256,"uniqueKey":"keyColumns.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"Columns that uniquely identify a row","uniqueKey":"keyColumns","typeLabel":"string[]"},"relationships":{"type":"array","items":{"type":"object","properties":{"targetModelId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"relationships.items.[INDEX].targetModelId","typeLabel":"string"},"sourceColumn":{"type":"string","minLength":1,"maxLength":256,"isRequired":true,"uniqueKey":"relationships.items.[INDEX].sourceColumn","typeLabel":"string"},"targetColumn":{"type":"string","minLength":1,"maxLength":256,"isRequired":true,"uniqueKey":"relationships.items.[INDEX].targetColumn","typeLabel":"string"},"cardinality":{"type":"string","enum":["many_to_one","one_to_one","one_to_many"],"isRequired":true,"uniqueKey":"relationships.items.[INDEX].cardinality","typeLabel":"enum\u003cstring>"}},"required":["targetModelId","sourceColumn","targetColumn","cardinality"],"uniqueKey":"relationships.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Relationships from this model to other models","uniqueKey":"relationships","typeLabel":"object[]"},"usageGuidance":{"type":"string","maxLength":10000,"description":"Guidance about when and how to use the model","uniqueKey":"usageGuidance","typeLabel":"string"},"columnSynonyms":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"columnSynonyms.items.[INDEX].name","typeLabel":"string"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"columnSynonyms.items.[INDEX].synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"isRequired":true,"uniqueKey":"columnSynonyms.items.[INDEX].synonyms","typeLabel":"string[]"}},"required":["name","synonyms"],"uniqueKey":"columnSynonyms.items.[INDEX]","typeLabel":"object"},"description":"Alternative names for model result columns","uniqueKey":"columnSynonyms","typeLabel":"object[]"},"verified":{"type":"boolean","description":"Whether the model is verified","uniqueKey":"verified","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","referenceName":"\u003cstring>","description":"\u003cstring>","sqlQuery":"\u003cstring>","measures":[{"name":"\u003cstring>","sql":"\u003cstring>","description":"\u003cstring>","synonyms":["\u003cstring>"]}],"segments":[{"name":"\u003cstring>","sql":"\u003cstring>","description":"\u003cstring>","synonyms":["\u003cstring>"]}],"defaultTimeColumn":"\u003cstring>","synonyms":["\u003cstring>"],"grain":"\u003cstring>","keyColumns":["\u003cstring>"],"relationships":[{"targetModelId":"\u003cstring>","sourceColumn":"\u003cstring>","targetColumn":"\u003cstring>"}],"usageGuidance":"\u003cstring>","columnSynonyms":[{"name":"\u003cstring>","synonyms":["\u003cstring>"]}],"verified":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e9918132-bc31-4bc3-b29e-97ec46266f0c":{"description":"Model updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","description":"Model ID","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","description":"Model creation timestamp","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Model last update timestamp","isRequired":true,"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","description":"Human-readable model name","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"referenceName":{"type":"string","description":"Stable SQL reference name for the model","isRequired":true,"uniqueKey":"data.referenceName","typeLabel":"string"},"description":{"type":"string","description":"Model description","isRequired":true,"uniqueKey":"data.description","typeLabel":"string"},"sqlQuery":{"type":"string","description":"SQL query for the latest model version","isRequired":true,"uniqueKey":"data.sqlQuery","typeLabel":"string"},"organizationId":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"data.organizationId","typeLabel":"string"},"databaseConnectionId":{"type":"string","description":"Data source ID","isRequired":true,"uniqueKey":"data.databaseConnectionId","typeLabel":"string"},"verifiedAt":{"oneOf":[{"type":"string","format":"date-time","description":"Verification timestamp for the current model SQL","isRequired":true,"uniqueKey":"data.verifiedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Verification timestamp for the current model SQL","isRequired":true,"uniqueKey":"data.verifiedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.verifiedAt","typeLabel":"string\u003cdate-time> | null"},"verifiedByMemberId":{"oneOf":[{"type":"string","description":"Member who verified the current model SQL","isRequired":true,"uniqueKey":"data.verifiedByMemberId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Member who verified the current model SQL","isRequired":true,"uniqueKey":"data.verifiedByMemberId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.verifiedByMemberId","typeLabel":"string | null"},"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].name","typeLabel":"string"},"type":{"type":"string","enum":["array","bigint","boolean","date","mixed","null","number","object","string","unknown"],"description":"Best-effort type inferred from sampled result values.","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"nullable":{"type":"boolean","description":"Whether null or undefined appeared in sampled result values.","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].nullable","typeLabel":"boolean"},"example":{"oneOf":[{"type":"string","description":"First non-null sampled value, normalized for JSON.","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].example.oneOf.0","typeLabel":"string"},{"type":"number","description":"First non-null sampled value, normalized for JSON.","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].example.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"First non-null sampled value, normalized for JSON.","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].example.oneOf.2","typeLabel":"boolean"},{"type":"null","description":"First non-null sampled value, normalized for JSON.","isRequired":true,"uniqueKey":"data.columns.items.[INDEX].example.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.columns.items.[INDEX].example","typeLabel":"string | number | boolean | null"},"description":{"type":"string","maxLength":10000,"uniqueKey":"data.columns.items.[INDEX].description","typeLabel":"string"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"data.columns.items.[INDEX].synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"uniqueKey":"data.columns.items.[INDEX].synonyms","typeLabel":"string[]"},"sampleValues":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"data.columns.items.[INDEX].sampleValues.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"data.columns.items.[INDEX].sampleValues.items.[INDEX].oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.columns.items.[INDEX].sampleValues.items.[INDEX].oneOf.2","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.columns.items.[INDEX].sampleValues.items.[INDEX].oneOf.3","typeLabel":"null"}],"uniqueKey":"data.columns.items.[INDEX].sampleValues.items.[INDEX]","typeLabel":"string | number | boolean | null"},"description":"Distinct non-null sampled values (capped), normalized for JSON.","uniqueKey":"data.columns.items.[INDEX].sampleValues","typeLabel":"(string | number | boolean | null)[]"}},"required":["name","type","nullable","example"],"uniqueKey":"data.columns.items.[INDEX]","typeLabel":"object"},"description":"Inferred result columns and their documentation","isRequired":true,"uniqueKey":"data.columns","typeLabel":"object[]"},"measures":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$","isRequired":true,"uniqueKey":"data.measures.items.[INDEX].name","typeLabel":"string"},"sql":{"type":"string","minLength":1,"maxLength":10000,"isRequired":true,"uniqueKey":"data.measures.items.[INDEX].sql","typeLabel":"string"},"description":{"type":"string","maxLength":10000,"uniqueKey":"data.measures.items.[INDEX].description","typeLabel":"string"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"data.measures.items.[INDEX].synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"default":[],"uniqueKey":"data.measures.items.[INDEX].synonyms","typeLabel":"string[]"}},"required":["name","sql"],"uniqueKey":"data.measures.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Ordered reusable aggregate expressions","isRequired":true,"uniqueKey":"data.measures","typeLabel":"object[]"},"segments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$","isRequired":true,"uniqueKey":"data.segments.items.[INDEX].name","typeLabel":"string"},"sql":{"type":"string","minLength":1,"maxLength":10000,"isRequired":true,"uniqueKey":"data.segments.items.[INDEX].sql","typeLabel":"string"},"description":{"type":"string","maxLength":10000,"uniqueKey":"data.segments.items.[INDEX].description","typeLabel":"string"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"data.segments.items.[INDEX].synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"default":[],"uniqueKey":"data.segments.items.[INDEX].synonyms","typeLabel":"string[]"}},"required":["name","sql"],"uniqueKey":"data.segments.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Ordered reusable predicate expressions","isRequired":true,"uniqueKey":"data.segments","typeLabel":"object[]"},"defaultTimeColumn":{"oneOf":[{"type":"string","minLength":1,"maxLength":256,"description":"Default date result column","isRequired":true,"uniqueKey":"data.defaultTimeColumn.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":256,"description":"Default date result column","isRequired":true,"uniqueKey":"data.defaultTimeColumn.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.defaultTimeColumn","typeLabel":"string | null"},"synonyms":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"data.synonyms.items.[INDEX]","typeLabel":"string"},"maxItems":20,"description":"Alternative model names","isRequired":true,"uniqueKey":"data.synonyms","typeLabel":"string[]"},"grain":{"type":"string","maxLength":10000,"description":"What one model row represents","isRequired":true,"uniqueKey":"data.grain","typeLabel":"string"},"keyColumns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256,"uniqueKey":"data.keyColumns.items.[INDEX]","typeLabel":"string"},"maxItems":10,"description":"Columns that uniquely identify a model row","isRequired":true,"uniqueKey":"data.keyColumns","typeLabel":"string[]"},"relationships":{"type":"array","items":{"type":"object","properties":{"targetModelId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"data.relationships.items.[INDEX].targetModelId","typeLabel":"string"},"sourceColumn":{"type":"string","minLength":1,"maxLength":256,"isRequired":true,"uniqueKey":"data.relationships.items.[INDEX].sourceColumn","typeLabel":"string"},"targetColumn":{"type":"string","minLength":1,"maxLength":256,"isRequired":true,"uniqueKey":"data.relationships.items.[INDEX].targetColumn","typeLabel":"string"},"cardinality":{"type":"string","enum":["many_to_one","one_to_one","one_to_many"],"isRequired":true,"uniqueKey":"data.relationships.items.[INDEX].cardinality","typeLabel":"enum\u003cstring>"}},"required":["targetModelId","sourceColumn","targetColumn","cardinality"],"uniqueKey":"data.relationships.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Relationships to other models","isRequired":true,"uniqueKey":"data.relationships","typeLabel":"object[]"},"usageGuidance":{"type":"string","maxLength":10000,"description":"Guidance about when and how to use the model","isRequired":true,"uniqueKey":"data.usageGuidance","typeLabel":"string"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["base_sql_contains_group_by","default_time_column_cleared","measure_may_not_aggregate","semantic_expression_may_be_stale"],"isRequired":true,"uniqueKey":"data.warnings.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"data.warnings.items.[INDEX].message","typeLabel":"string"},"field":{"type":"string","enum":["sqlQuery","measures","segments","defaultTimeColumn"],"isRequired":true,"uniqueKey":"data.warnings.items.[INDEX].field","typeLabel":"enum\u003cstring>"},"name":{"type":"string","uniqueKey":"data.warnings.items.[INDEX].name","typeLabel":"string"}},"required":["code","message","field"],"uniqueKey":"data.warnings.items.[INDEX]","typeLabel":"object"},"description":"Non-blocking semantic metadata warnings","isRequired":true,"uniqueKey":"data.warnings","typeLabel":"object[]"}},"required":["id","createdAt","updatedAt","name","referenceName","description","sqlQuery","organizationId","databaseConnectionId","verifiedAt","verifiedByMemberId","columns","measures","segments","defaultTimeColumn","synonyms","grain","keyColumns","relationships","usageGuidance","warnings"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","name":"\u003cstring>","referenceName":"\u003cstring>","description":"\u003cstring>","sqlQuery":"\u003cstring>","organizationId":"\u003cstring>","databaseConnectionId":"\u003cstring>","verifiedAt":"2023-11-07T05:31:56Z","verifiedByMemberId":"\u003cstring>","columns":[{"name":"\u003cstring>","type":"array","nullable":true,"example":"\u003cstring>","description":"\u003cstring>","synonyms":["\u003cstring>"],"sampleValues":["\u003cstring>"]}],"measures":[{"name":"\u003cstring>","sql":"\u003cstring>","description":"\u003cstring>","synonyms":[]}],"segments":[{"name":"\u003cstring>","sql":"\u003cstring>","description":"\u003cstring>","synonyms":[]}],"defaultTimeColumn":"\u003cstring>","synonyms":["\u003cstring>"],"grain":"\u003cstring>","keyColumns":["\u003cstring>"],"relationships":[{"targetModelId":"\u003cstring>","sourceColumn":"\u003cstring>","targetColumn":"\u003cstring>","cardinality":"many_to_one"}],"usageGuidance":"\u003cstring>","warnings":[{"code":"base_sql_contains_group_by","message":"\u003cstring>","field":"sqlQuery","name":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"2a7d2ba7-aa94-4645-a5dc-dacb63d7a646":{"description":"Bad request - Invalid JSON body or validation error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2660e48c-bf84-46d3-b032-48b7c16ef347":{"description":"Unauthorized - Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"213ba48b-fa71-4671-96ff-f8c3a4a4cf17":{"description":"Not found - Model not found or no admin access","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ab453347-1e6b-4da1-bc9d-4500cf938868":{"description":"Conflict - Another model in the organization already uses this reference name, or the model changed while it was being edited","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["referenceName","suggestedReferenceName","title","detail"],"properties":{"title":{"type":"string","description":"Error type identifier","enum":["Conflict"],"isRequired":true,"uniqueKey":"oneOf.0.error.title","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"oneOf.0.error.detail","typeLabel":"string"},"referenceName":{"type":"string","description":"Normalized reference name that is already in use","isRequired":true,"uniqueKey":"oneOf.0.error.referenceName","typeLabel":"string"},"suggestedReferenceName":{"type":"string","description":"An available reference name to retry with. Reference names are unique across the organization.","isRequired":true,"uniqueKey":"oneOf.0.error.suggestedReferenceName","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"oneOf.1.error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"oneOf.1.error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"Conflict","detail":"\u003cstring>","referenceName":"\u003cstring>","suggestedReferenceName":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"dc12c235-c753-468f-b70e-6d60393a47a5":{"description":"Rate limit exceeded - Too many requests","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["retryAfterMs","title","detail"],"properties":{"title":{"type":"string","description":"Error type identifier","enum":["RateLimitExceeded"],"isRequired":true,"uniqueKey":"error.title","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"},"retryAfterMs":{"type":"number","description":"Milliseconds until the rate limit window resets","isRequired":true,"uniqueKey":"error.retryAfterMs","typeLabel":"number"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"RateLimitExceeded","detail":"\u003cstring>","retryAfterMs":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"be5630fa-de95-4b89-adb7-5ae4710f535d":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"\u003cstring>","detail":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f789ee1d-1ee4-46ff-8bca-84793d56faef":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key authentication using Bearer token format: `Bearer \u003cbasedash_api_key>`","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"ced2b752-ccc0-40d7-8000-3375bc31a7ca":{"url":"https://charts.basedash.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key authentication using Bearer token format: `Bearer \u003cbasedash_api_key>`","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key authentication using Bearer token format: `Bearer \u003cbasedash_api_key>`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://charts.basedash.com/api/public/openapi"},"subdomain":"basedash","siteName":"Basedash Documentation","title":"Update a model - Basedash Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T18:13:24.297Z","originalFileLocation":"api-reference/models/update-a-model.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=\"Updates an existing model. Requires admin access to the organization.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Basedash Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a model - Basedash Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates an existing model. Requires admin access to the organization.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Basedash Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.basedash.com/docs/api-reference/models/update-a-model\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://basedash.mintlify.site/docs/_mintlify/api/og/v2?division=Models\u0026amp;title=Update+a+model\u0026amp;description=Updates+an+existing+model.+Requires+admin+access+to+the+organization.\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=6ae24f0c73e0a97d3b5f7e6950a086d55eae4fcfd07003c1d3f8c00c6565d4e4\">\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=\"Update a model - Basedash Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates an existing model. Requires admin access to the organization.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://basedash.mintlify.site/docs/_mintlify/api/og/v2?division=Models\u0026amp;title=Update+a+model\u0026amp;description=Updates+an+existing+model.+Requires+admin+access+to+the+organization.\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=6ae24f0c73e0a97d3b5f7e6950a086d55eae4fcfd07003c1d3f8c00c6565d4e4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/basedash/n_QsJmQ5wA_-S9WZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Basedash Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3C50FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.basedash.com/docs/api-reference/models/update-a-model\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/models/update-a-model.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.basedash.com/#organization\",\"name\":\"Basedash Documentation\",\"url\":\"https://www.basedash.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/basedash/UcHJpOmrR3J146WE/logo/light.svg?fit=max\u0026auto=format\u0026n=UcHJpOmrR3J146WE\u0026q=85\u0026s=ffbaede88501c143a403b5850090b42a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.basedash.com/docs#website\",\"name\":\"Basedash Documentation\",\"url\":\"https://www.basedash.com/docs\",\"publisher\":{\"@id\":\"https://www.basedash.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.basedash.com/docs/api-reference/models/update-a-model#webpage\",\"url\":\"https://www.basedash.com/docs/api-reference/models/update-a-model\",\"name\":\"Update a model\",\"description\":\"Updates an existing model. Requires admin access to the organization.\",\"dateModified\":\"2026-10-26T18:13:24.297Z\",\"isPartOf\":{\"@id\":\"https://www.basedash.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.basedash.com/docs/api-reference/models/update-a-model#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.basedash.com/docs/api-reference/models/update-a-model#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://www.basedash.com/docs/api-reference/billing-accounts/list-billing-accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Models\",\"item\":\"https://www.basedash.com/docs/api-reference/models/list-models\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a model\",\"item\":\"https://www.basedash.com/docs/api-reference/models/update-a-model\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.basedash.com/docs/api-reference/models/update-a-model#apireference\",\"headline\":\"Update a model\",\"name\":\"Update a model\",\"description\":\"Updates an existing model. Requires admin access to the organization.\",\"url\":\"https://www.basedash.com/docs/api-reference/models/update-a-model\",\"mainEntityOfPage\":{\"@id\":\"https://www.basedash.com/docs/api-reference/models/update-a-model#webpage\"},\"dateModified\":\"2026-10-26T18:13:24.297Z\",\"publisher\":{\"@id\":\"https://www.basedash.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.basedash.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Basedash Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Basedash Documentation","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://www.basedash.com/changelog"},{"anchor":"Contact support","icon":"life-ring","href":"mailto:support@basedash.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/welcome"}]},{"tab":"Data sources","pages":[{"title":"Data sources","href":"/data-sources/introduction"}]},{"tab":"Developers","groups":[{"group":"Get started","pages":[{"title":"Developer overview","sidebarTitle":"Overview","icon":"code","href":"/developers/overview"}]},{"group":"API","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"Billing accounts","pages":[{"title":"List billing accounts","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts","href":"/api-reference/billing-accounts/list-billing-accounts"},{"title":"Get a billing account","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts/{billingAccountId}","href":"/api-reference/billing-accounts/get-a-billing-account"},{"title":"List attached organizations","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts/{billingAccountId}/organizations","href":"/api-reference/billing-accounts/list-attached-organizations"},{"title":"Attach an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/billing-accounts/{billingAccountId}/organizations","href":"/api-reference/billing-accounts/attach-an-organization"},{"title":"Detach an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/billing-accounts/{billingAccountId}/organizations/{orgId}","href":"/api-reference/billing-accounts/detach-an-organization"},{"title":"Get pooled AI usage","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/billing-accounts/{billingAccountId}/ai-usage","href":"/api-reference/billing-accounts/get-pooled-ai-usage"}]},{"group":"Organizations","pages":[{"title":"List organizations","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations","href":"/api-reference/organizations/create-an-organization"},{"title":"List audit log events","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/audit-logs","href":"/api-reference/organizations/list-audit-log-events"},{"title":"Get AI usage","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/ai-usage","href":"/api-reference/organizations/get-ai-usage"},{"title":"Get an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{id}","href":"/api-reference/organizations/get-an-organization"},{"title":"Delete an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{id}","href":"/api-reference/organizations/delete-an-organization"},{"title":"Update an organization","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{id}","href":"/api-reference/organizations/update-an-organization"},{"title":"Upload organization icon","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{id}/icon","href":"/api-reference/organizations/upload-organization-icon"}]},{"group":"Embedding","pages":[{"title":"Upload embedded user avatar","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/embedded-users/{userId}/avatar","href":"/api-reference/embedding/upload-embedded-user-avatar"},{"title":"JWT authentication","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/sso/jwt","href":"/api-reference/embedding/jwt-authentication"}]},{"group":"Data Sources","pages":[{"title":"Get a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/data-sources/{id}","href":"/api-reference/data-sources/get-a-data-source"},{"title":"Delete a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/data-sources/{id}","href":"/api-reference/data-sources/delete-a-data-source"},{"title":"Update a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/data-sources/{id}","href":"/api-reference/data-sources/update-a-data-source"},{"title":"List data sources","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/data-sources","href":"/api-reference/data-sources/list-data-sources"},{"title":"Create a data source","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/data-sources","href":"/api-reference/data-sources/create-a-data-source"},{"title":"Verify data source credentials","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/data-sources/verify","href":"/api-reference/data-sources/verify-data-source-credentials"},{"title":"Get data source access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/data-sources/{id}/access","href":"/api-reference/data-sources/get-data-source-access"},{"title":"Update data source access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/data-sources/{id}/access","href":"/api-reference/data-sources/update-data-source-access"}]},{"group":"Automations","pages":[{"title":"List automations","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations","href":"/api-reference/automations/list-automations"},{"title":"Create an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/automations","href":"/api-reference/automations/create-an-automation"},{"title":"Get an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}","href":"/api-reference/automations/get-an-automation"},{"title":"Archive an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/automations/{id}","href":"/api-reference/automations/archive-an-automation"},{"title":"Update an automation","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/automations/{id}","href":"/api-reference/automations/update-an-automation"},{"title":"Get automation access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}/access","href":"/api-reference/automations/get-automation-access"},{"title":"Update automation access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/automations/{id}/access","href":"/api-reference/automations/update-automation-access"},{"title":"List automation runs","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}/runs","href":"/api-reference/automations/list-automation-runs"},{"title":"Start an automation run","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/automations/{id}/runs","href":"/api-reference/automations/start-an-automation-run"},{"title":"Get an automation run","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/automations/{id}/runs/{runId}","href":"/api-reference/automations/get-an-automation-run"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/models","href":"/api-reference/models/list-models"},{"title":"Create a model","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/models","href":"/api-reference/models/create-a-model"},{"title":"Get a model","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/get-a-model"},{"title":"Delete a model","description":"Archives a model by ID. Requires admin access to the organization.","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/delete-a-model"},{"title":"Update a model","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/models/{id}","href":"/api-reference/models/update-a-model"}]},{"group":"MCP servers","pages":[{"title":"Get an MCP server","description":"Retrieves an MCP server by ID. Requires admin access to the organization. Returns server status and synced tools, excluding configured headers and OAuth tokens.","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/get-an-mcp-server"},{"title":"Delete an MCP server","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/delete-an-mcp-server"},{"title":"Update an MCP server","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/mcp-servers/{id}","href":"/api-reference/mcp-servers/update-an-mcp-server"},{"title":"List MCP servers","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/mcp-servers","href":"/api-reference/mcp-servers/list-mcp-servers"},{"title":"Create an MCP server","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/mcp-servers","href":"/api-reference/mcp-servers/create-an-mcp-server"}]},{"group":"Dashboards","pages":[{"title":"List dashboards","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards","href":"/api-reference/dashboards/list-dashboards"},{"title":"Create a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/dashboards","href":"/api-reference/dashboards/create-a-dashboard"},{"title":"List charts on a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards/{dashboardId}/charts","href":"/api-reference/dashboards/list-charts-on-a-dashboard"},{"title":"Create a dashboard tab","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/dashboards/{dashboardId}/tabs","href":"/api-reference/dashboards/create-a-dashboard-tab"},{"title":"Delete a dashboard tab","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/dashboards/{dashboardId}/tabs/{tabId}","href":"/api-reference/dashboards/delete-a-dashboard-tab"},{"title":"Update a dashboard tab","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/dashboards/{dashboardId}/tabs/{tabId}","href":"/api-reference/dashboards/update-a-dashboard-tab"},{"title":"Get a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards/{id}","href":"/api-reference/dashboards/get-a-dashboard"},{"title":"Delete a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/dashboards/{id}","href":"/api-reference/dashboards/delete-a-dashboard"},{"title":"Update a dashboard","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/dashboards/{id}","href":"/api-reference/dashboards/update-a-dashboard"},{"title":"Get dashboard access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/dashboards/{id}/access","href":"/api-reference/dashboards/get-dashboard-access"},{"title":"Update dashboard access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/dashboards/{id}/access","href":"/api-reference/dashboards/update-dashboard-access"}]},{"group":"Charts","pages":[{"title":"Create a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/charts","href":"/api-reference/charts/create-a-chart"},{"title":"Get a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/charts/{id}","href":"/api-reference/charts/get-a-chart"},{"title":"Delete a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/charts/{id}","href":"/api-reference/charts/delete-a-chart"},{"title":"Update a chart","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/charts/{id}","href":"/api-reference/charts/update-a-chart"},{"title":"Get a chart image","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/charts/{id}/image","href":"/api-reference/charts/get-a-chart-image"}]},{"group":"Insights","pages":[{"title":"List insights","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/insights","href":"/api-reference/insights/list-insights"},{"title":"Generate an insight","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/insights","href":"/api-reference/insights/generate-an-insight"},{"title":"Get an insight","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/insights/{id}","href":"/api-reference/insights/get-an-insight"},{"title":"Delete an insight","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/insights/{id}","href":"/api-reference/insights/delete-an-insight"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/members","href":"/api-reference/members/list-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/members","href":"/api-reference/members/invite-a-member"},{"title":"Get a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/members/{id}","href":"/api-reference/members/get-a-member"},{"title":"Deactivate a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/members/{id}","href":"/api-reference/members/deactivate-a-member"},{"title":"Update a member","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/members/{id}","href":"/api-reference/members/update-a-member"}]},{"group":"Groups","pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/groups","href":"/api-reference/groups/create-a-group"},{"title":"Get a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/groups/{id}","href":"/api-reference/groups/get-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/groups/{id}","href":"/api-reference/groups/delete-a-group"},{"title":"Update a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/groups/{id}","href":"/api-reference/groups/update-a-group"},{"title":"Add a member to a group","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/groups/{id}/members","href":"/api-reference/groups/add-a-member-to-a-group"}]},{"group":"Skills","pages":[{"title":"List skills","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/skills","href":"/api-reference/skills/list-skills"},{"title":"Create a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/skills","href":"/api-reference/skills/create-a-skill"},{"title":"Get a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/skills/{id}","href":"/api-reference/skills/get-a-skill"},{"title":"Delete a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/skills/{id}","href":"/api-reference/skills/delete-a-skill"},{"title":"Update a skill","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi patch /api/public/organizations/{orgId}/skills/{id}","href":"/api-reference/skills/update-a-skill"}]},{"group":"Chats","pages":[{"title":"List chats","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats","href":"/api-reference/chats/list-chats"},{"title":"Start a chat","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats","href":"/api-reference/chats/start-a-chat"},{"title":"Get a chat","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}","href":"/api-reference/chats/get-a-chat"},{"title":"Delete a chat","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi delete /api/public/organizations/{orgId}/chats/{chatId}","href":"/api-reference/chats/delete-a-chat"},{"title":"List messages in a chat","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/messages","href":"/api-reference/chats/list-messages-in-a-chat"},{"title":"Send a follow-up message","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats/{chatId}/messages","href":"/api-reference/chats/send-a-follow-up-message"},{"title":"Get a message","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/messages/{messageId}","href":"/api-reference/chats/get-a-message"},{"title":"Cancel a response","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi post /api/public/organizations/{orgId}/chats/{chatId}/messages/{messageId}/cancel","href":"/api-reference/chats/cancel-a-response"},{"title":"Stream an assistant message","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/messages/{messageId}/events","href":"/api-reference/chats/stream-an-assistant-message"},{"title":"Get chat access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi get /api/public/organizations/{orgId}/chats/{chatId}/access","href":"/api-reference/chats/get-chat-access"},{"title":"Update chat access","deprecated":null,"version":null,"openapi":"https://charts.basedash.com/api/public/openapi put /api/public/organizations/{orgId}/chats/{chatId}/access","href":"/api-reference/chats/update-chat-access"}]}]},{"group":"Embedding","pages":[{"title":"Embedding","icon":"code","href":"/developers/embedding"},{"title":"React SDK","icon":"code","href":"/developers/embedding-react-sdk"}]},{"group":"Recipes","pages":[{"title":"Recipes","icon":"book-open","href":"/recipes/overview"},{"title":"Multi-tenant embedding","icon":"building","href":"/recipes/multi-tenant-embedding"}]},{"group":"Agent briefs","hidden":true,"pages":[{"title":"Agent brief: multi-tenant embedding","sidebarTitle":"Agent brief","href":"/recipes/agents/multi-tenant-embedding"}]}]},{"tab":"Self-hosting","pages":[{"title":"Self-hosting","href":"/self-hosting/overview"}]}]},"basePath":"","title":"Update a model - Basedash Documentation","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","Page-CTxrMSpo.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}