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

# Search Models

> Search for LLM models with pagination and filtering.

Returns a paginated list of models that can be filtered by name
(contains), verified status, and provider.



## OpenAPI

````yaml /openapi/openhands-cloud.json get /api/v1/config/models/search
openapi: 3.1.0
info:
  title: OpenHands
  description: 'OpenHands: Code Less, Make More'
  version: 0.0.1
servers: []
security: []
paths:
  /api/v1/config/models/search:
    get:
      tags:
        - Config
      summary: Search Models
      description: |-
        Search for LLM models with pagination and filtering.

        Returns a paginated list of models that can be filtered by name
        (contains), verified status, and provider.
      operationId: search_models_api_v1_config_models_search_get
      parameters:
        - name: page_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Optional next_page_id from the previously returned page
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            exclusiveMinimum: 0
            title: The max number of results in the page
            default: 50
        - name: query
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Filter models by name (case-insensitive substring match)
        - name: verified__eq
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            title: Filter by verified status (true/false, omit for all)
        - name: provider__eq
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Filter by provider name (exact match)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LLMModelPage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    LLMModelPage:
      properties:
        items:
          items:
            $ref: '#/components/schemas/LLMModel'
          type: array
          title: Items
        next_page_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Page Id
      type: object
      required:
        - items
      title: LLMModelPage
      description: Paginated response for LLM models.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LLMModel:
      properties:
        provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider
          description: The name of the provider for this model
        name:
          type: string
          title: Name
          description: The name of this model
        verified:
          type: boolean
          title: Verified
          description: Whether the model is verified by OpenHands
          default: false
        hidden:
          type: boolean
          title: Hidden
          description: >-
            Whether the model is served but not promoted: it must not be offered
            as a dropdown option, yet an already-saved setting referencing it is
            still valid (e.g. a legacy alias route on a managed LiteLLM proxy)
          default: false
        canonical:
          anyOf:
            - type: string
            - type: 'null'
          title: Canonical
          description: >-
            For a hidden model only: the name of the visible model (same
            provider) this one aliases, so clients can display a saved hidden
            model under its canonical name
      type: object
      required:
        - name
      title: LLMModel
      description: LLM Model object for API responses.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Access-Token

````