Lightdash My Account API

These routes allow users to manage their own user account.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

lightdash-my-account-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Lightdash AiAgents My Account 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: My Account
  description: These routes allow users to manage their own user account.
paths:
  /api/v1/user:
    get:
      operationId: GetAuthenticatedUser
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiGetAuthenticatedUserResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Get authenticated user
      summary: Get authenticated user
      tags:
      - My Account
      security: []
      parameters: []
    post:
      operationId: RegisterUser
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiRegisterUserResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Register user
      summary: Register user
      tags:
      - My Account
      security: []
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterOrActivateUser'
  /api/v1/user/me/email/otp:
    put:
      operationId: CreateEmailOneTimePasscode
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEmailStatusResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: 'Create a new one-time passcode for the current user''s primary email.

        The user will receive an email with the passcode.'
      summary: Create email one-time passcode
      tags:
      - My Account
      security: []
      parameters: []
  /api/v1/user/me/email/status:
    get:
      operationId: GetEmailVerificationStatus
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEmailStatusResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Get the verification status for the current user's primary email
      summary: Get email verification status
      tags:
      - My Account
      security: []
      parameters:
      - description: the one-time passcode sent to the user's primary email
        in: query
        name: passcode
        required: false
        schema:
          type: string
  /api/v1/user/me/allowedOrganizations:
    get:
      operationId: ListMyAvailableOrganizations
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiUserAllowedOrganizationsResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: 'List the organizations that the current user can join.

        This is based on the user''s primary email domain and the organization''s allowed email domains.'
      summary: List available organizations
      tags:
      - My Account
      security: []
      parameters: []
  /api/v1/user/me/joinOrganization/{organizationUuid}:
    post:
      operationId: JoinOrganization
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessEmpty'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: 'Add the current user to an organization that accepts users with a verified email domain.

        This will fail if the organization email domain does not match the user''s primary email domain.'
      summary: Join organization
      tags:
      - My Account
      security: []
      parameters:
      - description: the uuid of the organization to join
        in: path
        name: organizationUuid
        required: true
        schema:
          type: string
  /api/v1/user/me/leaveOrganization:
    delete:
      operationId: LeaveOrganization
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessEmpty'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: 'Remove the current user from their organization. Fails if the caller is

        the only admin remaining. The user record is preserved so they can join

        another organization later.'
      summary: Leave organization
      tags:
      - My Account
      security: []
      parameters: []
  /api/v1/user/me:
    delete:
      operationId: DeleteMe
      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 user
      summary: Delete user
      tags:
      - My Account
      security: []
      parameters: []
  /api/v1/user/warehouseCredentials:
    get:
      operationId: getWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                properties:
                  results:
                    items:
                      $ref: '#/components/schemas/UserWarehouseCredentials'
                    type: array
                  status:
                    type: string
                    enum:
                    - ok
                    nullable: false
                required:
                - results
                - status
                type: object
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Get user warehouse credentials
      summary: List warehouse credentials
      tags:
      - My Account
      security: []
      parameters: []
    post:
      operationId: createWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                properties:
                  results:
                    $ref: '#/components/schemas/UserWarehouseCredentials'
                  status:
                    type: string
                    enum:
                    - ok
                    nullable: false
                required:
                - results
                - status
                type: object
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Create user warehouse credentials
      summary: Create warehouse credentials
      tags:
      - My Account
      security: []
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertUserWarehouseCredentials'
  /api/v1/user/warehouseCredentials/{uuid}:
    patch:
      operationId: updateWarehouseCredentials
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                properties:
                  results:
                    $ref: '#/components/schemas/UserWarehouseCredentials'
                  status:
                    type: string
                    enum:
                    - ok
                    nullable: false
                required:
                - results
                - status
                type: object
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Update user warehouse credentials
      summary: Update warehouse credentials
      tags:
      - My Account
      security: []
      parameters:
      - in: path
        name: uuid
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertUserWarehouseCredentials'
    delete:
      operationId: deleteWarehouseCredentials
      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 user warehouse credentials
      summary: Delete warehouse credentials
      tags:
      - My Account
      security: []
      parameters:
      - in: path
        name: uuid
        required: true
        schema:
          type: string
  /api/v1/user/login-options:
    get:
      operationId: getLoginOptions
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiGetLoginOptionsResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Get login options
      summary: Get login options
      tags:
      - My Account
      security: []
      parameters:
      - in: query
        name: email
        required: false
        schema:
          type: string
  /api/v1/user/me/personal-access-tokens:
    get:
      operationId: Get personal access tokens
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  results:
                    items:
                      $ref: '#/components/schemas/PersonalAccessToken'
                    type: array
                  status:
                    type: string
                    enum:
                    - ok
                    nullable: false
                required:
                - results
                - status
                type: object
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: List personal access tokens
      summary: List personal access tokens
      tags:
      - My Account
      security: []
      parameters: []
    post:
      operationId: Create personal access token
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  results:
                    $ref: '#/components/schemas/PersonalAccessTokenWithToken'
                  status:
                    type: string
                    enum:
                    - ok
                    nullable: false
                required:
                - results
                - status
                type: object
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Create personal access token
      summary: Create personal access token
      tags:
      - My Account
      security: []
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePersonalAccessToken'
  /api/v1/user/me/personal-access-tokens/{personalAccessTokenUuid}:
    delete:
      operationId: Delete personal access token
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessEmpty'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Delete personal access token
      summary: Delete personal access token
      tags:
      - My Account
      security: []
      parameters:
      - in: path
        name: personalAccessTokenUuid
        required: true
        schema:
          type: string
  /api/v1/user/me/personal-access-tokens/{personalAccessTokenUuid}/rotate:
    patch:
      operationId: Rotate personal access token
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                properties:
                  results:
                    $ref: '#/components/schemas/PersonalAccessTokenWithToken'
                  status:
                    type: string
                    enum:
                    - ok
                    nullable: false
                required:
                - results
                - status
                type: object
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Rotate personal access token
      summary: Rotate personal access token
      tags:
      - My Account
      security: []
      parameters:
      - in: path
        name: personalAccessTokenUuid
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              properties:
                expiresAt:
                  type: string
                  format: date-time
              required:
              - expiresAt
              type: object
  /api/v1/user/account:
    get:
      operationId: GetAccount
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiGetAccountResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorPayload'
      description: Get account information
      summary: Get account
      tags:
      - My Account
      security: []
      parameters: []
components:
  schemas:
    Pick_CreateAthenaCredentials.type_:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.ATHENA'
      required:
      - type
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    OrganizationMemberRole:
      enum:
      - member
      - viewer
      - interactive_viewer
      - editor
      - developer
      - admin
      type: string
    SessionAuth:
      properties:
        source:
          type: string
        type:
          type: string
          enum:
          - session
          nullable: false
      required:
      - source
      - type
      type: object
    LoginOptions:
      properties:
        redirectUri:
          type: string
        forceRedirect:
          type: boolean
        showOptions:
          items:
            $ref: '#/components/schemas/LoginOptionTypes'
          type: array
      required:
      - showOptions
      type: object
    Pick_CreateDuckdbCredentials.type_:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.DUCKDB'
      required:
      - type
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    Pick_CreateBigqueryCredentials.type-or-keyfileContents-or-authenticationType_:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.BIGQUERY'
        keyfileContents:
          $ref: '#/components/schemas/Record_string.string_'
        authenticationType:
          $ref: '#/components/schemas/BigqueryAuthenticationType'
      required:
      - type
      - keyfileContents
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    Partial_Pick_CreateDatabricksCredentials.database-or-serverHostName-or-httpPath-or-oauthClientId__:
      properties:
        oauthClientId:
          type: string
        database:
          type: string
        serverHostName:
          type: string
        httpPath:
          type: string
      type: object
      description: Make all properties in T optional
    EmailStatus:
      properties:
        otp:
          $ref: '#/components/schemas/EmailOneTimePassword'
        isVerified:
          type: boolean
        email:
          type: string
      required:
      - isVerified
      - email
      type: object
    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
          nullable: false
      required:
      - error
      - status
      type: object
      description: 'The Error object is returned from the api any time there is an error.

        The message contains'
    OauthAuth:
      properties:
        resource:
          $ref: '#/components/schemas/url.URL'
        expiresAt:
          type: number
          format: double
        scopes:
          items:
            type: string
          type: array
        clientId:
          type: string
        token:
          type: string
        source:
          type: string
        type:
          type: string
          enum:
          - oauth
          nullable: false
      required:
      - scopes
      - clientId
      - token
      - source
      - type
      type: object
    Pick_Account.Exclude_keyofAccount.user-or-keyofAccountHelpers__:
      properties:
        organization:
          $ref: '#/components/schemas/Partial_Pick_Organization.name-or-createdAt-or-organizationUuid__'
        authentication:
          anyOf:
          - $ref: '#/components/schemas/SessionAuth'
          - $ref: '#/components/schemas/JwtAuth'
          - $ref: '#/components/schemas/ServiceAccountAuth'
          - $ref: '#/components/schemas/PersonalAccessTokenAuth'
          - $ref: '#/components/schemas/OauthAuth'
        requestContext:
          $ref: '#/components/schemas/AccountRequestContext'
      required:
      - organization
      - authentication
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    WarehouseTypes.BIGQUERY:
      enum:
      - bigquery
      type: string
    Omit_Account-at-user.ability-or-abilityRules_:
      $ref: '#/components/schemas/Pick_Account-at-user.Exclude_keyofAccount-at-user.ability-or-abilityRules__'
      description: Construct a type with the properties of T except for those in type K.
    PersonalAccessToken:
      properties:
        description:
          type: string
        expiresAt:
          type: string
          format: date-time
          nullable: true
        rotatedAt:
          type: string
          format: date-time
          nullable: true
        lastUsedAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
        uuid:
          type: string
      required:
      - description
      - expiresAt
      - rotatedAt
      - lastUsedAt
      - createdAt
      - uuid
      type: object
    ? Pick_CreateRedshiftCredentials-or-CreatePostgresCredentials-or-CreateSnowflakeCredentials-or-CreateTrinoCredentials-or-CreateClickhouseCredentials.type-or-user_
    : properties:
        user:
          type: string
        type:
          anyOf:
          - $ref: '#/components/schemas/WarehouseTypes.POSTGRES'
          - $ref: '#/components/schemas/WarehouseTypes.REDSHIFT'
          - $ref: '#/components/schemas/WarehouseTypes.SNOWFLAKE'
          - $ref: '#/components/schemas/WarehouseTypes.TRINO'
          - $ref: '#/components/schemas/WarehouseTypes.CLICKHOUSE'
      required:
      - user
      - type
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    CreateEmbedJwt:
      properties:
        exp:
          type: number
          format: double
        iat:
          type: number
          format: double
        expiresIn:
          type: string
        user:
          properties:
            externalId:
              type: string
            email:
              type: string
          type: object
        userAttributes:
          properties: {}
          additionalProperties:
            type: string
          type: object
        writeActions:
          $ref: '#/components/schemas/EmbedWriteActions'
        content:
          anyOf:
          - $ref: '#/components/schemas/EmbedJwtContentDashboardUuid'
          - $ref: '#/components/schemas/EmbedJwtContentDashboardSlug'
          - $ref: '#/components/schemas/EmbedJwtContentChart'
      required:
      - content
      type: object
    WarehouseTypes.REDSHIFT:
      enum:
      - redshift
      type: string
    Pick_PersonalAccessToken.expiresAt-or-description_:
      properties:
        expiresAt:
          type: string
          format: date-time
          nullable: true
        description:
          type: string
      required:
      - expiresAt
      - description
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    SnowflakeAuthenticationType:
      enum:
      - password
      - private_key
      - sso
      - external_browser
      - none
      type: string
    BigqueryAuthenticationType:
      enum:
      - sso
      - private_key
      - adc
      type: string
    Pick_CreateDatabricksCredentials.type-or-personalAccessToken-or-authenticationType-or-refreshToken_:
      properties:
        type:
          $ref: '#/components/schemas/WarehouseTypes.DATABRICKS'
        personalAccessToken:
          type: string
        refreshToken:
          type: string
        authenticationType:
          $ref: '#/components/schemas/DatabricksAuthenticationType'
      required:
      - type
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    ActivateUser:
      properties:
        password:
          type: string
        lastName:
          type: string
        firstName:
          type: string
      required:
      - password
      - lastName
      - firstName
      type: object
    CreatePersonalAccessToken:
      allOf:
      - $ref: '#/components/schemas/Pick_PersonalAccessToken.expiresAt-or-description_'
      - properties:
          autoGenerated:
            type: boolean
        required:
        - autoGenerated
        type: object
    UserWarehouseCredentialsProject:
      properties:
        type:
          $ref: '#/components/schemas/ProjectType'
        name:
          type: string
        projectUuid:
          type: string
      required:
      - type
      - name
      - projectUuid
      type: object
    WarehouseTypes.ATHENA:
      enum:
      - athena
      type: string
    ImpersonationInfo:
      properties:
        adminUserUuid:
          type: string
        adminName:
          type: string
        impersonatedUserUuid:
          type: string
      required:
      - adminUserUuid
      - adminName
      - impersonatedUserUuid
      type: object
      additionalProperties: true
    CommonChartEmbedJwtContent:
      properties:
        canViewUnderlyingData:
          type: boolean
        canExportImages:
          type: boolean
        canExportCsv:
          type: boolean
        parameterInteractivity: {}
        dashboardFiltersInteractivity: {}
        scopes:
          items:
            type: string
          type: array
        isPreview:
          type: boolean
        projectUuid:
          type: string
        type:
          type: string
          enum:
          - chart
          nullable: false
      required:
      - type
      type: object
    EmbedJwtContentDashboardUuid:
      allOf:
      - $ref: '#/components/schemas/CommonEmbedJwtContent'
      - properties:
          dashboardUuid:
            type: string
        required:
        - dashboardUuid
        type: object
    Pick_CreateClickhouseCredentials.type-or-user-or-password_:
      properties:
        user:
          type: string
        type:
          $ref: '#/components/schemas/WarehouseTypes.CLICKHOUSE'
        password:
          type: string
      required:
      - user
      - type
      - password
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    CreateUserArgs:
      properties:
        password:
          type: string
        email:
          $ref: '#/components/schemas/Email'
        lastName:
          type: string
        firstName:
          type: string
      required:
      - password
      - email
      - lastName
      - firstName
      type: object
    UpsertUserWarehouseCredentials:
      properties:
        credentials:
          anyOf:
          - $ref: '#/components/schemas/Pick_CreateRedshiftCredentials.type-or-user-or-password_'
          - $ref: '#/components/schemas/Pick_CreatePostgresCredentials.type-or-user-or-password_'
          - $ref: '#/components/schemas/Pick_CreateSnowflakeCredentials.type-or-user-or-password-or-authenticationType-or-refreshToken_'
          - $ref: '#/components/schemas/Pick_CreateTrinoCredentials.type-or-user-or-password_'
          - $ref: '#/components/schemas/Pick_CreateClickhouseCredentials.type-or-user-or-password_'
          - $ref: '#/components/schemas/Pick_CreateBigqueryCredentials.type-or-keyfileContents-or-authenticationType_'
          - allOf:
            - $ref: '#/components/schemas/Pick_CreateDatabricksCredentials.type-or-personalAccessToken-or-authenticationType-or-refreshToken_'
            - $ref: '#/components/schemas/Partial_Pick_CreateDatabricksCredentials.database-or-serverHostName-or-httpPath-or-oauthClientId__'
          - $ref: '#/components/schemas/Pick_CreateAthenaCredentials.type-or-accessKeyId-or-secretAccessKey_'
          - $ref: '#/components/schemas/Pick_CreateDuckdbMotherduckCredentials.type-or-token_'
        name:
          type: string
      required:
      - credentials
      - name
      type: object
    Pick_CreatePostgresCredentials.type-or-user-or-password_:
      properties:
        user:
          type: string
        type:
          $ref: '#/components/schemas/WarehouseTypes.POSTGRES'
        password:
          type: string
      required:
      - user
      - type
      - password
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    Email:
      type: string
      description: Email
      pattern: ^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$
    Pick_Account-at-user.Exclude_keyofAccount-at-user.ability-or-abilityRules__:
      properties:
        id:
          type: string
          deprecated: true
        type:
          type: string
          enum:
          - registered
          - anonymous
        email:
          type: string
        isActive:
          type: boolean
      required:
      - id
      - type
      - isActive
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    ApiGetAccountResponse:
      properties:
        results:
          $ref: '#/components/schemas/SerializedAccount'
        status:
          type: string
          enum:
          - ok
          nullable: false
      required:
      - results
      - status
      type: object
    WarehouseTypes.DATABRICKS:
      enum:
      - databricks
      type: string
    EmailOneTimePassword:
      properties:
        numberOfAttempts:
          type: number
          format: double
          description: Number of times the passcode has been attempted
        createdAt:
          type: string
          format: date-time
          description: Time that the passcode was created
      required:
      - numberOfAttempts
      - createdAt
      type: object
    UserWarehouseCredentials:
      properties:
        project:
          allOf:
          - $ref: '#/components/schemas/UserWarehouseCredentialsProject'
          nullable: true
        credentials:
          anyOf:
          - $ref: '#/components/schemas/Pick_CreateRedshiftCredentials-or-CreatePostgresCredentials-or-CreateSnowflakeCredentials-or-CreateTrinoCredentials-or-CreateClickhouseCredentials.type-or-user_'
          - $ref: '#/components/schemas/Pick_CreateBigqueryCredentials.type_'
          - $ref: '#/components/schemas/Pick_CreateDatabricksCredentials.type_'
          - $ref: '#/components/schemas/Pick_CreateAthenaCredentials.type_'
          - $ref: '#/components/schemas/Pick_CreateDuckdbCredentials.type_'
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        name:
          type: string
        userUuid:
          type: string
        uuid:
          type: string
      required:
      - project
      - credentials
      - updatedAt
      - createdAt
      - name
      - userUuid
      - uuid
      type: object
    DatabricksAuthenticationType:
      enum:
      - personal_access_token
      - oauth_m2m
      - oauth_u2m
      type: string
    JwtAuth:
      properties:
        source:
          type: string
        data:
          $ref: '#/components/schemas/CreateEmbedJwt'
        type:
          type: string
          enum:
          - jwt
          nullable: false
      required:
      - source
      - data
      - type
      type: object
    EmailOneTimePasswordExpiring:
      allOf:
      - $ref: '#/components/schemas/EmailOneTimePassword'
      - properties:
          isMaxAttempts:
            type: boolean
          isExpired:
            type: boolean
          expiresAt:
            type: string
            format: date-time
        required:
        - isMaxAttempts
        - isExpired
        - expiresAt
        type: object
    LightdashUser:
      properties:
        userUuid:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        organizationUuid:
       

# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lightdash/refs/heads/main/openapi/lightdash-my-account-api-openapi.yml