Lightdash Organization Warehouse Credentials API

The Organization Warehouse Credentials API from Lightdash — 2 operation(s) for organization warehouse credentials.

Operations 5

GET /api/v1/org/warehouse-credentials List warehouse credentials #
POST /api/v1/org/warehouse-credentials Create warehouse credentials #
GET /api/v1/org/warehouse-credentials/{credentialsUuid} Get warehouse credential #
PATCH /api/v1/org/warehouse-credentials/{credentialsUuid} Update warehouse credentials #
DELETE /api/v1/org/warehouse-credentials/{credentialsUuid} Delete warehouse credentials #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lightdash-organization-warehouse-credentials-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lightdash-organization-warehouse-credentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lightdash AiAgents Organization Warehouse Credentials API
  version: 0.3156.1
  description: 'Open API documentation for all public Lightdash API endpoints. # Authentication Before you get started, you might need to create a Personal Access Token to authenticate via the API. You can create a token by following this guide: https://docs.lightdash.com/references/personal_tokens

    '
  license:
    name: MIT
  contact:
    name: Lightdash Support
    email: support@lightdash.com
    url: https://docs.lightdash.com/help-and-contact/contact/contact_info/
servers:
- url: /
tags:
- name: Organization Warehouse Credentials
paths:
  /api/v1/org/warehouse-credentials:
    get:
      operationId: ListOrganizationWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/ApiOrganizationWarehouseCredentialsListResponse'
                - $ref: '#/components/schemas/ApiOrganizationWarehouseCredentialsSummaryListResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Get all warehouse credentials for the current organization
      summary: List warehouse credentials
      tags:
      - Organization Warehouse Credentials
      security: []
      parameters:
      - description: If true, returns only summaries (name, type) accessible to all members. If false/undefined, returns full credentials requiring manage permission.
        in: query
        name: summary
        required: false
        schema:
          type: boolean
    post:
      operationId: CreateOrganizationWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiOrganizationWarehouseCredentialsResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Create new warehouse credentials for the organization
      summary: Create warehouse credentials
      tags:
      - Organization Warehouse Credentials
      security: []
      parameters: []
      requestBody:
        description: the warehouse credentials to create
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrganizationWarehouseCredentials'
              description: the warehouse credentials to create
  /api/v1/org/warehouse-credentials/{credentialsUuid}:
    get:
      operationId: GetOrganizationWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiOrganizationWarehouseCredentialsResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Get a specific warehouse credential by UUID
      summary: Get warehouse credential
      tags:
      - Organization Warehouse Credentials
      security: []
      parameters:
      - description: the UUID of the warehouse credentials
        in: path
        name: credentialsUuid
        required: true
        schema:
          type: string
    patch:
      operationId: UpdateOrganizationWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiOrganizationWarehouseCredentialsResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Update existing warehouse credentials
      summary: Update warehouse credentials
      tags:
      - Organization Warehouse Credentials
      security: []
      parameters:
      - description: the UUID of the warehouse credentials to update
        in: path
        name: credentialsUuid
        required: true
        schema:
          type: string
      requestBody:
        description: the updated warehouse credentials
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrganizationWarehouseCredentials'
              description: the updated warehouse credentials
    delete:
      operationId: DeleteOrganizationWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessEmpty'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Delete warehouse credentials
      summary: Delete warehouse credentials
      tags:
      - Organization Warehouse Credentials
      security: []
      parameters:
      - description: the UUID of the warehouse credentials to delete
        in: path
        name: credentialsUuid
        required: true
        schema:
          type: string
components:
  schemas:
    CreatePostgresCredentials:
      allOf:
      - $ref: '#/components/schemas/SshTunnelConfiguration'
      - $ref: '#/components/schemas/SslConfiguration'
      - properties:
          timeoutSeconds:
            type: number
            format: double
          dataTimezone:
            type: string
          startOfWeek:
            allOf:
            - $ref: '#/components/schemas/WeekDay'
          role:
            type: string
          searchPath:
            type: string
          keepalivesIdle:
            type: number
            format: double
          threads:
            type: number
            format: double
          schema:
            type: string
          dbname:
            type: string
          port:
            type: number
            format: double
          requireUserCredentials:
            type: boolean
          password:
            type: string
          user:
            type: string
          host:
            type: string
          type:
            $ref: '#/components/schemas/WarehouseTypes.POSTGRES'
        required:
        - schema
        - dbname
        - port
        - password
        - user
        - host
        - type
        type: object
    Pick_CreateDucklakeDataPathAzure.Exclude_keyofCreateDucklakeDataPathAzure.connectionString-or-accountKey__:
      properties:
        type:
          $ref: '#/components/schemas/DucklakeDataPathType.AZURE'
        url:
          type: string
        accountName:
          type: string
      required:
      - type
      - url
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    Omit_CreateSnowflakeCredentials.SensitiveCredentialsFieldNames_:
      $ref: '#/components/schemas/Pick_CreateSnowflakeCredentials.Exclude_keyofCreateSnowflakeCredentials.SensitiveCredentialsFieldNames__'
      description: Construct a type with the properties of T except for those in type K.
    DucklakeDataPathType.AZURE:
      enum:
      - azure
      type: string
    CreateDucklakeCatalogSqlite:
      properties:
        path:
          type: string
        type:
          $ref: '#/components/schemas/DucklakeCatalogType.SQLITE'
      required:
      - path
      - type
      type: object
    WarehouseTypes.SNOWFLAKE:
      enum:
      - snowflake
      type: string
    Pick_OrganizationWarehouseCredentials.organizationWarehouseCredentialsUuid-or-name-or-description-or-warehouseType_:
      properties:
        description:
          type:
          - string
          - 'null'
        name:
          type: string
        organizationWarehouseCredentialsUuid:
          type: string
        warehouseType:
          $ref: '#/components/schemas/WarehouseTypes'
      required:
      - description
      - name
      - organizationWarehouseCredentialsUuid
      - warehouseType
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    UpdateOrganizationWarehouseCredentials:
      properties:
        credentials:
          $ref: '#/components/schemas/CreateWarehouseCredentials'
        description:
          type:
          - string
          - 'null'
        name:
          type: string
      type: object
    DucklakeCatalogType.POSTGRES:
      enum:
      - postgres
      type: string
    BigqueryCredentials:
      $ref: '#/components/schemas/Omit_CreateBigqueryCredentials.SensitiveCredentialsFieldNames_'
    CreateDucklakeDataPathS3:
      properties:
        useSsl:
          type: boolean
        forcePathStyle:
          type: boolean
        secretAccessKey:
          type: string
        accessKeyId:
          type: string
        region:
          type: string
        endpoint:
          type: string
        url:
          type: string
        type:
          $ref: '#/components/schemas/DucklakeDataPathType.S3'
      required:
      - url
      - type
      type: object
    DucklakeDataPathGcs:
      $ref: '#/components/schemas/Omit_CreateDucklakeDataPathGcs.hmacKeyId-or-hmacSecret_'
    WarehouseTypes.REDSHIFT:
      enum:
      - redshift
      type: string
    RedshiftCredentials:
      $ref: '#/components/schemas/Omit_CreateRedshiftCredentials.SensitiveCredentialsFieldNames_'
    Record_string.string_:
      properties: {}
      additionalProperties:
        type: string
      type: object
      description: Construct a type with a set of properties K of type T
    CreateTrinoCredentials:
      properties:
        dataTimezone:
          type: string
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        source:
          type: string
        http_scheme:
          type: string
        schema:
          type: string
        dbname:
          type: string
        port:
          type: number
          format: double
        requireUserCredentials:
          type: boolean
        password:
          type: string
        user:
          type: string
        host:
          type: string
        type:
          $ref: '#/components/schemas/WarehouseTypes.TRINO'
      required:
      - http_scheme
      - schema
      - dbname
      - port
      - password
      - user
      - host
      - type
      type: object
    AnyType:
      description: 'This AnyType is an alias for any

        The goal is to make it easier to identify any type in the codebase

        without having to eslint-disable all the time

        These are only used on legacy `any` types, don''t use it for new types.

        This is added on a separate file to avoid circular dependencies.'
    Omit_CreateDucklakeDataPathAzure.connectionString-or-accountKey_:
      $ref: '#/components/schemas/Pick_CreateDucklakeDataPathAzure.Exclude_keyofCreateDucklakeDataPathAzure.connectionString-or-accountKey__'
      description: Construct a type with the properties of T except for those in type K.
    CreateDucklakeDataPath:
      anyOf:
      - $ref: '#/components/schemas/CreateDucklakeDataPathS3'
      - $ref: '#/components/schemas/CreateDucklakeDataPathGcs'
      - $ref: '#/components/schemas/CreateDucklakeDataPathAzure'
      - $ref: '#/components/schemas/CreateDucklakeDataPathLocal'
    DuckdbConnectionType.DUCKLAKE:
      enum:
      - ducklake
      type: string
    DucklakeCatalogDuckdb:
      $ref: '#/components/schemas/CreateDucklakeCatalogDuckdb'
    CreateRedshiftCredentials:
      allOf:
      - $ref: '#/components/schemas/SshTunnelConfiguration'
      - properties:
          timeoutSeconds:
            type: number
            format: double
          dataTimezone:
            type: string
          startOfWeek:
            allOf:
            - $ref: '#/components/schemas/WeekDay'
          ra3Node:
            type: boolean
          sslmode:
            type: string
          keepalivesIdle:
            type: number
            format: double
          threads:
            type: number
            format: double
          schema:
            type: string
          dbname:
            type: string
          port:
            type: number
            format: double
          requireUserCredentials:
            type: boolean
          password:
            type: string
          user:
            type: string
          host:
            type: string
          type:
            $ref: '#/components/schemas/WarehouseTypes.REDSHIFT'
        required:
        - schema
        - dbname
        - port
        - password
        - user
        - host
        - type
        type: object
    CreateDucklakeDataPathGcs:
      properties:
        hmacSecret:
          type: string
        hmacKeyId:
          type: string
        url:
          type: string
        type:
          $ref: '#/components/schemas/DucklakeDataPathType.GCS'
      required:
      - url
      - type
      type: object
    WeekDay:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      type: number
    SslConfiguration:
      properties:
        sslrootcert:
          type:
          - string
          - 'null'
        sslrootcertFileName:
          type: string
        sslkey:
          type:
          - string
          - 'null'
        sslkeyFileName:
          type: string
        sslcert:
          type:
          - string
          - 'null'
        sslcertFileName:
          type: string
        sslmode:
          type: string
      type: object
    Pick_CreateDucklakeCatalogPostgres.Exclude_keyofCreateDucklakeCatalogPostgres.user-or-password__:
      properties:
        type:
          $ref: '#/components/schemas/DucklakeCatalogType.POSTGRES'
        database:
          type: string
        host:
          type: string
        port:
          type: number
          format: double
      required:
      - type
      - database
      - host
      - port
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    ClickhouseCredentials:
      $ref: '#/components/schemas/Omit_CreateClickhouseCredentials.SensitiveCredentialsFieldNames_'
    AthenaCredentials:
      $ref: '#/components/schemas/Omit_CreateAthenaCredentials.SensitiveCredentialsFieldNames_'
    Pick_CreateDuckdbDucklakeCredentials.Exclude_keyofCreateDuckdbDucklakeCredentials.catalog-or-dataPath__:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.DUCKDB'
        requireUserCredentials:
          type: boolean
        schema:
          type: string
        threads:
          type: number
          format: double
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        dataTimezone:
          type: string
        connectionType:
          $ref: '#/components/schemas/DuckdbConnectionType.DUCKLAKE'
        catalogAlias:
          type: string
      required:
      - type
      - schema
      - connectionType
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    Omit_CreateDatabricksCredentials.SensitiveCredentialsFieldNames_:
      $ref: '#/components/schemas/Pick_CreateDatabricksCredentials.Exclude_keyofCreateDatabricksCredentials.SensitiveCredentialsFieldNames__'
      description: Construct a type with the properties of T except for those in type K.
    Omit_CreateTrinoCredentials.SensitiveCredentialsFieldNames_:
      $ref: '#/components/schemas/Pick_CreateTrinoCredentials.Exclude_keyofCreateTrinoCredentials.SensitiveCredentialsFieldNames__'
      description: Construct a type with the properties of T except for those in type K.
    ApiOrganizationWarehouseCredentialsResponse:
      properties:
        results:
          $ref: '#/components/schemas/OrganizationWarehouseCredentials'
        status:
          type: string
          enum:
          - ok
      required:
      - results
      - status
      type: object
    Pick_CreateDuckdbMotherduckCredentials.Exclude_keyofCreateDuckdbMotherduckCredentials.SensitiveCredentialsFieldNames__:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.DUCKDB'
        requireUserCredentials:
          type: boolean
        database:
          type: string
        schema:
          type: string
        threads:
          type: number
          format: double
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        dataTimezone:
          type: string
        connectionType:
          $ref: '#/components/schemas/DuckdbConnectionType.MOTHERDUCK'
      required:
      - type
      - database
      - schema
      - connectionType
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    Pick_CreateClickhouseCredentials.Exclude_keyofCreateClickhouseCredentials.SensitiveCredentialsFieldNames__:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.CLICKHOUSE'
        requireUserCredentials:
          type: boolean
        schema:
          type: string
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        dataTimezone:
          type: string
        timeoutSeconds:
          type: number
          format: double
        host:
          type: string
        port:
          type: number
          format: double
        secure:
          type: boolean
      required:
      - type
      - schema
      - host
      - port
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    DuckdbCredentials:
      anyOf:
      - $ref: '#/components/schemas/DuckdbMotherduckCredentials'
      - $ref: '#/components/schemas/DuckdbDucklakeCredentials'
    Omit_CreateRedshiftCredentials.SensitiveCredentialsFieldNames_:
      $ref: '#/components/schemas/Pick_CreateRedshiftCredentials.Exclude_keyofCreateRedshiftCredentials.SensitiveCredentialsFieldNames__'
      description: Construct a type with the properties of T except for those in type K.
    WarehouseTypes.TRINO:
      enum:
      - trino
      type: string
    AthenaAuthenticationType:
      enum:
      - access_key
      - iam_role
      type: string
    Omit_CreateAthenaCredentials.SensitiveCredentialsFieldNames_:
      $ref: '#/components/schemas/Pick_CreateAthenaCredentials.Exclude_keyofCreateAthenaCredentials.SensitiveCredentialsFieldNames__'
      description: Construct a type with the properties of T except for those in type K.
    WarehouseTypes:
      enum:
      - bigquery
      - postgres
      - redshift
      - snowflake
      - databricks
      - trino
      - clickhouse
      - athena
      - duckdb
      type: string
    CreateDucklakeCatalogPostgres:
      properties:
        password:
          type: string
        user:
          type: string
        database:
          type: string
        port:
          type: number
          format: double
        host:
          type: string
        type:
          $ref: '#/components/schemas/DucklakeCatalogType.POSTGRES'
      required:
      - password
      - user
      - database
      - port
      - host
      - type
      type: object
    DuckdbMotherduckCredentials:
      $ref: '#/components/schemas/Omit_CreateDuckdbMotherduckCredentials.SensitiveCredentialsFieldNames_'
    DucklakeDataPathType.GCS:
      enum:
      - gcs
      type: string
    Omit_CreateDuckdbDucklakeCredentials.catalog-or-dataPath_:
      $ref: '#/components/schemas/Pick_CreateDuckdbDucklakeCredentials.Exclude_keyofCreateDuckdbDucklakeCredentials.catalog-or-dataPath__'
      description: Construct a type with the properties of T except for those in type K.
    DucklakeDataPathLocal:
      $ref: '#/components/schemas/CreateDucklakeDataPathLocal'
    DucklakeDataPathType.LOCAL:
      enum:
      - local
      type: string
    WarehouseTypes.DATABRICKS:
      enum:
      - databricks
      type: string
    Pick_CreateDucklakeDataPathS3.Exclude_keyofCreateDucklakeDataPathS3.accessKeyId-or-secretAccessKey__:
      properties:
        type:
          $ref: '#/components/schemas/DucklakeDataPathType.S3'
        region:
          type: string
        url:
          type: string
        endpoint:
          type: string
        forcePathStyle:
          type: boolean
        useSsl:
          type: boolean
      required:
      - type
      - url
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    ApiErrorPayload:
      properties:
        error:
          properties:
            data:
              $ref: '#/components/schemas/AnyType'
              description: Optional data containing details of the error
            message:
              type: string
              description: A friendly message summarising the error
            name:
              type: string
              description: Unique name for the type of error
            statusCode:
              type: number
              format: integer
              description: HTTP status code
          required:
          - name
          - statusCode
          type: object
        status:
          type: string
          enum:
          - error
      required:
      - error
      - status
      type: object
      description: 'The Error object is returned from the api any time there is an error.

        The message contains'
    Pick_CreateAthenaCredentials.Exclude_keyofCreateAthenaCredentials.SensitiveCredentialsFieldNames__:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.ATHENA'
        requireUserCredentials:
          type: boolean
        authenticationType:
          $ref: '#/components/schemas/AthenaAuthenticationType'
        database:
          type: string
        schema:
          type: string
        threads:
          type: number
          format: double
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        dataTimezone:
          type: string
        region:
          type: string
        s3StagingDir:
          type: string
        s3DataDir:
          type: string
        assumeRoleArn:
          type: string
        assumeRoleExternalId:
          type: string
        workGroup:
          type: string
        numRetries:
          type: number
          format: double
      required:
      - type
      - database
      - schema
      - region
      - s3StagingDir
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    OrganizationWarehouseCredentialsSummary:
      $ref: '#/components/schemas/Pick_OrganizationWarehouseCredentials.organizationWarehouseCredentialsUuid-or-name-or-description-or-warehouseType_'
    WarehouseTypes.BIGQUERY:
      enum:
      - bigquery
      type: string
    DuckdbDucklakeCredentials:
      allOf:
      - $ref: '#/components/schemas/Omit_CreateDuckdbDucklakeCredentials.catalog-or-dataPath_'
      - properties:
          dataPath:
            $ref: '#/components/schemas/DucklakeDataPath'
          catalog:
            $ref: '#/components/schemas/DucklakeCatalog'
        required:
        - dataPath
        - catalog
        type: object
    CreateOrganizationWarehouseCredentials:
      properties:
        credentials:
          $ref: '#/components/schemas/CreateWarehouseCredentials'
        description:
          type:
          - string
          - 'null'
        name:
          type: string
      required:
      - credentials
      - name
      type: object
    CreateDuckdbCredentials:
      anyOf:
      - $ref: '#/components/schemas/CreateDuckdbMotherduckCredentials'
      - $ref: '#/components/schemas/CreateDuckdbDucklakeCredentials'
    DucklakeDataPathAzure:
      $ref: '#/components/schemas/Omit_CreateDucklakeDataPathAzure.connectionString-or-accountKey_'
    WarehouseTypes.DUCKDB:
      enum:
      - duckdb
      type: string
    BigqueryAuthenticationType:
      enum:
      - sso
      - private_key
      - adc
      type: string
    CreateDuckdbDucklakeCredentials:
      properties:
        dataTimezone:
          type: string
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        requireUserCredentials:
          type: boolean
        threads:
          type: number
          format: double
        catalogAlias:
          type: string
        schema:
          type: string
        dataPath:
          $ref: '#/components/schemas/CreateDucklakeDataPath'
        catalog:
          $ref: '#/components/schemas/CreateDucklakeCatalog'
        connectionType:
          $ref: '#/components/schemas/DuckdbConnectionType.DUCKLAKE'
        type:
          $ref: '#/components/schemas/WarehouseTypes.DUCKDB'
      required:
      - schema
      - dataPath
      - catalog
      - connectionType
      - type
      type: object
    DucklakeCatalogType.DUCKDB:
      enum:
      - duckdb
      type: string
    Pick_CreateBigqueryCredentials.Exclude_keyofCreateBigqueryCredentials.SensitiveCredentialsFieldNames__:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.BIGQUERY'
        requireUserCredentials:
          type: boolean
        authenticationType:
          $ref: '#/components/schemas/BigqueryAuthenticationType'
        threads:
          type: number
          format: double
        accessUrl:
          type: string
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        dataTimezone:
          type: string
        timeoutSeconds:
          type: number
          format: double
        project:
          type: string
        dataset:
          type: string
        priority:
          type: string
          enum:
          - interactive
          - batch
        retries:
          type: number
          format: double
        location:
          type: string
        maximumBytesBilled:
          type: number
          format: double
        executionProject:
          type: string
      required:
      - type
      - project
      - dataset
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    CreateDatabricksCredentials:
      properties:
        compute:
          items:
            properties:
              httpPath:
                type: string
              name:
                type: string
            required:
            - httpPath
            - name
            type: object
          type: array
        dataTimezone:
          type: string
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        requireUserCredentials:
          type: boolean
        oauthClientSecret:
          type: string
        oauthClientId:
          type: string
        token:
          type: string
        refreshToken:
          type: string
        personalAccessToken:
          type: string
        authenticationType:
          $ref: '#/components/schemas/DatabricksAuthenticationType'
        httpPath:
          type: string
        serverHostName:
          type: string
        database:
          type: string
        catalog:
          type: string
        type:
          $ref: '#/components/schemas/WarehouseTypes.DATABRICKS'
      required:
      - httpPath
      - serverHostName
      - database
      - type
      type: object
    DucklakeCatalogSqlite:
      $ref: '#/components/schemas/CreateDucklakeCatalogSqlite'
    DatabricksCredentials:
      $ref: '#/components/schemas/Omit_CreateDatabricksCredentials.SensitiveCredentialsFieldNames_'
    Pick_CreateDucklakeDataPathGcs.Exclude_keyofCreateDucklakeDataPathGcs.hmacKeyId-or-hmacSecret__:
      properties:
        type:
          $ref: '#/components/schemas/DucklakeDataPathType.GCS'
        url:
          type: string
      required:
      - type
      - url
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    CreateWarehouseCredentials:
      anyOf:
      - $ref: '#/components/schemas/CreateRedshiftCredentials'
      - $ref: '#/components/schemas/CreateBigqueryCredentials'
      - $ref: '#/components/schemas/CreatePostgresCredentials'
      - $ref: '#/components/schemas/CreateSnowflakeCredentials'
      - $ref: '#/components/schemas/CreateDatabricksCredentials'
      - $ref: '#/components/schemas/CreateTrinoCredentials'
      - $ref: '#/components/schemas/CreateClickhouseCredentials'
      - $ref: '#/components/schemas/CreateAthenaCredentials'
      - $ref: '#/components/schemas/CreateDuckdbCredentials'
    Omit_CreateDucklakeDataPathGcs.hmacKeyId-or-hmacSecret_:
      $ref: '#/components/schemas/Pick_CreateDucklakeDataPathGcs.Exclude_keyofCreateDucklakeDataPathGcs.hmacKeyId-or-hmacSecret__'
      description: Construct a type with the properties of T except for those in type K.
    Omit_CreateDuckdbMotherduckCredentials.SensitiveCredentialsFieldNames_:
      $ref: '#/components/schemas/Pick_CreateDuckdbMotherduckCredentials.Exclude_keyofCreateDuckdbMotherduckCredentials.SensitiveCredentialsFieldNames__'
      description: Construct a type with the properties of T except for those in type K.
    TrinoCredentials:
      $ref: '#/components/schemas/Omit_CreateTrinoCredentials.SensitiveCredentialsFieldNames_'
    Pick_CreateSnowflakeCredentials.Exclude_keyofCreateSnowflakeCredentials.SensitiveCredentialsFieldNames__:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.SNOWFLAKE'
        account:
          type: string
        requireUserCredentials:
          type: boolean
        authenticationType:
          $ref: '#/components/schemas/SnowflakeAuthenticationType'
        role:
          type: string
        database:
          type: string
        warehouse:
          type: string
        schema:
          type: string
        threads:
          type: number
          format: double
        clientSessionKeepAlive:
          type: boolean
        queryTag:
          type: string
        accessUrl:
          type: string
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        dataTimezone:
          type: string
        quotedIdentifiersIgnoreCase:
          type: boolean
        disableTimestampConversion:
          type: boolean
        timeoutSeconds:
          type: number
          format: double
        override:
          type: boolean
        organizationWarehouseCredentialsUuid:
          type: string
      required:
      - type
      - account
      - database
      - warehouse
      - schema
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    CreateDucklakeCatalogDuckdb:
      properties:
        path:
          type: string
        type:
          $ref: '#/components/schemas/DucklakeCatalogType.DUCKDB'
      required:
      - path
      - type
      type: object
    CreateBigqueryCredentials:
      properties:
        accessUrl:
          type: string
        executionProject:
          type: string
        dataTimezone:
          type: string
        startOfWeek:
          allOf:
          - $ref: '#/components/schemas/WeekDay'
        maximumBytesBilled:
          type: number
          format: double
        location:
          type: string
        retries:
          type: number
          format: double
        requireUserCredentials:
          type: boolean
        keyfileContents:
          $ref: '#/components/schemas/Record_string.string_'
        authenticationType:
          $ref: '#/components/schemas/BigqueryAuthenticationType'
        priority:
          type: string
          enum:
          - interactive
          - batch
        timeoutSeconds:
          type: number
          format: double
        threads:
          type: number
          format: double
        dataset:
          type: string
        project:
          type: string
        type:
          $ref: '#/components/schemas/WarehouseTypes.BIGQUERY'
      required:
      - keyfileContents
      - dataset
      - project
      - type
      type: object
    DucklakeCatalogType.SQLITE:
      enum:
      - sqlite
      type: string
    CreateAthenaCredentials:
      properties:
        dataTimezone:
          type: string
        startOfWeek:
          allOf:
 

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/openapi/lightdash-organization-warehouse-credentials-api-openapi.yml