> ## 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.

# Get Model Spec

> Get a specific model specification by ID.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/model-specs/{model_spec_id}
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/{model_spec_id}:
    get:
      tags:
        - v1
        - protected
        - model-specs
      summary: Get Model Spec
      description: Get a specific model specification by ID.
      operationId: get_model_spec_v1_model_specs__model_spec_id__get
      parameters:
        - in: path
          name: model_spec_id
          required: true
          schema:
            format: uuid
            title: Model Spec Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/agentarea_api__api__v1__model_specs__ModelSpecResponse
          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

````