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

# Get Vault Connection

> Get detailed information about a vault connection.

**Required Role:** VIEWER or higher

Returns:
- Connection configuration (excluding access token)
- Number of secrets using this connection
- Last verification timestamp



## OpenAPI

````yaml GET /v1/teams/{team_id}/vault-connections/{connection_id}
openapi: 3.1.0
info:
  title: Data Raven API
  description: Cloud-to-cloud data transfer platform powered by RClone
  version: 0.5.0
servers: []
security: []
paths:
  /v1/teams/{team_id}/vault-connections/{connection_id}:
    get:
      tags:
        - Vault Connections
      summary: Get Vault Connection Details
      description: |-
        Get detailed information about a vault connection.

        **Required Role:** VIEWER or higher

        Returns:
        - Connection configuration (excluding access token)
        - Number of secrets using this connection
        - Last verification timestamp
      operationId: >-
        get_vault_connection_details_v1_teams__team_id__vault_connections__connection_id__get
      parameters:
        - name: connection_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Connection Id
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VaultConnectionDetailResponse'
        '404':
          description: Connection not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    VaultConnectionDetailResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        vault_type:
          $ref: '#/components/schemas/VaultType'
        last_verified_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Verified At
        created_at:
          type: string
          format: date-time
          title: Created At
        created_by:
          type: string
          format: uuid
          title: Created By
        provider_config:
          additionalProperties: true
          type: object
          title: Provider Config
          description: Provider-specific configuration (non-sensitive)
        updated_at:
          type: string
          format: date-time
          title: Updated At
        secrets_count:
          type: integer
          title: Secrets Count
          description: Number of secrets using this connection
          default: 0
        secrets:
          items:
            $ref: '#/components/schemas/SecretReference'
          type: array
          title: Secrets
          description: Secrets using this vault connection
        created_by_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By Email
          description: Email of user who created this connection
        updated_by:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Updated By
          description: User who last updated this connection
        updated_by_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated By Email
          description: Email of user who last updated this connection
      type: object
      required:
        - id
        - name
        - description
        - vault_type
        - last_verified_at
        - created_at
        - created_by
        - updated_at
      title: VaultConnectionDetailResponse
      description: Detailed vault connection info including usage stats.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VaultType:
      type: string
      enum:
        - onepassword
        - doppler
        - infisical
      title: VaultType
      description: |-
        External vault provider types for credential storage.

        ONEPASSWORD: 1Password via service account SDK
        DOPPLER: Doppler secrets manager via service token
        INFISICAL: Infisical via machine identity (Universal Auth)
    SecretReference:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - name
      title: SecretReference
      description: Minimal secret info for navigation links.
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````