Give a connection a new database in this environment, such as Warehouse’s staging database: creates the database’s connection and makes it the connection’s database here, in one step. The settings must be of the connection’s type; test them first. Workspaces built on the connection then query this database for this environment’s users.
POST
/
v2
/
api
/
projects
/
{projectId}
/
environments
/
{environment}
/
connections
/
{sourceConnectionId}
/
database
Give a connection a new database in this environm…
Upsolve API key, generated under Account → Developer settings in the Upsolve Hub. Keys are user-scoped: pass organizationId alongside the key to select which org to act on.
Your Upsolve organization's UUID — the org that owns the API key and project. This is NOT a project organization: do not pass a value registered via /projects/register-organization, and do not pass an externalId (only projectOrganizationId accepts those). Omit it when using an org-bound API key — the org is read from the key and any value sent here is ignored. Required only for user-scoped API keys (created under Account → Developer settings) and for the Supabase JWT path, where the org is ambiguous and membership is verified against it.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Upsolve AI","colors":{"primary":"#F13470","light":"#F13470","dark":"#E05883"},"favicon":"https://mintcdn.com/upsolve/yo8HqJNiSHXxC-XO/favicon.svg?fit=max\u0026auto=format\u0026n=yo8HqJNiSHXxC-XO\u0026q=85\u0026s=9b9e554a8bc33ff2f4191464242d130d","logo":{"light":"https://mintcdn.com/upsolve/2iK7L-lfLcwqCcz_/logo/light_logo.svg?fit=max\u0026auto=format\u0026n=2iK7L-lfLcwqCcz_\u0026q=85\u0026s=e2c715b3dad371be16e683c74655b2a8","dark":"https://mintcdn.com/upsolve/2iK7L-lfLcwqCcz_/logo/dark_logo.svg?fit=max\u0026auto=format\u0026n=2iK7L-lfLcwqCcz_\u0026q=85\u0026s=e5b53eb0a41de94b806015890a6b4bdc","href":"https://upsolve.ai"},"api":{"openapi":["api-reference/upsolve.documentation.yaml"],"mdx":{"server":"https://api.upsolve.ai","auth":{"method":"bearer","name":null}}},"navbar":{"links":[{"label":"Support","href":"mailto:support@upsolve.ai"}],"primary":{"type":"button","label":"Request Access","href":"https://upsolve.ai/"}},"seo":{"metatags":{"slack-app-id":"A0C9DAKJQ49"},"indexing":"navigable"},"footer":{"socials":{"website":"https://upsolve.ai/","linkedin":"https://www.linkedin.com/company/upsolveai","hacker-news":"https://www.ycombinator.com/companies/upsolve-ai"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Impact Studies","href":"https://upsolve.ai/impact-study","icon":"newspaper"},{"anchor":"Security Trust Center","href":"https://trust.upsolve.ai","icon":"shield-halved"},{"anchor":"Community","href":"https://upsolve-ai-community.slack.com/join/shared_invite/zt-2x9oospxx-vv2uDP_20IafkekwCOMi4A#/shared-invite/email","icon":"slack"},{"anchor":"Blog","href":"https://www.upsolve.com/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"upsolve","hasAudioNarration":false,"actualSubdomain":"upsolve","customDomains":["docs.upsolve.ai"],"gitSource":{"type":"github","owner":"upsolve-labs","repo":"upsolve-core","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae5961f3badfbce406bc106","collectionId":"b9bdc751-1d37-437d-874e-7df730951060","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae5961f3badfbce406bc106"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae5a12a3db8daa46796990a","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":144},{"language":"default","tag":"API Documentation","count":143},{"language":"default","tag":"Integrations","count":116},{"language":"default","tag":"Documentation","count":48},{"language":"default","tag":"SQL Reference","count":48},{"language":"default","tag":"Canvases","count":29},{"language":"default","tag":"Workspace draft","count":29},{"language":"default","tag":"Functions","count":23},{"language":"default","tag":"Analytics Layer","count":22},{"language":"default","tag":"Connections \u0026 environments","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/create-environment-connection-database","slug":"/api-reference/endpoint/create-environment-connection-database","pageMetadata":{"title":"Create Environment Connection Database","openapi":"post /v2/api/projects/{projectId}/environments/{environment}/connections/{sourceConnectionId}/database","description":"Give a connection a new database in this environment, such as Warehouse's staging database: creates the database's connection and makes it the connection's database here, in one step. The settings must be of the connection's type; test them first. Workspaces built on the connection then query this database for this environment's users.","href":"/api-reference/endpoint/create-environment-connection-database"},"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: \"Give a connection a new database in this environment, such as Warehouse’s staging database: creates the database’s connection and makes it the connection’s database here, in one step. The settings must be of the connection’s type; test them first. Workspaces built on the connection then query this database for this environment’s users.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Environment Connection Database","openapi":"post /v2/api/projects/{projectId}/environments/{environment}/connections/{sourceConnectionId}/database","description":"Give a connection a new database in this environment, such as Warehouse's staging database: creates the database's connection and makes it the connection's database here, in one step. The settings must be of the connection's type; test them first. Workspaces built on the connection then query this database for this environment's users.","href":"/api-reference/endpoint/create-environment-connection-database"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"PostV2ApiProjectsProjectIdEnvironmentsEnvironmentConnectionsSourceConnectionIdDatabase","summary":"Give a connection a new database in this environm…","description":"Give a connection a new database in this environment, such as Warehouse's staging database: creates the database's connection and makes it the connection's database here, in one step. The settings must be of the connection's type; test them first. Workspaces built on the connection then query this database for this environment's users.","parameters":["709c68d0-0dbc-453b-a9b0-e99f0b3526a4","3f88307f-834d-4609-a560-699d9f117f9b","f8bd89e8-9c34-4f93-941f-1428e3663dcc"],"requestBody":"90fbd478-9eb8-439c-887b-2bc73951e2a1","security":["9f54fbf5-1010-451d-8746-9c9f0ee61b92"],"responses":{"201":"23d3cab3-f5e3-4107-8c16-4fefb47f03a3","400":"81902c9a-6a95-44bc-9ef2-8c7abd28201b"},"method":"post","type":"path","servers":["19da32c0-ae77-4cb9-938a-e7fa5193f9d7"],"path":"/v2/api/projects/{projectId}/environments/{environment}/connections/{sourceConnectionId}/database","baseUrlOptions":["https://api.upsolve.ai"],"title":"Give a connection a new database in this environm…","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"709c68d0-0dbc-453b-a9b0-e99f0b3526a4":{"name":"projectId","in":"path","required":true,"description":"The project the environments belong to.","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$","description":"The project the environments belong to.","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"3f88307f-834d-4609-a560-699d9f117f9b":{"name":"environment","in":"path","required":true,"description":"The environment's slug, e.g. `staging`.","schema":{"type":"string","description":"The environment's slug, e.g. `staging`.","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"f8bd89e8-9c34-4f93-941f-1428e3663dcc":{"name":"sourceConnectionId","in":"path","required":true,"description":"The connection to give a database in this environment: one a workspace in this project is built on.","schema":{"type":"string","description":"The connection to give a database in this environment: one a workspace in this project is built on.","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"description":"POST /v2/api/projects/:projectId/environments/:environment/connections/:sourceConnectionId/database Request body","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"The new database's name, for example \"Warehouse (Staging)\".","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"config":{"oneOf":[{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"Bigquery","isRequired":true,"uniqueKey":"config.oneOf.0.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.0.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.0.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.0.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.0.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.0.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.0.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.0.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.0.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.0.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.0.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.0.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.0.requiresSchemaLevelSecurity","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"config.oneOf.0","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"Clickhouse","isRequired":true,"uniqueKey":"config.oneOf.1.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.1.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.1.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.1.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.1.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.1.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.1.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.1.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.1.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.1.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.1.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.1.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.1.requiresSchemaLevelSecurity","typeLabel":"boolean"},"defaultSchema":{"description":"Default database value to be used for admins. When set, schema-based tenancy is enabled and metadata will only include tables from this database. May be a comma-separated list (e.g. 'db1,db2') to scope metadata across multiple databases.","type":"string","uniqueKey":"config.oneOf.1.defaultSchema","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.oneOf.1","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"MS SQL","isRequired":true,"uniqueKey":"config.oneOf.2.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.2.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.2.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.2.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.2.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.2.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.2.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.2.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.2.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.2.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.2.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.2.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.2.requiresSchemaLevelSecurity","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"config.oneOf.2","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"Redshift","isRequired":true,"uniqueKey":"config.oneOf.3.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.3.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.3.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.3.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.3.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.3.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.3.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.3.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.3.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.3.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.3.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.3.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.3.requiresSchemaLevelSecurity","typeLabel":"boolean"},"rlsVariable":{"description":"RLS variable to be used when RLS is enabled.","type":"string","uniqueKey":"config.oneOf.3.rlsVariable","typeLabel":"string"},"defaultRlsValue":{"description":"Default RLS value to be used when RLS is enabled.","type":"string","uniqueKey":"config.oneOf.3.defaultRlsValue","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.oneOf.3","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"Snowflake","isRequired":true,"uniqueKey":"config.oneOf.4.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.4.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.4.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.4.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.4.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.4.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.4.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.4.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.4.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.4.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.4.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.4.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.4.requiresSchemaLevelSecurity","typeLabel":"boolean"},"authenticator":{"description":"Set to SNOWFLAKE_JWT to sign in with a key pair: the decrypted credential is then used as the PEM private key instead of a password.","type":"string","enum":["SNOWFLAKE_JWT"],"uniqueKey":"config.oneOf.4.authenticator","typeLabel":"enum\u003cstring>"},"warehouse":{"description":"Snowflake warehouse the session uses for compute.","type":"string","uniqueKey":"config.oneOf.4.warehouse","typeLabel":"string"},"role":{"description":"Snowflake role the session assumes.","type":"string","uniqueKey":"config.oneOf.4.role","typeLabel":"string"},"managedBy":{"description":"Set when Upsolve provisioned and owns the database (Easy connect). Deleting the connection then also deletes what it points at.","type":"string","enum":["easy_connect"],"uniqueKey":"config.oneOf.4.managedBy","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"config.oneOf.4","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"Timescale","isRequired":true,"uniqueKey":"config.oneOf.5.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.5.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.5.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.5.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.5.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.5.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.5.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.5.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.5.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.5.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.5.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.5.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.5.requiresSchemaLevelSecurity","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"config.oneOf.5","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","url","key"],"properties":{"type":{"type":"string","const":"Supabase","isRequired":true,"uniqueKey":"config.oneOf.6.type","typeLabel":"string"},"url":{"type":"string","description":"Supabase project URL","isRequired":true,"uniqueKey":"config.oneOf.6.url","typeLabel":"string"},"key":{"type":"string","description":"Supabase Anon key","isRequired":true,"uniqueKey":"config.oneOf.6.key","typeLabel":"string"},"serviceKey":{"description":"Deprecated and no longer used for authentication — admin queries mint a short-lived token from jwtSecret. Kept as an optional field only for backward compatibility with existing stored configs; the product never reads or writes it, and it is stripped from API responses.","type":"string","uniqueKey":"config.oneOf.6.serviceKey","typeLabel":"string"},"isReadReplica":{"description":"Whether to use read replica (sets get: true for RPC calls)","type":"boolean","uniqueKey":"config.oneOf.6.isReadReplica","typeLabel":"boolean"},"jwtSecret":{"description":"Supabase legacy JWT secret (HS256) for minting user-scoped JWTs to enable RLS in preview mode","type":"string","uniqueKey":"config.oneOf.6.jwtSecret","typeLabel":"string"},"schemas":{"description":"Optional comma-separated list of schemas to restrict metadata introspection to (e.g. 'public,analytics'). When empty, all non-system schemas are scanned.","type":"string","uniqueKey":"config.oneOf.6.schemas","typeLabel":"string"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.6.requiresSchemaLevelSecurity","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"config.oneOf.6","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","apiKey"],"properties":{"type":{"type":"string","const":"Data plane","isRequired":true,"uniqueKey":"config.oneOf.7.type","typeLabel":"string"},"apiKey":{"type":"string","description":"Data plane API key","isRequired":true,"uniqueKey":"config.oneOf.7.apiKey","typeLabel":"string"},"defaultSchema":{"description":"Default schema value to be used. When set, schema based tenancy is enabled.","type":"string","uniqueKey":"config.oneOf.7.defaultSchema","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.oneOf.7","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"Postgres","isRequired":true,"uniqueKey":"config.oneOf.8.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.8.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.8.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.8.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.8.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.8.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.8.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.8.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.8.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.8.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.8.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.8.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.8.requiresSchemaLevelSecurity","typeLabel":"boolean"},"rlsVariable":{"description":"RLS variable to be used when RLS is enabled.","type":"string","uniqueKey":"config.oneOf.8.rlsVariable","typeLabel":"string"},"defaultRlsValue":{"description":"Default RLS value to be used when RLS is enabled.","type":"string","uniqueKey":"config.oneOf.8.defaultRlsValue","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.oneOf.8","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host"],"properties":{"type":{"type":"string","const":"MySQL","isRequired":true,"uniqueKey":"config.oneOf.9.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.9.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.9.host","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.9.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.9.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.9.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.9.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.9.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.9.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.9.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.9.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.9.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.9.requiresSchemaLevelSecurity","typeLabel":"boolean"},"ssl":{"description":"Whether to use SSL for the connection. Defaults to true for backward compatibility.","type":"boolean","uniqueKey":"config.oneOf.9.ssl","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"config.oneOf.9","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","host","catalog"],"properties":{"type":{"type":"string","const":"Trino","isRequired":true,"uniqueKey":"config.oneOf.10.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.10.user","typeLabel":"string"},"host":{"type":"string","description":"Connection host address","isRequired":true,"uniqueKey":"config.oneOf.10.host","typeLabel":"string"},"catalog":{"type":"string","description":"Trino catalog name","isRequired":true,"uniqueKey":"config.oneOf.10.catalog","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.10.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.10.credential","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.10.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.10.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.10.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.10.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.10.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.10.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.10.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.10.requiresSchemaLevelSecurity","typeLabel":"boolean"},"defaultSchema":{"description":"Default schema in the catalog (e.g. demo, public)","type":"string","uniqueKey":"config.oneOf.10.defaultSchema","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.oneOf.10","typeLabel":"object"},{"type":"object","description":"The database's connection settings, of the connection's type. Test them first with the client-database test-connection endpoint: this one does not.","required":["type","user","region","outputLocation"],"properties":{"type":{"type":"string","const":"Athena","isRequired":true,"uniqueKey":"config.oneOf.11.type","typeLabel":"string"},"user":{"type":"string","description":"Connection username","isRequired":true,"uniqueKey":"config.oneOf.11.user","typeLabel":"string"},"region":{"type":"string","description":"AWS region hosting the Athena workgroup (e.g. us-east-1)","isRequired":true,"uniqueKey":"config.oneOf.11.region","typeLabel":"string"},"outputLocation":{"type":"string","description":"S3 URI where Athena writes query results, e.g. s3://my-bucket/athena-results/. Required: the IAM principal must be able to write here and read back the result object.","isRequired":true,"uniqueKey":"config.oneOf.11.outputLocation","typeLabel":"string"},"password":{"description":"Connection password","type":"string","uniqueKey":"config.oneOf.11.password","typeLabel":"string"},"credential":{"description":"Connection password (encrypted)","type":"string","uniqueKey":"config.oneOf.11.credential","typeLabel":"string"},"host":{"description":"Unused for Athena — the AWS SDK resolves the endpoint by region","type":"string","uniqueKey":"config.oneOf.11.host","typeLabel":"string"},"database":{"description":"Connection database name. For BigQuery, MS SQL, MySQL, and Clickhouse this may be a comma-separated list (e.g. 'db1,db2') to fetch metadata across multiple databases on the same connection; the first entry is used as the initial catalog. Cross-database references in generated SQL require the connecting login/role to have access to every listed database.","type":"string","uniqueKey":"config.oneOf.11.database","typeLabel":"string"},"port":{"description":"Connection port number","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"config.oneOf.11.port","typeLabel":"integer"},"bigIntMode":{"description":"Big integer mode configuration","type":"string","enum":["string","number","bigint"],"uniqueKey":"config.oneOf.11.bigIntMode","typeLabel":"enum\u003cstring>"},"poolSize":{"description":"The size of the connection pool","type":"number","uniqueKey":"config.oneOf.11.poolSize","typeLabel":"number"},"concurrencyLimit":{"description":"The max number of concurrent calls to be made to the db","type":"number","uniqueKey":"config.oneOf.11.concurrencyLimit","typeLabel":"number"},"intervalLimit":{"description":"The max number of calls that can be made in a certain time interval","type":"number","uniqueKey":"config.oneOf.11.intervalLimit","typeLabel":"number"},"intervalTime":{"description":"The amount of time (ms) that needs to be awaited before a new batch of calls can be made beyond the interval limit","type":"number","uniqueKey":"config.oneOf.11.intervalTime","typeLabel":"number"},"requiresSchemaLevelSecurity":{"description":"Each customer's data is in a schema of its own with the same tables. The connection's tables are listed once by name, and a data model's Schema Rule chooses the customer's schema when a query runs.","type":"boolean","uniqueKey":"config.oneOf.11.requiresSchemaLevelSecurity","typeLabel":"boolean"},"workgroup":{"description":"Athena workgroup to run queries in. Defaults to 'primary'.","type":"string","uniqueKey":"config.oneOf.11.workgroup","typeLabel":"string"},"catalog":{"description":"Glue data catalog to resolve tables against. Defaults to 'AwsDataCatalog'.","type":"string","uniqueKey":"config.oneOf.11.catalog","typeLabel":"string"},"schemas":{"description":"Optional comma-separated list of schemas to restrict metadata introspection to (e.g. 'dw,domain_*_mart*'). Supports '*' wildcards. When empty, every schema in the catalog is scanned — on a catalog with thousands of schemas that is slow and rarely intended. Independent of `database`, which only sets what unqualified table names resolve against at execution time.","type":"string","uniqueKey":"config.oneOf.11.schemas","typeLabel":"string"}},"isRequired":true,"uniqueKey":"config.oneOf.11","typeLabel":"object"}],"isRequired":true,"uniqueKey":"config","typeLabel":"object"},"apiKey":{"type":"string","minLength":1,"description":"Upsolve API key, generated under Account → Developer settings in the Upsolve Hub. Keys are user-scoped: pass organizationId alongside the key to select which org to act on.","examples":["up_embed_************"],"uniqueKey":"apiKey","typeLabel":"string"},"organizationId":{"description":"Your Upsolve organization's UUID — the org that owns the API key and project. This is NOT a project organization: do not pass a value registered via /projects/register-organization, and do not pass an `externalId` (only `projectOrganizationId` accepts those). Omit it when using an org-bound API key — the org is read from the key and any value sent here is ignored. Required only for user-scoped API keys (created under Account → Developer settings) and for the Supabase JWT path, where the org is ambiguous and membership is verified against it.","examples":["123e4567-e89b-12d3-a456-426614174000"],"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$","uniqueKey":"organizationId","typeLabel":"string\u003cuuid>"}},"required":["name","config"],"uniqueKey":"","typeLabel":"object"},"examples":{"example1":{"title":"example1","value":{"apiKey":"up_embed_************","organizationId":"123e4567-e89b-12d3-a456-426614174000"}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"23d3cab3-f5e3-4107-8c16-4fefb47f03a3":{"description":"POST /v2/api/projects/:projectId/environments/:environment/connections/:sourceConnectionId/database Positive response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","const":"success","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"data":{"type":"object","properties":{"connectionId":{"type":"string","description":"The new database's connection id.","isRequired":true,"uniqueKey":"data.connectionId","typeLabel":"string"},"environment":{"type":"object","properties":{"slug":{"type":"string","description":"The environment's identifier, immutable: `production` or the slug it was created with.","isRequired":true,"uniqueKey":"data.environment.slug","typeLabel":"string"},"name":{"type":"string","description":"The environment's display name.","isRequired":true,"uniqueKey":"data.environment.name","typeLabel":"string"},"isDefault":{"type":"boolean","description":"True for production: built in, listed first, cannot be renamed or deleted, and where every user is unless they were put elsewhere.","isRequired":true,"uniqueKey":"data.environment.isDefault","typeLabel":"boolean"},"connections":{"type":"array","items":{"type":"object","properties":{"sourceConnectionId":{"type":"string","description":"The production connection this mapping stands in for: the connection a workspace's versions target.","isRequired":true,"uniqueKey":"data.environment.connections.items.[INDEX].sourceConnectionId","typeLabel":"string"},"connectionId":{"type":"string","description":"The connection that source means in this environment. May equal the source, for an environment that shares production's data.","isRequired":true,"uniqueKey":"data.environment.connections.items.[INDEX].connectionId","typeLabel":"string"},"updatedAt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.environment.connections.items.[INDEX].updatedAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.environment.connections.items.[INDEX].updatedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.environment.connections.items.[INDEX].updatedAt","typeLabel":"string | null"}},"required":["sourceConnectionId","connectionId","updatedAt"],"additionalProperties":false,"uniqueKey":"data.environment.connections.items.[INDEX]","typeLabel":"object"},"description":"The environment's connection mappings. Empty for production, which runs every version on the connection it targets.","isRequired":true,"uniqueKey":"data.environment.connections","typeLabel":"object[]"},"userCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many project users belong to this environment, the organization members' own users included.","isRequired":true,"uniqueKey":"data.environment.userCount","typeLabel":"integer"},"organizationCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many project organizations belong to this environment, the members' shadow organization included.","isRequired":true,"uniqueKey":"data.environment.organizationCount","typeLabel":"integer"},"memberUserCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Of `userCount`, the users Upsolve keeps for each organization member (one per member). They are deleted with the environment, so they do not keep it from being deleted.","isRequired":true,"uniqueKey":"data.environment.memberUserCount","typeLabel":"integer"},"memberOrganizationCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Of `organizationCount`, the shadow organization holding the members' users. Deleted with the environment.","isRequired":true,"uniqueKey":"data.environment.memberOrganizationCount","typeLabel":"integer"},"createdAt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.environment.createdAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.environment.createdAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.environment.createdAt","typeLabel":"string | null"}},"required":["slug","name","isDefault","connections","userCount","organizationCount","memberUserCount","memberOrganizationCount","createdAt"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.environment","typeLabel":"object"}},"required":["connectionId","environment"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["status","data"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","data":{"connectionId":"\u003cstring>","environment":{"slug":"\u003cstring>","name":"\u003cstring>","isDefault":true,"connections":[{"sourceConnectionId":"\u003cstring>","connectionId":"\u003cstring>","updatedAt":"\u003cstring>"}],"userCount":0,"organizationCount":0,"memberUserCount":0,"memberOrganizationCount":0,"createdAt":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"81902c9a-6a95-44bc-9ef2-8c7abd28201b":{"description":"POST /v2/api/projects/:projectId/environments/:environment/connections/:sourceConnectionId/database Negative response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","const":"error","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"error":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["status","error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","error":{"message":"\u003cstring>","code":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9f54fbf5-1010-451d-8746-9c9f0ee61b92":{"APIKEY_1":{"type":"apiKey","in":"query","name":"apiKey","x-in-actual":"body","description":"apiKey MUST be supplied within the request body instead of query","scopes":[],"schemeName":"APIKEY_1"}}},"servers":{"19da32c0-ae77-4cb9-938a-e7fa5193f9d7":{"url":"https://api.upsolve.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"query","name":"apiKey","x-in-actual":"body","description":"apiKey MUST be supplied within the request body instead of query","scopes":[],"schemeName":"APIKEY_1"},"schema":{"title":"apiKey","type":"string","description":"apiKey MUST be supplied within the request body instead of query","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKEY_1","name":"apiKey"}],"title":"APIKEY_1"}]},"originalFileLocation":"api-reference/upsolve.documentation.yaml"},"subdomain":"upsolve","siteName":"Upsolve AI","title":"Create Environment Connection Database - Upsolve AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T08:05:26.646Z","originalFileLocation":"api-reference/endpoint/create-environment-connection-database.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=\"Give a connection a new database in this environment, such as Warehouse\u0026#x27;s staging database: creates the database\u0026#x27;s connection and makes it the connection\u0026#x27;s database here, in one step. The settings must be of the connection\u0026#x27;s type; test them first. Workspaces built on the connection then query this database for this environment\u0026#x27;s users.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Upsolve AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Environment Connection Database - Upsolve AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Give a connection a new database in this environment, such as Warehouse\u0026#x27;s staging database: creates the database\u0026#x27;s connection and makes it the connection\u0026#x27;s database here, in one step. The settings must be of the connection\u0026#x27;s type; test them first. Workspaces built on the connection then query this database for this environment\u0026#x27;s users.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Upsolve AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://upsolve.mintlify.app/_mintlify/api/og/v2?division=Connections+%26+environments\u0026amp;title=Create+Environment+Connection+Database\u0026amp;description=Give+a+connection+a+new+database+in+this+environment%2C+such+as+Warehouse%27s+staging+database%3A+creates+the+database%27s+connection+and+makes+it+the+connection%27s+data\u0026amp;theme=ee308efe25f936e82bf32ff5\u0026amp;signature=e3f176974e6f4a5a540a3bd98205b721beb6306c69e6e8e160ba872f594b05be\">\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=\"Create Environment Connection Database - Upsolve AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Give a connection a new database in this environment, such as Warehouse\u0026#x27;s staging database: creates the database\u0026#x27;s connection and makes it the connection\u0026#x27;s database here, in one step. The settings must be of the connection\u0026#x27;s type; test them first. Workspaces built on the connection then query this database for this environment\u0026#x27;s users.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://upsolve.mintlify.app/_mintlify/api/og/v2?division=Connections+%26+environments\u0026amp;title=Create+Environment+Connection+Database\u0026amp;description=Give+a+connection+a+new+database+in+this+environment%2C+such+as+Warehouse%27s+staging+database%3A+creates+the+database%27s+connection+and+makes+it+the+connection%27s+data\u0026amp;theme=ee308efe25f936e82bf32ff5\u0026amp;signature=e3f176974e6f4a5a540a3bd98205b721beb6306c69e6e8e160ba872f594b05be\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/upsolve/294UabaKv711UkJe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Upsolve AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F13470\">\u003cmeta data-mint-head name=\"slack-app-id\" content=\"A0C9DAKJQ49\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/create-environment-connection-database.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.upsolve.ai/#organization\",\"name\":\"Upsolve AI\",\"url\":\"https://docs.upsolve.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/upsolve/2iK7L-lfLcwqCcz_/logo/light_logo.svg?fit=max\u0026auto=format\u0026n=2iK7L-lfLcwqCcz_\u0026q=85\u0026s=e2c715b3dad371be16e683c74655b2a8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.upsolve.ai#website\",\"name\":\"Upsolve AI\",\"url\":\"https://docs.upsolve.ai\",\"publisher\":{\"@id\":\"https://docs.upsolve.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database#webpage\",\"url\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database\",\"name\":\"Create Environment Connection Database\",\"description\":\"Give a connection a new database in this environment, such as Warehouse's staging database: creates the database's connection and makes it the connection's database here, in one step. The settings must be of the connection's type; test them first. Workspaces built on the connection then query this database for this environment's users.\",\"dateModified\":\"2026-10-31T08:05:26.646Z\",\"isPartOf\":{\"@id\":\"https://docs.upsolve.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://docs.upsolve.ai/api-reference/endpoint/create-embed-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connections \u0026 environments\",\"item\":\"https://docs.upsolve.ai/api-reference/endpoint/create-connection\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Environment Connection Database\",\"item\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database#apireference\",\"headline\":\"Create Environment Connection Database\",\"name\":\"Create Environment Connection Database\",\"description\":\"Give a connection a new database in this environment, such as Warehouse's staging database: creates the database's connection and makes it the connection's database here, in one step. The settings must be of the connection's type; test them first. Workspaces built on the connection then query this database for this environment's users.\",\"url\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database\",\"mainEntityOfPage\":{\"@id\":\"https://docs.upsolve.ai/api-reference/endpoint/create-environment-connection-database#webpage\"},\"dateModified\":\"2026-10-31T08:05:26.646Z\",\"publisher\":{\"@id\":\"https://docs.upsolve.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.upsolve.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Upsolve AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Upsolve AI","nav":{"global":{"anchors":[{"anchor":"Impact Studies","href":"https://upsolve.ai/impact-study","icon":"newspaper"},{"anchor":"Security Trust Center","href":"https://trust.upsolve.ai","icon":"shield-halved"},{"anchor":"Community","href":"https://upsolve-ai-community.slack.com/join/shared_invite/zt-2x9oospxx-vv2uDP_20IafkekwCOMi4A#/shared-invite/email","icon":"slack"},{"anchor":"Blog","href":"https://www.upsolve.com/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Analytics Layer","pages":[{"title":"Analytics Layer","href":"/embedded-bi/introduction"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/introduction"}]},{"tab":"Chart Configurations","pages":[{"title":"Chart Configurations","href":"/content/charts/area-line-chart"}]},{"tab":"API Reference","groups":[{"group":"Applications (legacy)","pages":[{"title":"Migrate from v1 to v2","icon":"arrow-right-arrow-left","href":"/api-reference/v2/migrate-from-v1"}]},{"group":"API Documentation","pages":[{"group":"Embedding","pages":[{"title":"Get Embed Token","openapi":"post /v1/api/projects/embed-token","href":"/api-reference/endpoint/create-embed-token"},{"title":"List Project User Roles","openapi":"get /v1/api/projects/{projectId}/user-roles","href":"/api-reference/endpoint/list-project-user-roles"},{"title":"Create Project User Role","openapi":"post /v1/api/projects/{projectId}/user-roles","href":"/api-reference/endpoint/create-project-user-role"},{"title":"Get Project User Role","openapi":"get /v1/api/projects/{projectId}/user-roles/{projectUserRoleId}","href":"/api-reference/endpoint/get-project-user-role"},{"title":"Update Project User Role","openapi":"put /v1/api/projects/{projectId}/user-roles/{projectUserRoleId}","href":"/api-reference/endpoint/update-project-user-role"},{"title":"Delete Project User Role","openapi":"delete /v1/api/projects/{projectId}/user-roles/{projectUserRoleId}","href":"/api-reference/endpoint/delete-project-user-role"},{"title":"Update Project User","openapi":"put /v1/api/projects/{projectId}/users/{projectUserId}","href":"/api-reference/endpoint/update-project-user"},{"title":"Register Project Organization","openapi":"post /v1/api/projects/register-organization","href":"/api-reference/endpoint/register-project-organization"},{"title":"Register Project User","openapi":"post /v1/api/projects/register-user","href":"/api-reference/endpoint/register-project-user"},{"title":"Get Project User Token","openapi":"post /v1/api/projects/user-token","href":"/api-reference/endpoint/get-project-user-token"}]},{"group":"Workspaces","pages":[{"title":"List Workspaces","openapi":"get /v2/api/projects/{projectId}/workspaces","href":"/api-reference/endpoint/list-workspaces"},{"title":"Create Workspace","openapi":"post /v2/api/projects/{projectId}/workspaces","href":"/api-reference/endpoint/create-workspace"},{"title":"Get Workspace","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}","href":"/api-reference/endpoint/get-workspace"},{"title":"Update Workspace","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}","href":"/api-reference/endpoint/update-workspace"},{"title":"Delete Workspace","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}","href":"/api-reference/endpoint/delete-workspace"},{"title":"Duplicate Workspace","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/duplicate","href":"/api-reference/endpoint/duplicate-workspace"},{"title":"Validate Workspace","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/validate","href":"/api-reference/endpoint/validate-workspace"},{"title":"Change Workspace Connection","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/change-connection","href":"/api-reference/endpoint/change-workspace-connection"},{"title":"Get Workspace Affected Entities","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/affected-entities","href":"/api-reference/endpoint/get-workspace-affected-entities"},{"title":"Chat with a Workspace","href":"/api-reference/endpoint/chat-with-agent"}]},{"group":"Workspace draft","pages":[{"title":"Get Draft","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft","href":"/api-reference/endpoint/get-draft"},{"title":"Update Draft","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft","href":"/api-reference/endpoint/update-draft"},{"title":"Discard Draft","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft","href":"/api-reference/endpoint/discard-draft"},{"title":"Get Draft Diff","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/diff","href":"/api-reference/endpoint/get-draft-diff"},{"title":"Check Draft Compatibility","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/compatibility","href":"/api-reference/endpoint/check-draft-compatibility"},{"title":"Get Draft Default View","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/default-view","href":"/api-reference/endpoint/get-draft-default-view"},{"title":"Set Draft Default View","openapi":"put /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/default-view","href":"/api-reference/endpoint/set-draft-default-view"},{"title":"Get Draft Prompts","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/prompts","href":"/api-reference/endpoint/get-draft-prompts"},{"title":"Update Draft Prompts","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/prompts","href":"/api-reference/endpoint/update-draft-prompts"},{"title":"List Draft Skills","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/skills","href":"/api-reference/endpoint/list-draft-skills"},{"title":"Create Draft Skill","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/skills","href":"/api-reference/endpoint/create-draft-skill"},{"title":"Update Draft Skill","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/skills/{skillId}","href":"/api-reference/endpoint/update-draft-skill"},{"title":"Delete Draft Skill","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/skills/{skillId}","href":"/api-reference/endpoint/delete-draft-skill"},{"title":"List Draft Knowledge Base","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base","href":"/api-reference/endpoint/list-draft-knowledge-base"},{"title":"Create Draft Knowledge Base File","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base","href":"/api-reference/endpoint/create-draft-knowledge-base-file"},{"title":"Get Draft Knowledge Base File","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base/{slug}","href":"/api-reference/endpoint/get-draft-knowledge-base-file"},{"title":"Update Draft Knowledge Base File","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base/{slug}","href":"/api-reference/endpoint/update-draft-knowledge-base-file"},{"title":"Delete Draft Knowledge Base File","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base/{slug}","href":"/api-reference/endpoint/delete-draft-knowledge-base-file"},{"title":"List Draft Knowledge Base Tags","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base/tags","href":"/api-reference/endpoint/list-draft-knowledge-base-tags"},{"title":"Create Draft Knowledge Base Tag","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base/tags","href":"/api-reference/endpoint/create-draft-knowledge-base-tag"},{"title":"Delete Draft Knowledge Base Tag","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/knowledge-base/tags/{tagId}","href":"/api-reference/endpoint/delete-draft-knowledge-base-tag"},{"title":"List Draft Metrics","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/metrics","href":"/api-reference/endpoint/list-draft-metrics"},{"title":"Create Draft Metric","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/metrics","href":"/api-reference/endpoint/create-draft-metric"},{"title":"Get Draft Metric","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/metrics/{slug}","href":"/api-reference/endpoint/get-draft-metric"},{"title":"Update Draft Metric","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/metrics/{slug}","href":"/api-reference/endpoint/update-draft-metric"},{"title":"Delete Draft Metric","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/metrics/{slug}","href":"/api-reference/endpoint/delete-draft-metric"},{"title":"Create Draft RLS Rule","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/rls","href":"/api-reference/endpoint/create-draft-rls-rule"},{"title":"Update Draft RLS Rule","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/rls/{ruleId}","href":"/api-reference/endpoint/update-draft-rls-rule"},{"title":"Delete Draft RLS Rule","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/rls/{ruleId}","href":"/api-reference/endpoint/delete-draft-rls-rule"}]},{"group":"Versions \u0026 deployments","pages":[{"title":"Publish Workspace","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/publish","href":"/api-reference/endpoint/publish-workspace"},{"title":"List Versions","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions","href":"/api-reference/endpoint/list-versions"},{"title":"Get Version","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}","href":"/api-reference/endpoint/get-version"},{"title":"Get Version Publish Status","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/publish-status","href":"/api-reference/endpoint/get-version-publish-status"},{"title":"Retry Version Publish","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/publish/retry","href":"/api-reference/endpoint/retry-version-publish"},{"title":"Promote Version","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/promote","href":"/api-reference/endpoint/promote-version"},{"title":"Restore Version","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/restore","href":"/api-reference/endpoint/restore-version"},{"title":"Preview Version Restore","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/restore-preview","href":"/api-reference/endpoint/preview-version-restore"},{"title":"List Version Knowledge Base","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/knowledge-base","href":"/api-reference/endpoint/list-version-knowledge-base"},{"title":"Get Version Knowledge Base File","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/knowledge-base/{slug}","href":"/api-reference/endpoint/get-version-knowledge-base-file"},{"title":"List Version Metrics","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/metrics","href":"/api-reference/endpoint/list-version-metrics"},{"title":"Get Version Metric","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/versions/{version}/metrics/{slug}","href":"/api-reference/endpoint/get-version-metric"},{"title":"List Deployments","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/deployments","href":"/api-reference/endpoint/list-deployments"},{"title":"Get Deployment","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/deployments/{deploymentId}","href":"/api-reference/endpoint/get-deployment"},{"title":"Deploy To Environment","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/environments/{environment}/deployments","href":"/api-reference/endpoint/deploy-to-environment"}]},{"group":"Test cases \u0026 runs","pages":[{"title":"List Test Cases","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-cases","href":"/api-reference/endpoint/list-test-cases"},{"title":"Get Test Case","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-cases/{caseId}","href":"/api-reference/endpoint/get-test-case"},{"title":"Create Test Case","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-cases","href":"/api-reference/endpoint/create-test-case"},{"title":"Replace Test Case","openapi":"put /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-cases","href":"/api-reference/endpoint/replace-test-case"},{"title":"Delete Test Case","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-cases","href":"/api-reference/endpoint/delete-test-case"},{"title":"List Draft Test Cases","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/test-cases","href":"/api-reference/endpoint/list-draft-test-cases"},{"title":"Attach Draft Test Case","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/test-cases","href":"/api-reference/endpoint/attach-draft-test-case"},{"title":"Detach Draft Test Case","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/draft/test-cases/{assetId}","href":"/api-reference/endpoint/detach-draft-test-case"},{"title":"List Test Runs","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-runs","href":"/api-reference/endpoint/list-test-runs"},{"title":"Get Test Run","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-runs/{jobId}","href":"/api-reference/endpoint/get-test-run"},{"title":"Start Test Run","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-runs","href":"/api-reference/endpoint/start-test-run"},{"title":"Cancel Test Run","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/test-runs/{jobId}/cancel","href":"/api-reference/endpoint/cancel-test-run"}]},{"group":"Canvases","pages":[{"title":"List Canvases","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases","href":"/api-reference/endpoint/list-canvases"},{"title":"Create Canvas","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases","href":"/api-reference/endpoint/create-canvas"},{"title":"Rename Canvas","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}","href":"/api-reference/endpoint/rename-canvas"},{"title":"Delete Canvas","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}","href":"/api-reference/endpoint/delete-canvas"},{"title":"Fork Canvas","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/fork","href":"/api-reference/endpoint/fork-canvas"},{"title":"Get Canvas Design","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/design","href":"/api-reference/endpoint/get-canvas-design"},{"title":"Edit Canvas Design","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/design","href":"/api-reference/endpoint/edit-canvas-design"},{"title":"List Canvas Filterable Fields","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/filterable-fields","href":"/api-reference/endpoint/list-canvas-filterable-fields"},{"title":"List Canvas Filters","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/filters","href":"/api-reference/endpoint/list-canvas-filters"},{"title":"Add Canvas Filter","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/filters","href":"/api-reference/endpoint/add-canvas-filter"},{"title":"Update Canvas Filter","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/filters/{filterId}","href":"/api-reference/endpoint/update-canvas-filter"},{"title":"Remove Canvas Filter","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/filters/{filterId}","href":"/api-reference/endpoint/remove-canvas-filter"},{"title":"List Canvas Filter Values","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/filters/values","href":"/api-reference/endpoint/list-canvas-filter-values"},{"title":"Get Canvas Items","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/items","href":"/api-reference/endpoint/get-canvas-items"},{"title":"Add Canvas Item","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/items","href":"/api-reference/endpoint/add-canvas-item"},{"title":"Replace Canvas Items","openapi":"put /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/items","href":"/api-reference/endpoint/replace-canvas-items"},{"title":"Move Canvas Item","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/items/{itemId}","href":"/api-reference/endpoint/move-canvas-item"},{"title":"Remove Canvas Item","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/items/{itemId}","href":"/api-reference/endpoint/remove-canvas-item"},{"title":"Set Canvas Item Chart","openapi":"put /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/items/{itemId}/chart","href":"/api-reference/endpoint/set-canvas-item-chart"},{"title":"Run Canvas Item","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/items/{itemId}/run","href":"/api-reference/endpoint/run-canvas-item"},{"title":"Get Canvas Link","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/link","href":"/api-reference/endpoint/get-canvas-link"},{"title":"Create Canvas Link","openapi":"put /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/link","href":"/api-reference/endpoint/create-canvas-link"},{"title":"Delete Canvas Link","openapi":"delete /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/link","href":"/api-reference/endpoint/delete-canvas-link"},{"title":"Get Canvas Share","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/share","href":"/api-reference/endpoint/get-canvas-share"},{"title":"Update Canvas Share","openapi":"put /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/share","href":"/api-reference/endpoint/update-canvas-share"},{"title":"List Canvas Share People","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/share/people","href":"/api-reference/endpoint/list-canvas-share-people"},{"title":"List Canvas Versions","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/versions","href":"/api-reference/endpoint/list-canvas-versions"},{"title":"Save Canvas Version","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/versions","href":"/api-reference/endpoint/save-canvas-version"},{"title":"Restore Canvas Version","openapi":"post /v2/api/projects/{projectId}/workspaces/{workspaceId}/canvases/{canvasId}/versions/{version}/restore","href":"/api-reference/endpoint/restore-canvas-version"}]},{"group":"Rules","pages":[{"title":"List Rules","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/rules","href":"/api-reference/endpoint/list-rules"},{"title":"List Rule Runs","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/rule-runs","href":"/api-reference/endpoint/list-rule-runs"}]},{"group":"Projects \u0026 users","pages":[{"title":"List Projects","openapi":"get /v1/api/projects","href":"/api-reference/endpoint/list-projects"},{"title":"Get Project","openapi":"get /v1/api/projects/{projectId}","href":"/api-reference/endpoint/get-project"},{"title":"Create Project","openapi":"post /v1/api/projects","href":"/api-reference/endpoint/create-project"},{"title":"Update Project","openapi":"put /v1/api/projects/{projectId}","href":"/api-reference/endpoint/update-project"},{"title":"Delete Project","openapi":"delete /v1/api/projects/{projectId}","href":"/api-reference/endpoint/delete-project"},{"title":"List Project Organizations","openapi":"get /v1/api/projects/{projectId}/organizations","href":"/api-reference/endpoint/list-project-organizations"},{"title":"Get Project Organization","openapi":"get /v1/api/projects/{projectId}/organizations/{projectOrganizationId}","href":"/api-reference/endpoint/get-project-organization"},{"title":"Create Project Organization","openapi":"post /v1/api/projects/{projectId}/organizations","href":"/api-reference/endpoint/create-project-organization"},{"title":"Update Project Organization","openapi":"put /v1/api/projects/{projectId}/organizations/{projectOrganizationId}","href":"/api-reference/endpoint/update-project-organization"},{"title":"Delete Project Organization","openapi":"delete /v1/api/projects/{projectId}/organizations/{projectOrganizationId}","href":"/api-reference/endpoint/delete-project-organization"},{"title":"Move Project Organization Environment","openapi":"post /v1/api/projects/{projectId}/organizations/{projectOrganizationId}/environment","href":"/api-reference/endpoint/move-project-organization-environment"},{"title":"List Project Users","openapi":"get /v1/api/projects/{projectId}/users","href":"/api-reference/endpoint/list-project-users"},{"title":"Get Project User","openapi":"get /v1/api/projects/{projectId}/users/{projectUserId}","href":"/api-reference/endpoint/get-project-user"},{"title":"Delete Project User","openapi":"delete /v1/api/projects/{projectId}/users/{projectUserId}","href":"/api-reference/endpoint/delete-project-user"},{"title":"Move Project User Environment","openapi":"post /v1/api/projects/{projectId}/users/{projectUserId}/environment","href":"/api-reference/endpoint/move-project-user-environment"}]},{"group":"Connections \u0026 environments","pages":[{"title":"Create Connection","openapi":"post /v1/api/connection/create-connection","href":"/api-reference/endpoint/create-connection"},{"title":"Get Connections","openapi":"get /v1/api/connection","href":"/api-reference/endpoint/get-connections"},{"title":"Get Connection","openapi":"get /v1/api/connection/{connectionId}","href":"/api-reference/endpoint/get-connection"},{"title":"Update Connection","openapi":"patch /v1/api/connection","href":"/api-reference/endpoint/update-connection"},{"title":"Delete Connection","openapi":"delete /v1/api/connection","href":"/api-reference/endpoint/delete-connection"},{"title":"Get Connection Affected Data Models","openapi":"get /v1/api/connection/get-affected-data-models","href":"/api-reference/endpoint/get-connection-affected-data-models"},{"title":"Get Enriched Connections","openapi":"get /v1/api/connection/get-enriched-connections","href":"/api-reference/endpoint/get-enriched-connections"},{"title":"Start Connection Metadata Job","openapi":"post /v1/api/connection/compute-metadata-job","href":"/api-reference/endpoint/start-connection-metadata-job"},{"title":"Get Connection Metadata Job","openapi":"get /v1/api/connection/metadata-job/{jobId}","href":"/api-reference/endpoint/get-connection-metadata-job"},{"title":"List Environments","openapi":"get /v2/api/projects/{projectId}/environments","href":"/api-reference/endpoint/list-environments"},{"title":"Create Environment","openapi":"post /v2/api/projects/{projectId}/environments","href":"/api-reference/endpoint/create-environment"},{"title":"Rename Environment","openapi":"patch /v2/api/projects/{projectId}/environments/{environment}","href":"/api-reference/endpoint/rename-environment"},{"title":"Delete Environment","openapi":"delete /v2/api/projects/{projectId}/environments/{environment}","href":"/api-reference/endpoint/delete-environment"},{"title":"Map Environment Connection","openapi":"put /v2/api/projects/{projectId}/environments/{environment}/connections/{sourceConnectionId}","href":"/api-reference/endpoint/map-environment-connection"},{"title":"Remove Environment Connection","openapi":"delete /v2/api/projects/{projectId}/environments/{environment}/connections/{sourceConnectionId}","description":"Remove a connection mapping. Requests from this environment on that connection are refused until it is mapped again; they never fall back to production.","href":"/api-reference/endpoint/remove-environment-connection"},{"title":"Create Environment Connection Database","openapi":"post /v2/api/projects/{projectId}/environments/{environment}/connections/{sourceConnectionId}/database","href":"/api-reference/endpoint/create-environment-connection-database"},{"title":"Check Environment Connection Compatibility","openapi":"get /v2/api/projects/{projectId}/environments/{environment}/connections/{sourceConnectionId}/compatibility","description":"Check a connection's database in this environment against the workspaces built on the connection: for each, the tables and columns its served version uses that the database lacks. Reads stored catalogs only; refresh the database's catalog first for an up-to-date answer.","href":"/api-reference/endpoint/check-environment-connection-compatibility"},{"title":"List Workspace Environments","openapi":"get /v2/api/projects/{projectId}/workspaces/{workspaceId}/environments","href":"/api-reference/endpoint/list-workspace-environments"},{"title":"Set Workspace Environment","openapi":"patch /v2/api/projects/{projectId}/workspaces/{workspaceId}/environments/{environment}","href":"/api-reference/endpoint/set-workspace-environment"}]},{"group":"Dashboard Sync (.ucf)","pages":[{"title":"Overview","href":"/api-reference/endpoint/dashboard-sync-overview"},{"title":"Import Dashboards (.ucf)","openapi":"post /v1/api/ucf/dashboards/import","href":"/api-reference/endpoint/import-dashboards-ucf"}]}]}]},{"tab":"SQL Reference","pages":[{"title":"SQL Reference","href":"/sql/introduction"}]},{"tab":"Demo","pages":[{"title":"Demo","href":"/demo/product-walkthrough"}]}]},"basePath":"","title":"Create Environment Connection Database - Upsolve AI","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}