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

# Get a specific model

> Retrieves a specific model by ID



## OpenAPI

````yaml get /api/models/{modelId}
openapi: 3.0.0
info:
  title: Dalus Public API Documentation
  version: 1.0.0
  description: Public API documentation for Dalus application
servers:
  - url: http://localhost:3000
    description: Dalus API Server
security:
  - bearerAuth: []
tags:
  - name: models
    description: AI model management endpoints
  - name: models/requirements
    description: Requirements management for models
  - name: models/actions
    description: Action management for models
  - name: models/parts
    description: Part management for models
  - name: models/states
    description: State management for models
  - name: models/transitions
    description: Transition relationship management for models
  - name: models/signals
    description: Signal relationship management for models
  - name: models/interfaces
    description: Interface relationship management for models
  - name: models/ports
    description: Port management for models
paths:
  /api/models/{modelId}:
    get:
      tags:
        - models
      summary: Get a specific model
      description: Retrieves a specific model by ID
      parameters:
        - name: modelId
          in: path
          required: true
          description: ID of the model to retrieve
          schema:
            type: string
            format: uuid
        - name: model-preview-id
          in: query
          description: Optional model preview ID for shared models
          schema:
            type: string
      responses:
        '200':
          description: Model details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
        '401':
          description: Not authenticated
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Model not found
        '500':
          description: Server error
components:
  schemas:
    Model:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the model
        user_id:
          type: string
          description: ID of the user who owns this model
        name:
          type: string
          description: Name of the model
        access_control_list:
          type: array
          items:
            type: object
            properties:
              user_id:
                type: string
              group_id:
                type: string
              invite_id:
                type: string
              email:
                type: string
                format: email
              roles:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    permissions:
                      type: array
                      items:
                        type: object
                        properties:
                          action:
                            type: string
                            enum:
                              - View
                              - Edit
                              - Comment
                              - Invite Collaborator
                              - Manage Model
                          scopes:
                            type: array
                            items:
                              type: string
                        required:
                          - action
                          - scopes
                  required:
                    - name
                    - permissions
            required:
              - roles
          description: Access control list for the model
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
      required:
        - id
        - user_id
        - name
        - access_control_list
        - created_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````