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

# List all models

> Returns an array of all active model versions with filtering and sorting capabilities.



## OpenAPI

````yaml GET /models
openapi: 3.1.0
info:
  title: Mangrove - API
  version: 1.1.0
servers:
  - url: https://app.gomangrove.com/api/v1
security:
  - sec0: []
paths:
  /models:
    get:
      summary: List all models
      description: >-
        Returns an array of all active model versions with filtering and sorting
        capabilities.
      operationId: list-all-models
      parameters:
        - name: filter[project_id][eq]
          in: query
          description: Filter by project ID
          schema:
            type: integer
        - name: page
          in: query
          schema:
            type: integer
            format: int32
            default: 1
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
            default: 10
        - name: sort
          in: query
          description: >-
            Comma-separated list of fields to sort by. Prefix with - for
            descending. Available fields: id, name, version, created_at,
            updated_at
          schema:
            type: string
            example: '-created_at'
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    data:
                      - id: mdl_abc123def456
                        name: Carbon Calculation Model
                        version: 1
                        is_latest: true
                        cadence: monthly
                        partition_type: feedstock
                        order: 1
                        created_at: '2025-01-15T10:00:00.000Z'
                        updated_at: '2025-01-15T10:00:00.000Z'
                    info:
                      items: 1
                      page_size: 10
                      total_items: 1
                      current_page: 1
                      next_page: null
                      previous_page: null
                      total_pages: 1
                      sort: []
                      filter: []
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: mdl_abc123def456
                        name:
                          type: string
                        version:
                          type: integer
                        is_latest:
                          type: boolean
                        cadence:
                          type: string
                        partition_type:
                          type: string
                        order:
                          type: integer
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                  info:
                    type: object
                    properties:
                      items:
                        type: integer
                      page_size:
                        type: integer
                      total_items:
                        type: integer
                      current_page:
                        type: integer
                      next_page:
                        type: integer
                        nullable: true
                      previous_page:
                        type: integer
                        nullable: true
                      total_pages:
                        type: integer
                      sort:
                        type: array
                        items: {}
                      filter:
                        type: array
                        items: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: ''

````