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

# Get Association

> Retrieve details for a specific downstream entity association

Returns detailed information about a specific downstream entity association.


## OpenAPI

````yaml openapi/v1.json GET /v1/downstream-entity-associations/{downstreamEntityAssociationId}
openapi: 3.0.0
info:
  title: Turris Public API
  description: API for managing insurance compliance data
  version: 1.0.0
  contact: {}
servers:
  - url: https://public.api.live.turrisfi.com
    description: Production
  - url: https://public.api.sandbox.turrisfi.com
    description: Sandbox
security: []
tags: []
paths:
  /v1/downstream-entity-associations/{downstreamEntityAssociationId}:
    get:
      tags:
        - downstream-entity-associations
      operationId: AssociatedDownstreamEntitiesController_getDownstreamEntity_v1
      parameters:
        - name: downstreamEntityAssociationId
          required: true
          in: path
          description: Associated downstream entity ID
          schema:
            example: 507f1f77bcf86cd799439011
            type: string
      responses:
        '200':
          description: Downstream entity association details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: >-
                      #/components/schemas/DownstreamEntityAssociationResponseDto
                  requestId:
                    type: string
                    description: Unique request identifier
                    example: dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8
                  timestamp:
                    type: string
                    description: Response timestamp
                    example: '2025-11-12T20:49:03.293Z'
                required:
                  - data
                  - requestId
                  - timestamp
        '401':
          description: Invalid or missing auth token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
        '404':
          description: Downstream entity association not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
components:
  schemas:
    DownstreamEntityAssociationResponseDto:
      type: object
      properties:
        _id:
          type: string
          description: Association ID
        producerCode:
          type: string
          description: Producer code
        externalId:
          type: string
          description: External ID
        downstreamEntity:
          description: Downstream entity details
          allOf:
            - $ref: '#/components/schemas/PopulatedDownstreamEntityResponse'
        niprDataSubscription:
          description: NIPR data subscription for this association
          allOf:
            - $ref: '#/components/schemas/ComplianceDataSubscriptionResponse'
      required:
        - _id
        - downstreamEntity
        - niprDataSubscription
    ErrorResponseDto:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code
        requestId:
          type: string
          description: Unique request identifier for debugging
        errorType:
          type: string
          description: Error type classification
        errorMessage:
          description: Array of error messages
          type: array
          items:
            type: string
        timestamp:
          type: string
          description: ISO timestamp when the error occurred
        details:
          type: object
          description: Additional error context
      required:
        - statusCode
        - requestId
        - errorType
        - errorMessage
        - timestamp
    PopulatedDownstreamEntityResponse:
      type: object
      properties:
        _id:
          type: string
          description: Downstream entity ID
        isNpnRequired:
          type: boolean
          description: Whether NPN is required for this downstream entity
        legalName:
          type: string
          description: Legal name of the downstream entity
        category:
          type: string
          description: Category of the downstream entity
        npn:
          type: string
          description: National Producer Number
        ein:
          type: string
          description: Employer Identification Number
      required:
        - _id
        - isNpnRequired
        - legalName
        - category
        - npn
        - ein
    ComplianceDataSubscriptionResponse:
      type: object
      properties:
        dataOwnerId:
          type: string
          description: Data owner ID
        dataOwnerModel:
          type: string
          description: Data owner model type
        entityModel:
          type: string
          description: Entity model type
        npn:
          type: string
          description: National Producer Number
          nullable: true
        entityInfo:
          description: NIPR entity info details
          allOf:
            - $ref: '#/components/schemas/NiprEntityInfoResponse'
        lastSynchronizationDate:
          format: date-time
          type: string
          description: Last synchronization date
        pdbAlertsSubscriptionStatus:
          type: string
          description: PDB Alerts subscription status
        pdbAlertsPausedAt:
          format: date-time
          type: string
          description: Date when PDB Alerts was paused
      required:
        - dataOwnerId
        - dataOwnerModel
        - entityModel
        - entityInfo
    NiprEntityInfoResponse:
      type: object
      properties:
        status:
          type: string
          description: Status of the NIPR data subscription
        jobId:
          type: string
          description: Job ID for the NIPR entity info request
        message:
          type: string
          description: Message associated with the status
        rawEntityInfoId:
          type: string
          description: Raw entity info document ID
      required:
        - status

````