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

# List base models available for fine-tuning

> Keys of FINETUNE_BASE_MODEL_ALLOWLIST for the create-dataset dropdown.

Declared before ``/datasets/{job_id}`` so the literal path wins over the
UUID-typed param route.



## OpenAPI

````yaml get /api/finetune/datasets/base-models
openapi: 3.1.0
info:
  title: Nx1 AI API
  description: |

    AI API for Nx1 Data Platform Management and Automated Data Tasks.

    Authentication is required via PSK in Authorization header.

    Default PSK is | [ask a friend] |
  version: 0.10.2
servers: []
security: []
paths:
  /api/finetune/datasets/base-models:
    get:
      tags:
        - AutoLLM
      summary: List base models available for fine-tuning
      description: |-
        Keys of FINETUNE_BASE_MODEL_ALLOWLIST for the create-dataset dropdown.

        Declared before ``/datasets/{job_id}`` so the literal path wins over the
        UUID-typed param route.
      operationId: list_base_models_api_finetune_datasets_base_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FineTuneBaseModelsResponse'
      security:
        - OAuth2AuthorizationCodeBearer: []
        - APIKeyHeader: []
components:
  schemas:
    FineTuneBaseModelsResponse:
      properties:
        base_models:
          items:
            type: string
          type: array
          title: Base Models
      type: object
      title: FineTuneBaseModelsResponse
      description: >-
        Base models a caller may fine-tune (keys of
        FINETUNE_BASE_MODEL_ALLOWLIST).


        Empty when the environment hasn't provisioned base models yet — the UI

        then falls back to free-text entry (dataset generation is still
        allowed).
  securitySchemes:
    OAuth2AuthorizationCodeBearer:
      type: oauth2
      flows:
        authorizationCode:
          scopes: {}
          authorizationUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/auth
          tokenUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/token
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization-PSK

````