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

# List models

> Returns paginated model versions for a project with optional alias filtering.



## OpenAPI

````yaml /api-spec.json get /ml/projects/{id}/models
openapi: 3.0.0
info:
  contact:
    name: Acusight API Support
  description: >-
    Acusight platform API - custom endpoints + Portainer proxy routes for edge
    AI deployments
  title: Acusight API
  version: 1.0.0
servers:
  - url: https://acusight.io/api
    description: AcuSight Cloud (hosted)
security: []
tags:
  - name: Devices & provisioning
    description: Register, provision, and manage edge devices and their agents.
  - name: Virtual devices
    description: Create and drive simulated devices for testing and demos.
  - name: Alerts & telemetry
    description: Model alerts, alert rules, and product telemetry.
  - name: Organization
    description: Organization-level settings.
  - name: Datasets & data
    description: Projects, batches, datasets, images, annotations, and drift.
  - name: Models & training
    description: Model registry, training jobs, exports, and inference.
  - name: Pipeline data
    description: Detection time-series and aggregated pipeline analytics.
paths:
  /ml/projects/{id}/models:
    get:
      tags:
        - Models & training
      summary: List models
      description: >-
        Returns paginated model versions for a project with optional alias
        filtering.
      parameters:
        - description: Project ID
          in: path
          name: id
          required: true
          schema:
            type: integer
        - description: Filter by alias (champion, baseline, canary, challenger)
          in: query
          name: alias
          schema:
            type: string
        - description: Include archived models (default false)
          in: query
          name: include_archived
          schema:
            type: boolean
        - description: Page size (default 50, max 100)
          in: query
          name: limit
          schema:
            type: integer
        - description: Result offset
          in: query
          name: offset
          schema:
            type: integer
      responses:
        '200':
          description: Paginated model versions
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/types.APIResponse'
                  - properties:
                      data:
                        items:
                          $ref: '#/components/schemas/types.ModelVersionListResponse'
                        type: array
                    type: object
        '400':
          description: Invalid project ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.APIResponse'
        '500':
          description: Failed to list models
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.APIResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    types.APIResponse:
      properties:
        data: {}
        error:
          $ref: '#/components/schemas/types.APIError'
        meta:
          $ref: '#/components/schemas/types.APIMeta'
        success:
          type: boolean
      type: object
    types.ModelVersionListResponse:
      properties:
        aliases:
          description: 'Model aliases: ["champion", "baseline"], empty if none'
          items:
            type: string
          type: array
        created_at:
          type: string
        deployed_count:
          type: integer
        format:
          description: pt, onnx, tflite, synap
          type: string
        framework:
          type: string
        id:
          type: integer
        is_archived:
          description: True if model version is archived
          type: boolean
        is_reference:
          type: boolean
        model_type:
          type: string
        name:
          type: string
        project_id:
          type: integer
        source_model_version_id:
          description: 'For exports: source model'
          type: integer
        version:
          type: integer
        version_id:
          type: integer
      type: object
    types.APIError:
      properties:
        code:
          type: string
        details:
          type: string
        message:
          type: string
      type: object
    types.APIMeta:
      properties:
        count:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        total:
          type: integer
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT access token. Paste the token only; the Bearer prefix is added
        automatically.

````