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

# Get model providers

> Get all configured model providers.



## OpenAPI

````yaml /public-apis/openapi/models.json get /v1/models
openapi: 3.0.0
info:
  version: 1.0.0
  contact:
    name: Maxim Engineering
    email: eng@getmaxim.ai
  title: Maxim SDK API - models
  description: API documentation for Maxim SDK models endpoints
servers:
  - url: https://api.getmaxim.ai
security: []
paths:
  /v1/models:
    get:
      tags:
        - Models
      summary: Get model providers
      description: Get all configured model providers.
      parameters:
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
            description: Whether to include models in the response
          required: false
          name: includeModels
          in: query
      responses:
        '200':
          description: Model providers retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                          description: Provider name (e.g., openai, anthropic, azure)
                        accountId:
                          type: string
                        workspaceId:
                          type: string
                          nullable: true
                        keys:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                              value:
                                type: string
                                description: Masked API key value
                              providerId:
                                type: string
                              enabled:
                                type: boolean
                              meta:
                                nullable: true
                              customPricingStructureId:
                                type: string
                                nullable: true
                              models:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    id:
                                      type: string
                                    label:
                                      type: string
                                    name:
                                      type: string
                                    provider:
                                      type: string
                                    config:
                                      nullable: true
                                  required:
                                    - id
                                    - label
                                    - name
                                    - provider
                                description: Included when includeModels=true
                              createdAt:
                                type: string
                              updatedAt:
                                type: string
                            required:
                              - id
                              - name
                              - value
                              - providerId
                              - enabled
                              - createdAt
                              - updatedAt
                        createdAt:
                          type: string
                        updatedAt:
                          type: string
                      required:
                        - id
                        - name
                        - accountId
                        - keys
                        - createdAt
                        - updatedAt
                required:
                  - data
        '400':
          description: Invalid request parameters
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.