Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.
This endpoint is commonly used in combination with the create or update data source endpoints. It allows you to verify that the provided credentials can successfully connect to the database before committing to creating or updating a data source.
When a connection fails, the response includes fieldErrors that map specific fields to their errors. This allows you to display targeted feedback to users about which credential field is incorrect.Common field errors:
host: “Host not found” - The hostname could not be resolved
port: “Incorrect port” - The connection was refused on the specified port
username/password: “Incorrect username or password” - Authentication failed
databaseName: “Database does not exist” - The specified database was not found
{"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/data-sources/verify-data-source-credentials","slug":"/api-reference/data-sources/verify-data-source-credentials","pageMetadata":{"title":"Verify data source credentials","description":"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.","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","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: \"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`when-to-use`,children:`When to use`}),`\n`,_jsx(_components.p,{children:`This endpoint is commonly used in combination with the create or update data source endpoints. It allows you to verify that the provided credentials can successfully connect to the database before committing to creating or updating a data source.`}),`\n`,_jsx(Heading,{level:`2`,id:`typical-workflow`,children:`Typical workflow`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Verify credentials`}),` - Call this endpoint with the connection details`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check response`}),` - If successful, proceed to create/update; if failed, display field-specific errors to the user`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Create/update data source`}),` - Once verified, call the create or update endpoint with the same credentials`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`field-specific-errors`,children:`Field-specific errors`}),`\n`,_jsxs(_components.p,{children:[`When a connection fails, the response includes `,_jsx(_components.code,{children:`fieldErrors`}),` that map specific fields to their errors. This allows you to display targeted feedback to users about which credential field is incorrect.`]}),`\n`,_jsx(_components.p,{children:`Common field errors:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`host`}),`: “Host not found” - The hostname could not be resolved`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`port`}),`: “Incorrect port” - The connection was refused on the specified port`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`username`}),`/`,_jsx(_components.code,{children:`password`}),`: “Incorrect username or password” - Authentication failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`databaseName`}),`: “Database does not exist” - The specified database was not found`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`ip-whitelisting`,children:`IP whitelisting`}),`\n`,_jsx(_components.p,{children:`If the connection times out, ensure the Basedash IP address (24.199.77.73) is whitelisted in your database firewall rules.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Verify data source credentials","description":"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.","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","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When to use","slug":"when-to-use","depth":2,"children":[]},{"title":"Typical workflow","slug":"typical-workflow","depth":2,"children":[]},{"title":"Field-specific errors","slug":"field-specific-errors","depth":2,"children":[]},{"title":"IP whitelisting","slug":"ip-whitelisting","depth":2,"children":[]}],"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":"Verify data source credentials","description":"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.","tags":["Data Sources"],"security":["79160205-a82b-446a-b465-69513e0f6c66"],"x-mint":{"content":"## When to use\n\nThis endpoint is commonly used in combination with the create or update data source endpoints. It allows you to verify that the provided credentials can successfully connect to the database before committing to creating or updating a data source.\n\n## Typical workflow\n\n1. **Verify credentials** - Call this endpoint with the connection details\n2. **Check response** - If successful, proceed to create/update; if failed, display field-specific errors to the user\n3. **Create/update data source** - Once verified, call the create or update endpoint with the same credentials\n\n## Field-specific errors\n\nWhen a connection fails, the response includes `fieldErrors` that map specific fields to their errors. This allows you to display targeted feedback to users about which credential field is incorrect.\n\nCommon field errors:\n- `host`: \"Host not found\" - The hostname could not be resolved\n- `port`: \"Incorrect port\" - The connection was refused on the specified port\n- `username`/`password`: \"Incorrect username or password\" - Authentication failed\n- `databaseName`: \"Database does not exist\" - The specified database was not found\n\n## IP whitelisting\n\nIf the connection times out, ensure the Basedash IP address (24.199.77.73) is whitelisted in your database firewall rules."},"parameters":["33cad014-b5ab-44f1-921a-e400ae2c1080"],"requestBody":"feea81f0-d282-4635-83e6-3bfdc143e154","responses":{"200":"e0d214e7-4d75-4d98-ae97-b9a064fc2e9b","400":"e9b5031f-149b-48d7-932b-d0de7cbb39e5","401":"ca9e8af0-b8ac-4c21-8d2b-25d76c378480","404":"1e75507d-a4f0-47d6-920f-661340853a5f","429":"5dcccf5a-4705-4953-b638-10a07bb0cdae","500":"9299e712-afcf-43ad-b63c-4c1d9d348324"},"method":"post","type":"path","servers":["ced2b752-ccc0-40d7-8000-3375bc31a7ca"],"path":"/api/public/organizations/{orgId}/data-sources/verify","baseUrlOptions":["https://charts.basedash.com"],"title":"Verify data source credentials","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"33cad014-b5ab-44f1-921a-e400ae2c1080":{"schema":{"type":"string","description":"Organization ID","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Organization ID","name":"orgId","in":"path"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dialect":{"oneOf":[{"type":"string","description":"Database dialect/type","enum":["ELASTICSEARCH"],"isRequired":true,"uniqueKey":"dialect.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["POSTGRES"],"isRequired":true,"uniqueKey":"dialect.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["SUPABASE"],"isRequired":true,"uniqueKey":"dialect.oneOf.2","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["MYSQL"],"isRequired":true,"uniqueKey":"dialect.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["PLANETSCALE"],"isRequired":true,"uniqueKey":"dialect.oneOf.4","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["ATHENA"],"isRequired":true,"uniqueKey":"dialect.oneOf.5","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["BIGQUERY"],"isRequired":true,"uniqueKey":"dialect.oneOf.6","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["CLICKHOUSE"],"isRequired":true,"uniqueKey":"dialect.oneOf.7","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["SPANNER"],"isRequired":true,"uniqueKey":"dialect.oneOf.8","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["SNOWFLAKE"],"isRequired":true,"uniqueKey":"dialect.oneOf.9","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["REDSHIFT"],"isRequired":true,"uniqueKey":"dialect.oneOf.10","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["SQL_SERVER"],"isRequired":true,"uniqueKey":"dialect.oneOf.11","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["ORACLE"],"isRequired":true,"uniqueKey":"dialect.oneOf.12","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["DATABRICKS"],"isRequired":true,"uniqueKey":"dialect.oneOf.13","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["POSTHOG"],"isRequired":true,"uniqueKey":"dialect.oneOf.14","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["DUCKDB"],"isRequired":true,"uniqueKey":"dialect.oneOf.15","typeLabel":"enum\u003cstring>"},{"type":"string","description":"Database dialect/type","enum":["MOTHERDUCK"],"isRequired":true,"uniqueKey":"dialect.oneOf.16","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"dialect","typeLabel":"enum\u003cstring>"},"snowflakeAccountId":{"type":"string","description":"Snowflake account ID","uniqueKey":"snowflakeAccountId","typeLabel":"string"},"snowflakeWarehouse":{"type":"string","description":"Snowflake warehouse","uniqueKey":"snowflakeWarehouse","typeLabel":"string"},"snowflakeRole":{"type":"string","description":"Snowflake role","uniqueKey":"snowflakeRole","typeLabel":"string"},"snowflakePrivateKey":{"type":"string","description":"Snowflake private key","uniqueKey":"snowflakePrivateKey","typeLabel":"string"},"snowflakePrivateKeyPassphrase":{"type":"string","description":"Snowflake private key passphrase","uniqueKey":"snowflakePrivateKeyPassphrase","typeLabel":"string"},"databaseName":{"oneOf":[{"type":"string","default":null,"description":"Database name","uniqueKey":"databaseName.oneOf.0","typeLabel":"string"},{"type":"null","default":null,"description":"Database name","uniqueKey":"databaseName.oneOf.1","typeLabel":"null"}],"uniqueKey":"databaseName","typeLabel":"string | null"},"username":{"type":"string","description":"Database username","uniqueKey":"username","typeLabel":"string"},"host":{"type":"string","description":"Database host","uniqueKey":"host","typeLabel":"string"},"port":{"type":"integer","minimum":0,"maximum":65535,"description":"Database port","uniqueKey":"port","typeLabel":"integer"},"password":{"type":"string","description":"Database password","uniqueKey":"password","typeLabel":"string"},"bigQueryJsonKey":{"type":"string","description":"BigQuery JSON key","uniqueKey":"bigQueryJsonKey","typeLabel":"string"},"bigQueryProjectId":{"type":"string","description":"BigQuery project ID","uniqueKey":"bigQueryProjectId","typeLabel":"string"},"spannerInstanceId":{"type":"string","description":"Spanner instance ID","uniqueKey":"spannerInstanceId","typeLabel":"string"},"athenaWorkgroup":{"type":"string","description":"Athena workgroup","uniqueKey":"athenaWorkgroup","typeLabel":"string"},"athenaOutputLocation":{"type":"string","description":"Athena output location (s3://...)","uniqueKey":"athenaOutputLocation","typeLabel":"string"},"athenaCatalog":{"type":"string","description":"Athena catalog","uniqueKey":"athenaCatalog","typeLabel":"string"},"sslEnabled":{"type":"boolean","default":true,"description":"Enable SSL connection","uniqueKey":"sslEnabled","typeLabel":"boolean"},"sslVerifyServerCertificate":{"type":"boolean","description":"Verify the server's TLS certificate when SSL is on","uniqueKey":"sslVerifyServerCertificate","typeLabel":"boolean"},"sslCaCertificate":{"oneOf":[{"type":"string","maxLength":65536,"description":"PEM CA certificate to trust for the server certificate","uniqueKey":"sslCaCertificate.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":65536,"description":"PEM CA certificate to trust for the server certificate","uniqueKey":"sslCaCertificate.oneOf.1","typeLabel":"null"}],"uniqueKey":"sslCaCertificate","typeLabel":"string | null"},"sshEnabled":{"type":"boolean","default":false,"description":"Enable SSH tunnel","uniqueKey":"sshEnabled","typeLabel":"boolean"},"sshHost":{"type":"string","description":"SSH tunnel host","uniqueKey":"sshHost","typeLabel":"string"},"sshPort":{"type":"integer","minimum":0,"maximum":65535,"description":"SSH tunnel port","uniqueKey":"sshPort","typeLabel":"integer"},"sshUsername":{"type":"string","description":"SSH tunnel username","uniqueKey":"sshUsername","typeLabel":"string"},"sshPassword":{"type":"string","description":"SSH tunnel password","uniqueKey":"sshPassword","typeLabel":"string"},"sshPrivateKey":{"type":"string","description":"SSH private key","uniqueKey":"sshPrivateKey","typeLabel":"string"},"sshPrivateKeyPassphrase":{"type":"string","description":"SSH private key passphrase","uniqueKey":"sshPrivateKeyPassphrase","typeLabel":"string"},"maxPoolSize":{"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of connections in the pool per container","uniqueKey":"maxPoolSize","typeLabel":"integer"}},"required":["dialect"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"dialect":"ELASTICSEARCH","snowflakeAccountId":"\u003cstring>","snowflakeWarehouse":"\u003cstring>","snowflakeRole":"\u003cstring>","snowflakePrivateKey":"\u003cstring>","snowflakePrivateKeyPassphrase":"\u003cstring>","databaseName":null,"username":"\u003cstring>","host":"\u003cstring>","port":32767,"password":"\u003cstring>","bigQueryJsonKey":"\u003cstring>","bigQueryProjectId":"\u003cstring>","spannerInstanceId":"\u003cstring>","athenaWorkgroup":"\u003cstring>","athenaOutputLocation":"\u003cstring>","athenaCatalog":"\u003cstring>","sslEnabled":true,"sslVerifyServerCertificate":true,"sslCaCertificate":"\u003cstring>","sshEnabled":false,"sshHost":"\u003cstring>","sshPort":32767,"sshUsername":"\u003cstring>","sshPassword":"\u003cstring>","sshPrivateKey":"\u003cstring>","sshPrivateKeyPassphrase":"\u003cstring>","maxPoolSize":50}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e0d214e7-4d75-4d98-ae97-b9a064fc2e9b":{"description":"Credentials verified successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"description":"Indicates successful connection","isRequired":true,"uniqueKey":"data.success","typeLabel":"enum\u003cboolean>"}},"required":["success"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"success":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"e9b5031f-149b-48d7-932b-d0de7cbb39e5":{"description":"Bad request - Invalid JSON body, validation error, or connection failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"title":{"type":"string","enum":["ConnectionFailed"],"description":"Error type identifier","isRequired":true,"uniqueKey":"error.title","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"Human-readable error description","isRequired":true,"uniqueKey":"error.detail","typeLabel":"string"},"fieldErrors":{"type":"object","properties":{"host":{"type":"string","description":"Host-related error","uniqueKey":"error.fieldErrors.host","typeLabel":"string"},"port":{"type":"string","description":"Port-related error","uniqueKey":"error.fieldErrors.port","typeLabel":"string"},"username":{"type":"string","description":"Username-related error","uniqueKey":"error.fieldErrors.username","typeLabel":"string"},"password":{"type":"string","description":"Password-related error","uniqueKey":"error.fieldErrors.password","typeLabel":"string"},"databaseName":{"type":"string","description":"Database name error","uniqueKey":"error.fieldErrors.databaseName","typeLabel":"string"},"athenaOutputLocation":{"type":"string","description":"Athena output location error","uniqueKey":"error.fieldErrors.athenaOutputLocation","typeLabel":"string"},"bigQueryJsonKey":{"type":"string","description":"BigQuery JSON key error","uniqueKey":"error.fieldErrors.bigQueryJsonKey","typeLabel":"string"},"snowflakePrivateKey":{"type":"string","description":"Snowflake private key error","uniqueKey":"error.fieldErrors.snowflakePrivateKey","typeLabel":"string"},"snowflakePrivateKeyPassphrase":{"type":"string","description":"Snowflake passphrase error","uniqueKey":"error.fieldErrors.snowflakePrivateKeyPassphrase","typeLabel":"string"}},"description":"Field-specific connection errors","uniqueKey":"error.fieldErrors","typeLabel":"object"}},"required":["title","detail"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"title":"ConnectionFailed","detail":"\u003cstring>","fieldErrors":{"host":"\u003cstring>","port":"\u003cstring>","username":"\u003cstring>","password":"\u003cstring>","databaseName":"\u003cstring>","athenaOutputLocation":"\u003cstring>","bigQueryJsonKey":"\u003cstring>","snowflakePrivateKey":"\u003cstring>","snowflakePrivateKeyPassphrase":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"ca9e8af0-b8ac-4c21-8d2b-25d76c378480":{"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"},"1e75507d-a4f0-47d6-920f-661340853a5f":{"description":"Not found - Organization 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"},"5dcccf5a-4705-4953-b638-10a07bb0cdae":{"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"},"9299e712-afcf-43ad-b63c-4c1d9d348324":{"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":{"79160205-a82b-446a-b465-69513e0f6c66":{"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":"Verify data source credentials - Basedash Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T18:13:24.134Z","originalFileLocation":"api-reference/data-sources/verify-data-source-credentials.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=\"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.\">\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=\"Verify data source credentials - Basedash Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.\">\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/data-sources/verify-data-source-credentials\">\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=Data+Sources\u0026amp;title=Verify+data+source+credentials\u0026amp;description=Tests+database+connection+credentials+without+creating+a+data+source.+Use+this+endpoint+to+validate+credentials+before+creating+or+updating+a+data+source.\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=6a3131d97f267871900a959df2aa0f2481f60917d2c9168ec0a29c48960c8a56\">\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=\"Verify data source credentials - Basedash Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://basedash.mintlify.site/docs/_mintlify/api/og/v2?division=Data+Sources\u0026amp;title=Verify+data+source+credentials\u0026amp;description=Tests+database+connection+credentials+without+creating+a+data+source.+Use+this+endpoint+to+validate+credentials+before+creating+or+updating+a+data+source.\u0026amp;theme=c5a556851c965f677a967b22\u0026amp;signature=6a3131d97f267871900a959df2aa0f2481f60917d2c9168ec0a29c48960c8a56\">\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/data-sources/verify-data-source-credentials\">\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/data-sources/verify-data-source-credentials.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/data-sources/verify-data-source-credentials#webpage\",\"url\":\"https://www.basedash.com/docs/api-reference/data-sources/verify-data-source-credentials\",\"name\":\"Verify data source credentials\",\"description\":\"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.\",\"dateModified\":\"2026-10-26T18:13:24.134Z\",\"isPartOf\":{\"@id\":\"https://www.basedash.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.basedash.com/docs/api-reference/data-sources/verify-data-source-credentials#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.basedash.com/docs/api-reference/data-sources/verify-data-source-credentials#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\":\"Data Sources\",\"item\":\"https://www.basedash.com/docs/api-reference/data-sources/get-a-data-source\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Verify data source credentials\",\"item\":\"https://www.basedash.com/docs/api-reference/data-sources/verify-data-source-credentials\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.basedash.com/docs/api-reference/data-sources/verify-data-source-credentials#apireference\",\"headline\":\"Verify data source credentials\",\"name\":\"Verify data source credentials\",\"description\":\"Tests database connection credentials without creating a data source. Use this endpoint to validate credentials before creating or updating a data source.\",\"url\":\"https://www.basedash.com/docs/api-reference/data-sources/verify-data-source-credentials\",\"mainEntityOfPage\":{\"@id\":\"https://www.basedash.com/docs/api-reference/data-sources/verify-data-source-credentials#webpage\"},\"dateModified\":\"2026-10-26T18:13:24.134Z\",\"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","description":"Creates a new data source connection for an organization. Requires admin access to the organization. Currently only direct database connections are supported.","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","description":"Retrieves the access policy for a data source: who can query it, and the schema, table, and column rules on it. The response can be sent back to the update endpoint unchanged. Requires admin access to the organization.","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","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":"Verify data source credentials - 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"]}