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

# Get a connection

> Fetch a single connection by id. Cross-tenant access returns 404.



## OpenAPI

````yaml /openapi.json get /connections/{connection_id}
openapi: 3.1.0
info:
  title: GetDialed Flows API
  version: 0.1.0
servers:
  - url: https://api.getdialed.ai/flows
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /connections/{connection_id}:
    get:
      tags:
        - connections
      summary: Get a connection
      description: Fetch a single connection by id. Cross-tenant access returns 404.
      operationId: get_connection_connections__connection_id__get
      parameters:
        - name: connection_id
          in: path
          required: true
          schema:
            type: string
            title: Connection Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectionResponse'
        '401':
          description: Missing or invalid authentication
          content:
            application/json:
              example:
                detail: Authentication required
        '404':
          description: >-
            No such connection for this organization (cross-tenant access also
            returns 404)
          content:
            application/json:
              example:
                detail: Connection not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded — retry after the Retry-After header
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              example:
                detail: 'Rate limit exceeded: 100 per 1 minute'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    ConnectionResponse:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        name:
          type: string
          title: Name
        platform_id:
          type: string
          title: Platform Id
        service_id:
          type: string
          title: Service Id
        auth_method:
          type: string
          title: Auth Method
        credentials_ref:
          type: string
          title: Credentials Ref
        status:
          type: string
          title: Status
        created_by:
          type: string
          title: Created By
        last_verified:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Verified
      type: object
      required:
        - id
        - org_id
        - name
        - platform_id
        - service_id
        - auth_method
        - credentials_ref
        - status
        - created_by
        - last_verified
      title: ConnectionResponse
      example:
        auth_method: basic_auth
        created_by: user_11223344
        credentials_ref: getdialed/acme/five9/conn_e5f6g7h8
        id: conn_e5f6g7h8
        last_verified: '2026-07-09T18:00:00Z'
        name: Five9 Production
        org_id: org_a1b2c3d4
        platform_id: five9
        service_id: five9__configuration
        status: active
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````