> ## 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 provider models

> Returns available models from the provider API for a given connection. Each model includes auto-detected type and capabilities.




## OpenAPI

````yaml /ai-app/openapi.yaml get /provider-connections/{id}/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:
  /provider-connections/{id}/models:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    get:
      summary: List provider models
      description: >
        Returns available models from the provider API for a given connection.
        Each model includes auto-detected type and capabilities.
      responses:
        '200':
          description: Provider model list (may include error field on failure)
          content:
            application/json:
              schema:
                type: object
                properties:
                  models:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Provider-prefixed model ID (e.g., openai/gpt-4o)
                        display_name:
                          type: string
                        detected_type:
                          type: string
                          enum:
                            - chat
                            - embedding
                            - audio
                            - image
                            - transcription
                        capabilities:
                          type: array
                          items:
                            type: string
                  provider:
                    type: string
                  error:
                    type: string
                    description: Error message if model listing failed
        '401':
          description: Not authenticated
        '403':
          description: Requires user role
        '404':
          description: Connection not found
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````