> ## 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 Saas Associations

> List all SaaS associations for an integration source, optionally filtered by from/to object IDs.



## OpenAPI

````yaml https://config.heyhumm.ai/api/openapi.json get /api/integration-sources/{source_id}/saas-associations
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/{source_id}/saas-associations:
    get:
      tags:
        - Integration Sources
      summary: List Saas Associations
      description: >-
        List all SaaS associations for an integration source, optionally
        filtered by from/to object IDs.
      operationId: >-
        list_saas_associations_api_integration_sources__source_id__saas_associations_get
      parameters:
        - name: source_id
          in: path
          required: true
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Source Id
        - name: from_object_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: From Object Id
        - name: to_object_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: To Object Id
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/RelationshipStatus'
              - type: 'null'
            description: Filter associations by status
            title: Status
          description: Filter associations by status
        - name: type
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/RelationshipType'
              - type: 'null'
            description: Filter associations by relationship type
            title: Type
          description: Filter associations by relationship type
        - 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: integration_source_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Integration 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/SaaSAssociationResponse'
                title: >-
                  Response List Saas Associations Api Integration Sources 
                  Source Id  Saas Associations 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
    SaaSAssociationResponse:
      properties:
        integration_source_id:
          type: string
          format: uuid
          title: Integration Source Id
          description: The integration source this association belongs to
        from_object_id:
          type: string
          format: uuid
          title: From Object Id
          description: The source SaaS object
        to_object_id:
          type: string
          format: uuid
          title: To Object Id
          description: The target SaaS object
        association_type_id:
          type: string
          title: Association Type Id
          description: >-
            Platform-specific type identifier (e.g., HubSpot's numeric ID or
            Salesforce's API name)
        association_label:
          type: string
          title: Association Label
          description: Human-readable label (e.g., 'Contact to Company')
        association_category:
          type: string
          title: Association Category
          description: >-
            Category of association (e.g., 'PLATFORM_DEFINED', 'USER_DEFINED',
            'CUSTOM')
          default: PLATFORM_DEFINED
        metadata_:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        relationship_type:
          $ref: '#/components/schemas/RelationshipType'
          description: >-
            Relationship type (platform vendor, inferred heuristic, manual
            override)
          default: FOREIGN_KEY
        status:
          $ref: '#/components/schemas/RelationshipStatus'
          description: Review status for the relationship
          default: SUGGESTED
        score:
          anyOf:
            - type: number
            - type: 'null'
          title: Score
          description: Confidence score assigned by inference pipeline (0.0-1.0)
        evidence:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Evidence
          description: Supporting evidence for inferred relationships
        is_active:
          type: boolean
          title: Is Active
          description: Whether this association is active/usable in the catalog
          default: true
        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_object_id
        - to_object_id
        - association_type_id
        - association_label
        - id
        - created_at
        - updated_at
      title: SaaSAssociationResponse
      description: Response model for SaaS associations.
    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

````