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

# List Integration Source Relationships

> List relationships for a given integration source.



## OpenAPI

````yaml https://config.heyhumm.ai/api/openapi.json get /api/integration-sources/{integration_source_id}/relationships
openapi: 3.1.0
info:
  title: Configuration API
  description: >-
    API for managing configuration and queues for various services. This service
    consolidates the API functionality previously provided by dd_rag_api and
    code_rag_api.
  version: 1.0.0
servers:
  - url: https://config.heyhumm.ai
security: []
paths:
  /api/integration-sources/{integration_source_id}/relationships:
    get:
      tags:
        - Integration Sources
      summary: List Integration Source Relationships
      description: List relationships for a given integration source.
      operationId: >-
        list_integration_source_relationships_api_integration_sources__integration_source_id__relationships_get
      parameters:
        - name: integration_source_id
          in: path
          required: true
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Integration Source Id
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/RelationshipStatus'
              - type: 'null'
            title: Status
        - name: type
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/RelationshipType'
              - type: 'null'
            description: Optional relationship type filter
            title: Type
          description: Optional relationship type filter
        - name: organization_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Organization Id
        - name: resource_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Resource Id
        - name: source_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Source Id
        - name: data_source_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Data Source Id
        - name: context_source_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Context Source Id
        - name: job_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IntegrationSourceRelationshipResponse'
                title: >-
                  Response List Integration Source Relationships Api Integration
                  Sources  Integration Source Id  Relationships Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    RelationshipStatus:
      type: string
      enum:
        - SUGGESTED
        - APPROVED
        - REJECTED
      title: RelationshipStatus
    RelationshipType:
      type: string
      enum:
        - FOREIGN_KEY
        - INFERRED
        - MANUAL
      title: RelationshipType
    IntegrationSourceRelationshipResponse:
      properties:
        integration_source_id:
          type: string
          format: uuid
          title: Integration Source Id
          description: Integration source this relationship belongs to
        from_column_id:
          type: string
          format: uuid
          title: From Column Id
          description: Column acting as the foreign key / link origin
        to_table_id:
          type: string
          format: uuid
          title: To Table Id
          description: Target table this relationship points to
        to_column_name:
          type: string
          maxLength: 255
          title: To Column Name
          description: Target column name in the destination table
        type:
          $ref: '#/components/schemas/RelationshipType'
          description: Relationship type (FORMAL FK, inferred heuristic, manual, etc.)
          default: INFERRED
        status:
          $ref: '#/components/schemas/RelationshipStatus'
          description: Review status of the relationship
          default: SUGGESTED
        score:
          anyOf:
            - type: number
            - type: 'null'
          title: Score
          description: Confidence score assigned by the inference pipeline (0.0-1.0)
        evidence:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Evidence
          description: Supporting evidence and calculations used to infer the relationship
        id:
          type: string
          format: uuid
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - integration_source_id
        - from_column_id
        - to_table_id
        - to_column_name
        - id
        - created_at
        - updated_at
      title: IntegrationSourceRelationshipResponse
      description: Response model for integration source relationships.
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````