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

# List Model Specs

> List model specifications with optional filtering.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/model-specs/
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/model-specs/:
    get:
      tags:
        - v1
        - protected
        - model-specs
      summary: List Model Specs
      description: List model specifications with optional filtering.
      operationId: list_model_specs_v1_model_specs__get
      parameters:
        - in: query
          name: provider_spec_id
          required: false
          schema:
            anyOf:
              - format: uuid
                type: string
              - type: 'null'
            title: Provider Spec Id
        - in: query
          name: is_active
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            title: Is Active
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: >-
                    #/components/schemas/agentarea_api__api__v1__model_specs__ModelSpecResponse
                title: Response List Model Specs V1 Model Specs  Get
                type: array
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    agentarea_api__api__v1__model_specs__ModelSpecResponse:
      properties:
        context_window:
          title: Context Window
          type: integer
        created_at:
          title: Created At
          type: string
        default_context_strategy:
          anyOf:
            - type: string
            - type: 'null'
          title: Default Context Strategy
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        display_name:
          title: Display Name
          type: string
        id:
          title: Id
          type: string
        input_cost_per_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Input Cost Per Token
        is_active:
          title: Is Active
          type: boolean
        max_output_tokens:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Output Tokens
        model_name:
          title: Model Name
          type: string
        output_cost_per_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Output Cost Per Token
        provider_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider Key
        provider_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider Name
        provider_spec_id:
          title: Provider Spec Id
          type: string
        supports_function_calling:
          anyOf:
            - type: boolean
            - type: 'null'
          default: false
          title: Supports Function Calling
        supports_reasoning:
          anyOf:
            - type: boolean
            - type: 'null'
          default: false
          title: Supports Reasoning
        supports_vision:
          anyOf:
            - type: boolean
            - type: 'null'
          default: false
          title: Supports Vision
        updated_at:
          title: Updated At
          type: string
      required:
        - id
        - provider_spec_id
        - model_name
        - display_name
        - description
        - context_window
        - default_context_strategy
        - is_active
        - created_at
        - updated_at
      title: ModelSpecResponse
      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:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````