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

# List Models

> Get all available models with enhanced filtering capabilities and comprehensive taxonomy data.



## OpenAPI

````yaml /openapi.json get /api/v2/models
openapi: 3.1.0
info:
  title: Legitmark Partner API
  description: Comprehensive partner integration API for Legitmark authentication platform
  version: 2.0.0
  contact:
    name: Legitmark Support
    email: support@legitmark.com
    url: https://legitmark.com
servers:
  - url: https://api.legitmark.com
    description: Production API
security:
  - BearerAuth: []
tags:
  - name: Service Requests
    description: Create, retrieve, and manage authentication service requests.
  - name: Media Management
    description: Upload images for service request authentication.
  - name: Taxonomy
    description: Browse categories, types, brands, models, and services to build requests.
paths:
  /api/v2/models:
    get:
      tags:
        - Taxonomy
      summary: List Models
      description: >-
        Get all available models with enhanced filtering capabilities and
        comprehensive taxonomy data.
      parameters:
        - name: page_size
          in: query
          description: Number of results per page
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
        - name: page_number
          in: query
          description: Page number
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: search_query
          in: query
          description: Search term for model names
          schema:
            type: string
        - name: brand_uuid
          in: query
          description: Filter by specific brand
          schema:
            type: string
            format: uuid
        - name: type_uuid
          in: query
          description: Filter by specific type
          schema:
            type: string
            format: uuid
        - name: category_uuid
          in: query
          description: Filter by specific category
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Models retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  rc_hit:
                    type: boolean
                    description: Indicates if the response was served from cache
                    example: true
                  rc_key:
                    type: string
                    description: Cache key used for this response
                    example: models:abc123
                  message:
                    type: string
                    example: All the models are fetched successfully.
                  models:
                    type: array
                    items:
                      type: object
                      properties:
                        uuid:
                          type: string
                          format: uuid
                        name:
                          type: string
                        feature:
                          type: boolean
                        sides:
                          type: array
                          items:
                            type: string
                        media:
                          type: string
                          nullable: true
                        brand:
                          type: object
                          nullable: true
                          properties:
                            uuid:
                              type: string
                              format: uuid
                            name:
                              type: string
                            media:
                              type: string
                              nullable: true
                            sides:
                              type: array
                              items:
                                type: string
                        types:
                          type: object
                          nullable: true
                        category:
                          type: object
                          nullable: true
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                  metadata:
                    type: object
                    description: Pagination metadata
                    properties:
                      total_count:
                        type: integer
                        description: Total number of items
                      page_number:
                        type: integer
                        description: Current page number
                      total_pages:
                        type: integer
                        description: Total number of pages
                      page_size:
                        type: integer
                        description: Number of items per page
                required:
                  - success
                  - message
                  - models
              example:
                success: true
                rc_hit: true
                rc_key: models:d883666bf43f39feef1c4f4dcd1ea54d
                message: All the models are fetched successfully.
                models:
                  - uuid: 8464ae2d-f98a-410b-99c7-7824dff0138e
                    name: Air Jordan 1 Low
                    feature: false
                    sides: []
                    media: null
                    brand:
                      uuid: 03e7eb07-5e1e-465d-92a6-228dcaa6b148
                      name: Air Jordan
                      media: https://cdn.legitmark.com/brands/air_jordan.png
                      sides: []
                    types: null
                    category: null
                    created_at: '2023-11-12T03:54:22.000Z'
                    updated_at: '2023-11-12T03:54:22.000Z'
                metadata:
                  total_count: 1250
                  page_number: 1
                  total_pages: 63
                  page_size: 20
      security: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token authentication. Use your API key in the format: Bearer
        leo_xxxxxxxx
      x-default: leo_your_api_key_here

````