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

# List the repositories that directly depend on this repository.

> Get all repos that directly depend on this repository, with dependency details.

Paginated via ``limit`` / ``offset`` (default 100, max 500). ``X-Total-Count``
carries the post-dedup total of upstream caller declarations.



## OpenAPI

````yaml /openapi.json get /api/v1/repositories/{repo_id}/dependents
openapi: 3.1.0
info:
  description: Change Impact Engine for multi-repo systems
  title: Riftmap
  version: 1.12.3
servers: []
security: []
paths:
  /api/v1/repositories/{repo_id}/dependents:
    get:
      tags:
        - repositories
      summary: List the repositories that directly depend on this repository.
      description: >-
        Get all repos that directly depend on this repository, with dependency
        details.


        Paginated via ``limit`` / ``offset`` (default 100, max 500).
        ``X-Total-Count``

        carries the post-dedup total of upstream caller declarations.
      operationId: get_dependents_api_v1_repositories__repo_id__dependents_get
      parameters:
        - in: path
          name: repo_id
          required: true
          schema:
            format: uuid
            title: Repo Id
            type: string
        - description: Maximum items to return.
          in: query
          name: limit
          required: false
          schema:
            default: 100
            description: Maximum items to return.
            maximum: 500
            minimum: 1
            title: Limit
            type: integer
        - description: Items to skip.
          in: query
          name: offset
          required: false
          schema:
            default: 0
            description: Items to skip.
            minimum: 0
            title: Offset
            type: integer
        - in: header
          name: X-Workspace-Id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Workspace-Id
        - in: cookie
          name: riftmap_access
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Riftmap Access
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/DependencyInfo'
                title: >-
                  Response Get Dependents Api V1 Repositories  Repo Id 
                  Dependents Get
                type: array
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    DependencyInfo:
      description: A single dependency declaration from a repo's latest scan.
      properties:
        confidence:
          title: Confidence
          type: number
        dependency_type:
          title: Dependency Type
          type: string
        id:
          format: uuid
          title: Id
          type: string
        raw_reference:
          title: Raw Reference
          type: string
        resolved:
          title: Resolved
          type: boolean
        source_file:
          title: Source File
          type: string
        source_line:
          title: Source Line
          type: integer
        target_artifact_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Target Artifact Id
        target_repository_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Target Repository Id
        target_repository_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Repository Name
        version_constraint:
          anyOf:
            - type: string
            - type: 'null'
          title: Version Constraint
        version_constraint_state:
          default: absent
          title: Version Constraint State
          type: string
      required:
        - id
        - dependency_type
        - raw_reference
        - version_constraint
        - source_file
        - source_line
        - resolved
        - confidence
      title: DependencyInfo
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    APIKeyHeader:
      in: header
      name: X-API-Key
      type: apiKey
    HTTPBearer:
      description: API key as Bearer token (rfm_live_... prefix)
      scheme: bearer
      type: http

````