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

# Get model details by ID

> Retrieves detailed information about a specific model, including its metadata and files



## OpenAPI

````yaml /api-reference/ai-navigator-api.json get /api/models/{id}
openapi: 3.0.0
info:
  title: AI Navigator API
  version: 1.0.0
  description: API documentation for AI Navigator
servers: []
security:
  - bearerAuth: []
tags: []
paths:
  /api/models/{id}:
    get:
      tags:
        - Models
      summary: Get model details by ID
      description: >-
        Retrieves detailed information about a specific model, including its
        metadata and files
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
          description: ID of the model to retrieve
      responses:
        '200':
          description: Model details retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Unique identifier for the model
                      name:
                        type: string
                        description: Name of the model
                      metadata:
                        type: object
                        properties:
                          numParameters:
                            type: number
                            description: Number of parameters in the model
                          contextWindowSize:
                            type: number
                            description: Maximum context window size in tokens
                          trainedFor:
                            $ref: '#/components/schemas/TrainedFor'
                          description:
                            type: string
                            description: Detailed description of the model
                          license:
                            type: string
                            description: License under which the model is distributed
                          languages:
                            type: array
                            items:
                              type: string
                            description: Languages supported by the model
                          last_updated:
                            type: string
                            format: date-time
                            description: Date when the model was last updated
                          library_name:
                            type: string
                            description: Library or framework the model is designed for
                          model_type:
                            type: string
                            description: Type or architecture of the model
                          resources:
                            type: object
                            properties:
                              canonicalUrl:
                                type: string
                                description: Official URL for the model
                              paperUrl:
                                type: string
                                description: >-
                                  URL to the research paper associated with the
                                  model
                          publisher:
                            type: string
                            description: Publisher or organization that released the model
                          files:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  description: Unique identifier for the model file
                                name:
                                  type: string
                                  description: Name of the model file
                                downloadUrl:
                                  type: string
                                  description: URL to download the model file
                                sizeBytes:
                                  type: number
                                  description: Size of the model file in bytes
                                sha256checksum:
                                  type: string
                                  description: >-
                                    SHA-256 hash of the model file for integrity
                                    verification
                                quantization:
                                  type: string
                                  description: Quantization method used for the model
                                format:
                                  type: string
                                  description: File format of the model
                                maxRamUsage:
                                  type: number
                                  description: >-
                                    Maximum RAM required to run the model in
                                    bytes
                                isDownloaded:
                                  type: boolean
                                  description: >-
                                    Whether the model file has been downloaded
                                    locally
                                localPath:
                                  type: string
                                  description: >-
                                    Local file system path where the model is
                                    stored
        '404':
          description: Model not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    TrainedFor:
      type: string
      enum:
        - text-generation
        - sentence-similarity
      description: The primary task the model was trained for
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - INVALID_REQUEST
                - DATABASE_NOT_RUNNING
                - INTERNAL_SERVER_ERROR
                - INVALID_SERVER_ID
                - SERVER_NOT_RUNNING
                - SERVER_RUNNING
                - INTERNAL_SERVER_ERROR
            message:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: UUID
      description: Enter your API key here

````