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

# Get model router dependents

> List what references a model router (nothing in the data model does today, so the arrays are empty)



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml get /model-routers/{id}/dependents
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /model-routers/{id}/dependents:
    get:
      tags:
        - model-routers
      summary: Get model router dependents
      description: >-
        List what references a model router (nothing in the data model does
        today, so the arrays are empty)
      parameters:
        - name: id
          in: path
          description: Model Router ID
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.DependentsResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    api.DependentsResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            attributes:
              $ref: '#/components/schemas/services.Dependents'
            id:
              type: string
            type:
              type: string
      description: Dependents response model
    api.ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              title:
                type: string
      description: Error response model
    services.Dependents:
      type: object
      properties:
        agents:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        apps:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        catalogues:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        chats:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        datasources:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        embedders:
          type: array
          description: Embedders linked to the object (an LLM).
          items:
            $ref: '#/components/schemas/services.DependentRef'
        hidden:
          type: integer
          description: >-
            Hidden counts the dependents left out of the lists because the
            caller

            may not see them (Workspace-scoped objects in other Workspaces);
            only

            the count is given, never their ids or names.
        llms:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        model_routers:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        semantic_routers:
          type: array
          description: >-
            SemanticRouters that route to, hand off to, or classify with the
            object.
          items:
            $ref: '#/components/schemas/services.DependentRef'
        tools:
          type: array
          items:
            $ref: '#/components/schemas/services.DependentRef'
        total:
          type: integer
          description: Total counts every dependent, including Hidden ones.
    services.DependentRef:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````