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

# List eligible models

> Returns the caller's own user_models plus platform models (created_by IS NULL) that are eligible for use in policies and agent assignments. Only active models are returned by default.




## OpenAPI

````yaml /ai-app/openapi.yaml get /eligible-models
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /eligible-models:
    get:
      summary: List eligible models
      description: >
        Returns the caller's own user_models plus platform models (created_by IS
        NULL) that are eligible for use in policies and agent assignments. Only
        active models are returned by default.
      parameters:
        - name: include_inactive
          in: query
          required: false
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
          description: Include inactive user models in the response.
      responses:
        '200':
          description: Eligible models list
          content:
            application/json:
              schema:
                type: object
                properties:
                  models:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        description:
                          type: string
                        connection_id:
                          type: string
                          format: uuid
                          nullable: true
                        is_active:
                          type: boolean
                        is_platform:
                          type: boolean
                          description: True if this is a platform-managed model
                        model_type:
                          type: string
                          enum:
                            - single
                            - router
                        detected_type:
                          type: string
        '401':
          description: Unauthorized
        '403':
          description: Forbidden — requires user role
        '503':
          description: Database not configured
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````