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

# List Models

> List the models available to your API key. Use a returned `name` as the `model` field of a forecast, cross-validation or anomaly-detection request. A model absent here is one those endpoints would reject with 403.



## OpenAPI

````yaml /openapi.json get /v2/models
openapi: 3.1.0
info:
  title: Nixtla Forecast API
  description: >-
    API for TimeGPT forecast. Just send your data as json and get results. We do
    the heavy lifting.
  version: 0.4.3
servers:
  - url: https://api.nixtla.io
security: []
paths:
  /v2/models:
    get:
      summary: List Models
      description: >-
        List the models available to your API key. Use a returned `name` as the
        `model` field of a forecast, cross-validation or anomaly-detection
        request. A model absent here is one those endpoints would reject with
        403.
      operationId: v2_models_v2_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    ModelsResponse:
      properties:
        models:
          items:
            $ref: '#/components/schemas/ModelInfo'
          type: array
          title: Models
          description: Available models, sorted by name.
      type: object
      required:
        - models
      title: ModelsResponse
      description: >-
        The body of `GET /v2/models`, which the gateway and compute apps both
        serve.


        Which models appear is each endpoint's own business — the gateway scopes
        the list to the

        caller's entitlements, a compute container lists everything it serves —
        but the shape is

        declared once here so a client written against one deployment works
        against the other.
    ModelInfo:
      properties:
        name:
          type: string
          title: Name
          description: Model name to pass as the `model` field of a request body.
          examples:
            - timegpt-1
      type: object
      required:
        - name
      title: ModelInfo
      description: A single model in a `GET /v2/models` listing.
  securitySchemes:
    HTTPBearer:
      type: http
      description: HTTPBearer
      scheme: bearer

````