> ## Documentation Index
> Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Connection Types

> List all data connection types with their credential schemas



## OpenAPI

````yaml /openapi/em-runtime-assets-v2.yaml get /assets/data/types
openapi: 3.1.0
info:
  title: em_runtime_assets
  version: 5.27.0
servers: []
security: []
paths:
  /assets/data/types:
    get:
      tags:
        - data_connections
      summary: List Connection Types
      description: List all data connection types with their credential schemas
      operationId: list_connection_types
      parameters:
        - name: X-Project-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Project-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionTypesResponse'
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          description: Data connection not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    ConnectionTypesResponse:
      properties:
        types:
          items:
            $ref: '#/components/schemas/ConnectionTypeInfo'
          type: array
          title: Types
          description: Available connection types
      type: object
      required:
        - types
      title: ConnectionTypesResponse
      description: Response for listing connection types.
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorResponse
      description: Standard error response model.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ConnectionTypeInfo:
      properties:
        connection_type:
          type: string
          title: Connection Type
          description: Connection type identifier
        category:
          type: string
          title: Category
          description: 'Category: database, storage, or filesystem'
        description:
          type: string
          title: Description
          description: Human-readable description
        displayName:
          anyOf:
            - type: string
            - type: 'null'
          title: Displayname
          description: Display name for UI
        implemented:
          type: boolean
          title: Implemented
          description: Whether this type is currently supported
        auth_types:
          items:
            $ref: '#/components/schemas/AuthTypeSchema'
          type: array
          title: Auth Types
          description: Supported authentication methods
        default_secret_name:
          type: string
          title: Default Secret Name
          description: Default secret name for this type
          default: credentials
      type: object
      required:
        - connection_type
        - category
        - description
        - implemented
      title: ConnectionTypeInfo
      description: >-
        Information about a data connection type.


        Note: connection_type is a string (not DataConnectionType enum) because
        this

        model represents ALL connection types including future/unimplemented
        ones.
    ErrorBody:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          title: Message
        details:
          additionalProperties: true
          type: object
          title: Details
        request_id:
          type: string
          title: Request Id
        timestamp:
          type: string
          format: date-time
          title: Timestamp
      type: object
      required:
        - code
        - message
        - request_id
        - timestamp
      title: ErrorBody
      description: Error body with structured details.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    AuthTypeSchema:
      properties:
        auth_type:
          type: string
          title: Auth Type
          description: Authentication type identifier
        description:
          type: string
          title: Description
          description: Human-readable description
        credential_fields:
          items:
            $ref: '#/components/schemas/CredentialField'
          type: array
          title: Credential Fields
          description: Fields required in the credential JSON
        example:
          additionalProperties: true
          type: object
          title: Example
          description: Example credential JSON
      type: object
      required:
        - auth_type
        - description
        - credential_fields
        - example
      title: AuthTypeSchema
      description: Credential schema for a specific authentication type.
    ErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - INVALID_TOKEN
        - INSUFFICIENT_PERMISSIONS
        - RESOURCE_NOT_FOUND
        - RESOURCE_ALREADY_EXISTS
        - VALIDATION_ERROR
        - RATE_LIMIT_EXCEEDED
        - SERVICE_UNAVAILABLE
        - INTERNAL_ERROR
      title: ErrorCode
      description: Standard error codes for API responses.
    CredentialField:
      properties:
        name:
          type: string
          title: Name
          description: Field name in the credential JSON
        type:
          type: string
          title: Type
          description: Field type (string, object)
          default: string
        required:
          type: boolean
          title: Required
          description: Whether this field is required
        description:
          type: string
          title: Description
          description: Human-readable description
        example:
          anyOf:
            - type: string
            - type: 'null'
          title: Example
          description: Example value
      type: object
      required:
        - name
        - required
        - description
      title: CredentialField
      description: Definition of a credential field.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````