Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.
{"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/charts/update-a-chart","slug":"/api-reference/charts/update-a-chart","pageMetadata":{"title":"Update a chart","description":"Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.","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","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 a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. 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 chart","description":"Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.","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","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 chart","description":"Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.","tags":["Charts"],"security":["e2ca3091-e8aa-4ea8-bb62-d6553b575be4"],"parameters":["d67ab632-d874-4834-9da0-03a126b56198","d7ccb537-e247-49f9-8a23-e47c7ffc42cb"],"requestBody":"4ada2030-26b9-4229-8469-b5e75d2741be","responses":{"200":"ed95d00b-9323-47b6-b2d7-d4db5a2e947a","400":"3ec455d2-6db7-4778-8c03-95d1e9856016","401":"b2d4a6c5-2f16-43d7-8bf4-8edd413ef989","403":"c7376766-46ad-4dab-bd23-8a9863e13f1e","404":"9080f482-9a47-4fbd-bdc8-0763b8d69ee6","429":"56fb8feb-6ae6-4f3c-b882-d4198aa32d62","500":"61fa0a0c-3882-4fd5-bf0e-3abd528b0567"},"method":"patch","type":"path","servers":["ced2b752-ccc0-40d7-8000-3375bc31a7ca"],"path":"/api/public/organizations/{orgId}/charts/{id}","baseUrlOptions":["https://charts.basedash.com"],"title":"Update a chart","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d67ab632-d874-4834-9da0-03a126b56198":{"schema":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Organization ID","name":"orgId","in":"path"},"d7ccb537-e247-49f9-8a23-e47c7ffc42cb":{"schema":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Chart ID","name":"id","in":"path"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dashboardId":{"type":"string","description":"ID of the dashboard to move the chart to","uniqueKey":"dashboardId","typeLabel":"string"},"dashboardTabId":{"type":"string","description":"ID of the dashboard tab to move the chart to","uniqueKey":"dashboardTabId","typeLabel":"string"},"layout":{"type":"object","description":"Position and size of the chart on the dashboard grid","properties":{"x":{"type":"integer","minimum":0,"description":"Column position on the dashboard grid","uniqueKey":"layout.x","typeLabel":"integer"},"y":{"type":"integer","minimum":0,"description":"Row position on the dashboard grid","uniqueKey":"layout.y","typeLabel":"integer"},"width":{"type":"integer","minimum":1,"description":"Width of the chart in grid units","uniqueKey":"layout.width","typeLabel":"integer"},"height":{"type":"integer","minimum":1,"description":"Height of the chart in grid units","uniqueKey":"layout.height","typeLabel":"integer"}},"uniqueKey":"layout","typeLabel":"object"},"name":{"type":"string","minLength":1,"description":"Name of the chart","uniqueKey":"name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the chart","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the chart","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"chartType":{"oneOf":[{"type":"string","description":"Type of the chart","enum":["TABLE"],"uniqueKey":"chartType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["LINE"],"uniqueKey":"chartType.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["VERTICAL_BAR"],"uniqueKey":"chartType.oneOf.2","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["HORIZONTAL_BAR"],"uniqueKey":"chartType.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["SCATTER"],"uniqueKey":"chartType.oneOf.4","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["FUNNEL"],"uniqueKey":"chartType.oneOf.5","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["NUMBER"],"uniqueKey":"chartType.oneOf.6","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["PROGRESS"],"uniqueKey":"chartType.oneOf.7","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["IMAGE"],"uniqueKey":"chartType.oneOf.8","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["RECORD"],"uniqueKey":"chartType.oneOf.9","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["TEXT"],"uniqueKey":"chartType.oneOf.10","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["PIE"],"uniqueKey":"chartType.oneOf.11","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["ACTIVITY"],"uniqueKey":"chartType.oneOf.12","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["MAP"],"uniqueKey":"chartType.oneOf.13","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["SANKEY"],"uniqueKey":"chartType.oneOf.14","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["DASHBOARD_HEADER"],"uniqueKey":"chartType.oneOf.15","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["DASHBOARD_TEXT"],"uniqueKey":"chartType.oneOf.16","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the chart","uniqueKey":"chartType.oneOf.17","typeLabel":"null"}],"uniqueKey":"chartType","typeLabel":"enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · null"},"sqlQuery":{"type":"string","description":"SQL query powering the chart","uniqueKey":"sqlQuery","typeLabel":"string"},"drilldownSqlQuery":{"oneOf":[{"type":"string","description":"SQL query used for chart drill-downs","uniqueKey":"drilldownSqlQuery.oneOf.0","typeLabel":"string"},{"type":"null","description":"SQL query used for chart drill-downs","uniqueKey":"drilldownSqlQuery.oneOf.1","typeLabel":"null"}],"uniqueKey":"drilldownSqlQuery","typeLabel":"string | null"},"databaseConnectionId":{"oneOf":[{"type":"string","description":"ID of the data source the SQL query runs against","uniqueKey":"databaseConnectionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the data source the SQL query runs against","uniqueKey":"databaseConnectionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"databaseConnectionId","typeLabel":"string | null"},"xAxisProperty":{"oneOf":[{"type":"string","description":"Result column used for the x-axis","uniqueKey":"xAxisProperty.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result column used for the x-axis","uniqueKey":"xAxisProperty.oneOf.1","typeLabel":"null"}],"uniqueKey":"xAxisProperty","typeLabel":"string | null"},"xAxisSecondaryProperty":{"oneOf":[{"type":"string","description":"Result column used to break down the x-axis into segments","uniqueKey":"xAxisSecondaryProperty.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result column used to break down the x-axis into segments","uniqueKey":"xAxisSecondaryProperty.oneOf.1","typeLabel":"null"}],"uniqueKey":"xAxisSecondaryProperty","typeLabel":"string | null"},"yAxisProperty":{"oneOf":[{"type":"string","description":"Result column used for the y-axis","uniqueKey":"yAxisProperty.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result column used for the y-axis","uniqueKey":"yAxisProperty.oneOf.1","typeLabel":"null"}],"uniqueKey":"yAxisProperty","typeLabel":"string | null"},"staticContent":{"oneOf":[{"type":"string","description":"Static content for DASHBOARD_HEADER and DASHBOARD_TEXT chart types","uniqueKey":"staticContent.oneOf.0","typeLabel":"string"},{"type":"null","description":"Static content for DASHBOARD_HEADER and DASHBOARD_TEXT chart types","uniqueKey":"staticContent.oneOf.1","typeLabel":"null"}],"uniqueKey":"staticContent","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"dashboardId":"\u003cstring>","dashboardTabId":"\u003cstring>","layout":{"x":1,"y":1,"width":2,"height":2},"name":"\u003cstring>","description":"\u003cstring>","chartType":"TABLE","sqlQuery":"\u003cstring>","drilldownSqlQuery":"\u003cstring>","databaseConnectionId":"\u003cstring>","xAxisProperty":"\u003cstring>","xAxisSecondaryProperty":"\u003cstring>","yAxisProperty":"\u003cstring>","staticContent":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ed95d00b-9323-47b6-b2d7-d4db5a2e947a":{"description":"Chart updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","description":"Chart ID","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","description":"Chart creation timestamp","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Timestamp of the last content or placement change","isRequired":true,"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"dashboardId":{"type":"string","description":"ID of the dashboard the chart is on","isRequired":true,"uniqueKey":"data.dashboardId","typeLabel":"string"},"dashboardTabId":{"type":"string","description":"ID of the dashboard tab the chart is on","isRequired":true,"uniqueKey":"data.dashboardTabId","typeLabel":"string"},"organizationId":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"data.organizationId","typeLabel":"string"},"name":{"type":"string","description":"Name of the chart","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the chart","isRequired":true,"uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the chart","isRequired":true,"uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.description","typeLabel":"string | null"},"chartType":{"oneOf":[{"type":"string","description":"Type of the chart","enum":["TABLE"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["LINE"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["VERTICAL_BAR"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.2","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["HORIZONTAL_BAR"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["SCATTER"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.4","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["FUNNEL"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.5","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["NUMBER"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.6","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["PROGRESS"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.7","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["IMAGE"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.8","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["RECORD"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.9","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["TEXT"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.10","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["PIE"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.11","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["ACTIVITY"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.12","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["MAP"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.13","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["SANKEY"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.14","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["DASHBOARD_HEADER"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.15","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Type of the chart","enum":["DASHBOARD_TEXT"],"isRequired":true,"uniqueKey":"data.chartType.oneOf.16","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of the chart","isRequired":true,"uniqueKey":"data.chartType.oneOf.17","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.chartType","typeLabel":"enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · enum\u003cstring> · null"},"sqlQuery":{"type":"string","description":"SQL query powering the chart","isRequired":true,"uniqueKey":"data.sqlQuery","typeLabel":"string"},"drilldownSqlQuery":{"oneOf":[{"type":"string","description":"SQL query used for chart drill-downs","isRequired":true,"uniqueKey":"data.drilldownSqlQuery.oneOf.0","typeLabel":"string"},{"type":"null","description":"SQL query used for chart drill-downs","isRequired":true,"uniqueKey":"data.drilldownSqlQuery.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.drilldownSqlQuery","typeLabel":"string | null"},"databaseConnectionId":{"oneOf":[{"type":"string","description":"ID of the data source the SQL query runs against","isRequired":true,"uniqueKey":"data.databaseConnectionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the data source the SQL query runs against","isRequired":true,"uniqueKey":"data.databaseConnectionId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.databaseConnectionId","typeLabel":"string | null"},"xAxisProperty":{"oneOf":[{"type":"string","description":"Result column used for the x-axis","isRequired":true,"uniqueKey":"data.xAxisProperty.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result column used for the x-axis","isRequired":true,"uniqueKey":"data.xAxisProperty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.xAxisProperty","typeLabel":"string | null"},"xAxisSecondaryProperty":{"oneOf":[{"type":"string","description":"Result column used to break down the x-axis into segments","isRequired":true,"uniqueKey":"data.xAxisSecondaryProperty.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result column used to break down the x-axis into segments","isRequired":true,"uniqueKey":"data.xAxisSecondaryProperty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.xAxisSecondaryProperty","typeLabel":"string | null"},"yAxisProperty":{"oneOf":[{"type":"string","description":"Result column used for the y-axis","isRequired":true,"uniqueKey":"data.yAxisProperty.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result column used for the y-axis","isRequired":true,"uniqueKey":"data.yAxisProperty.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.yAxisProperty","typeLabel":"string | null"},"staticContent":{"oneOf":[{"type":"string","description":"Static content for DASHBOARD_HEADER and DASHBOARD_TEXT chart types","isRequired":true,"uniqueKey":"data.staticContent.oneOf.0","typeLabel":"string"},{"type":"null","description":"Static content for DASHBOARD_HEADER and DASHBOARD_TEXT chart types","isRequired":true,"uniqueKey":"data.staticContent.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.staticContent","typeLabel":"string | null"},"layout":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"description":"Column position on the dashboard grid","isRequired":true,"uniqueKey":"data.layout.x","typeLabel":"integer"},"y":{"type":"integer","minimum":0,"description":"Row position on the dashboard grid","isRequired":true,"uniqueKey":"data.layout.y","typeLabel":"integer"},"width":{"type":"integer","minimum":1,"description":"Width of the chart in grid units","isRequired":true,"uniqueKey":"data.layout.width","typeLabel":"integer"},"height":{"type":"integer","minimum":1,"description":"Height of the chart in grid units","isRequired":true,"uniqueKey":"data.layout.height","typeLabel":"integer"}},"required":["x","y","width","height"],"isRequired":true,"uniqueKey":"data.layout","typeLabel":"object"},"imageUrl":{"type":"string","format":"uri","description":"URL that renders this chart as a PNG image (the \"Get a chart image\" endpoint). Request it with the same API key authentication.","isRequired":true,"uniqueKey":"data.imageUrl","typeLabel":"string\u003curi>"}},"required":["id","createdAt","updatedAt","dashboardId","dashboardTabId","organizationId","name","description","chartType","sqlQuery","drilldownSqlQuery","databaseConnectionId","xAxisProperty","xAxisSecondaryProperty","yAxisProperty","staticContent","layout","imageUrl"],"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","dashboardId":"\u003cstring>","dashboardTabId":"\u003cstring>","organizationId":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","chartType":"TABLE","sqlQuery":"\u003cstring>","drilldownSqlQuery":"\u003cstring>","databaseConnectionId":"\u003cstring>","xAxisProperty":"\u003cstring>","xAxisSecondaryProperty":"\u003cstring>","yAxisProperty":"\u003cstring>","staticContent":"\u003cstring>","layout":{"x":1,"y":1,"width":2,"height":2},"imageUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3ec455d2-6db7-4778-8c03-95d1e9856016":{"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"},"b2d4a6c5-2f16-43d7-8bf4-8edd413ef989":{"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"},"c7376766-46ad-4dab-bd23-8a9863e13f1e":{"description":"Forbidden - Organization trial has expired","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"},"9080f482-9a47-4fbd-bdc8-0763b8d69ee6":{"description":"Not found - Chart 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"},"56fb8feb-6ae6-4f3c-b882-d4198aa32d62":{"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"},"61fa0a0c-3882-4fd5-bf0e-3abd528b0567":{"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":{"e2ca3091-e8aa-4ea8-bb62-d6553b575be4":{"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 chart - Basedash Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T18:13:24.595Z","originalFileLocation":"api-reference/charts/update-a-chart.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 a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. 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 chart - Basedash Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. 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/charts/update-a-chart\">\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=Charts\u0026amp;title=Update+a+chart\u0026amp;description=Updates+a+chart.+Content+changes+%28name%2C+SQL+query%2C+chart+type%2C+axes%2C+etc.%29+create+a+new+chart+version+behind+the+scenes+so+the+version+history+is+preserved.+Pla\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=13034b47733460681d51688b5325c384c44baca6687460a8e83c5426ae241040\">\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 chart - Basedash Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://basedash.mintlify.site/docs/_mintlify/api/og/v2?division=Charts\u0026amp;title=Update+a+chart\u0026amp;description=Updates+a+chart.+Content+changes+%28name%2C+SQL+query%2C+chart+type%2C+axes%2C+etc.%29+create+a+new+chart+version+behind+the+scenes+so+the+version+history+is+preserved.+Pla\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=13034b47733460681d51688b5325c384c44baca6687460a8e83c5426ae241040\">\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/charts/update-a-chart\">\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/charts/update-a-chart.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/charts/update-a-chart#webpage\",\"url\":\"https://www.basedash.com/docs/api-reference/charts/update-a-chart\",\"name\":\"Update a chart\",\"description\":\"Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.\",\"dateModified\":\"2026-10-26T18:13:24.595Z\",\"isPartOf\":{\"@id\":\"https://www.basedash.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.basedash.com/docs/api-reference/charts/update-a-chart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.basedash.com/docs/api-reference/charts/update-a-chart#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\":\"Charts\",\"item\":\"https://www.basedash.com/docs/api-reference/charts/create-a-chart\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a chart\",\"item\":\"https://www.basedash.com/docs/api-reference/charts/update-a-chart\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.basedash.com/docs/api-reference/charts/update-a-chart#apireference\",\"headline\":\"Update a chart\",\"name\":\"Update a chart\",\"description\":\"Updates a chart. Content changes (name, SQL query, chart type, axes, etc.) create a new chart version behind the scenes so the version history is preserved. Placement changes (dashboardId, dashboardTabId, layout) move or resize the chart without creating a version. Requires admin access to the organization.\",\"url\":\"https://www.basedash.com/docs/api-reference/charts/update-a-chart\",\"mainEntityOfPage\":{\"@id\":\"https://www.basedash.com/docs/api-reference/charts/update-a-chart#webpage\"},\"dateModified\":\"2026-10-26T18:13:24.595Z\",\"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","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","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","description":"Archives a chart by ID and removes it from its dashboard. Requires admin access to the organization.","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","description":"Renders a chart as a PNG image. Works for any chart the API key owner can access: charts on dashboards, charts created in chats, and insight charts. The image only includes data the API key owner is allowed to see. Pass chartVersionId to render a specific version; otherwise the latest version is rendered. Rendered images are cached per chart version. IMAGE charts and dashboard header and text blocks (DASHBOARD_HEADER, DASHBOARD_TEXT) are never rendered as images; requesting one returns 422.","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 chart - 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"]}