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

# List soft FK edges

> List soft FK edges within a context pack.



## OpenAPI

````yaml /openapi/em-runtime-utils-v2.yaml get /utils/context-packs/{name}/soft-fk-edges
openapi: 3.1.0
info:
  title: em_runtime_utils
  version: 5.27.0
servers: []
security: []
paths:
  /utils/context-packs/{name}/soft-fk-edges:
    get:
      tags:
        - soft-fk-edges
      summary: List soft FK edges
      description: List soft FK edges within a context pack.
      operationId: list_soft_fk_edges
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
            description: Context pack name
            title: Name
          description: Context pack name
        - name: from_table
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by from_table FQN
            title: From Table
          description: Filter by from_table FQN
        - name: to_table
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by to_table FQN
            title: To Table
          description: Filter by to_table FQN
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/SoftFkEdgeStatus'
              - type: 'null'
            description: Filter by status
            title: Status
          description: Filter by status
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number
            default: 1
            title: Page
          description: Page number
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Page size
            default: 20
            title: Page Size
          description: Page size
        - name: X-Project-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Project-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SoftFkEdgeListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    SoftFkEdgeStatus:
      type: string
      enum:
        - active
        - deprecated
        - deleted
      title: SoftFkEdgeStatus
      description: Lifecycle status of a soft FK edge.
    SoftFkEdgeListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/SoftFkEdgeResponse'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/Pagination'
      type: object
      required:
        - data
        - pagination
      title: SoftFkEdgeListResponse
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorResponse
      description: Standard error response model.
    SoftFkEdgeResponse:
      properties:
        id:
          type: string
          title: Id
        organization_id:
          type: string
          title: Organization Id
        project_id:
          type: string
          title: Project Id
        context_pack_id:
          type: string
          title: Context Pack Id
        from_table:
          type: string
          title: From Table
        from_column:
          type: string
          title: From Column
        to_table:
          type: string
          title: To Table
        to_column:
          type: string
          title: To Column
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        source:
          $ref: '#/components/schemas/SoftFkEdgeSource'
        confidence:
          type: number
          title: Confidence
        status:
          $ref: '#/components/schemas/SoftFkEdgeStatus'
        deprecated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deprecated At
        deleted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Deleted At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - organization_id
        - project_id
        - context_pack_id
        - from_table
        - from_column
        - to_table
        - to_column
        - description
        - source
        - confidence
        - status
        - deprecated_at
        - deleted_at
        - created_at
        - updated_at
      title: SoftFkEdgeResponse
    Pagination:
      properties:
        page:
          type: integer
          minimum: 1
          title: Page
          description: Current page number (starts at 1)
        limit:
          type: integer
          maximum: 100
          minimum: 1
          title: Limit
          description: Items per page (max 100)
        total_items:
          type: integer
          minimum: 0
          title: Total Items
        total_pages:
          type: integer
          minimum: 0
          title: Total Pages
        next_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Page
        prev_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Prev Page
      type: object
      required:
        - page
        - limit
        - total_items
        - total_pages
      title: Pagination
      description: Pagination metadata for list responses.
    ErrorBody:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          title: Message
        details:
          additionalProperties: true
          type: object
          title: Details
        request_id:
          type: string
          title: Request Id
        timestamp:
          type: string
          format: date-time
          title: Timestamp
      type: object
      required:
        - code
        - message
        - request_id
        - timestamp
      title: ErrorBody
      description: Error body with structured details.
    SoftFkEdgeSource:
      type: string
      enum:
        - manual
        - ingestion
        - inferred
      title: SoftFkEdgeSource
      description: Origin of a soft FK edge.
    ErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - INVALID_TOKEN
        - INSUFFICIENT_PERMISSIONS
        - RESOURCE_NOT_FOUND
        - RESOURCE_ALREADY_EXISTS
        - VALIDATION_ERROR
        - RATE_LIMIT_EXCEEDED
        - SERVICE_UNAVAILABLE
        - INTERNAL_ERROR
      title: ErrorCode
      description: Standard error codes for API responses.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````