> ## 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 training jobs

> Paginated list of training jobs.



## OpenAPI

````yaml get /api/automl/train/jobs
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/automl/train/jobs:
    get:
      tags:
        - AutoML Training
      summary: List training jobs
      description: Paginated list of training jobs.
      operationId: list_training_jobs_api_automl_train_jobs_get
      parameters:
        - name: domain
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Domain
        - name: owner
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Owner
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/AutoMLTrainingJobStatus'
              - type: 'null'
            title: Status
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 500
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoMLTrainingJobsList'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2AuthorizationCodeBearer: []
        - APIKeyHeader: []
components:
  schemas:
    AutoMLTrainingJobStatus:
      type: string
      enum:
        - ready
        - queued
        - running
        - complete
        - failed
      title: AutoMLTrainingJobStatus
      description: |-
        Lifecycle of an AutoML training job.

        - `READY`: DAG uploaded but not yet triggered. The user opted out of
          auto-trigger at create time. Manual trigger flips it to `QUEUED`.
        - `QUEUED`: DAG triggered, waiting for Airflow to pick it up.
        - `RUNNING`: Airflow has the run going.
        - `COMPLETE`/`FAILED`: terminal.
    AutoMLTrainingJobsList:
      properties:
        items:
          items:
            $ref: '#/components/schemas/AutoMLTrainingJobSummary'
          type: array
          title: Items
        total:
          type: integer
          title: Total
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
        - items
        - total
        - limit
        - offset
      title: AutoMLTrainingJobsList
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AutoMLTrainingJobSummary:
      properties:
        job_id:
          type: string
          format: uuid
          title: Job Id
        name:
          type: string
          title: Name
        domain:
          type: string
          title: Domain
        owner:
          type: string
          title: Owner
        problem_type:
          $ref: '#/components/schemas/ProblemType'
        algorithm:
          $ref: '#/components/schemas/AutoMLAlgorithm'
        status:
          $ref: '#/components/schemas/AutoMLTrainingJobStatus'
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - job_id
        - name
        - domain
        - owner
        - problem_type
        - algorithm
        - status
        - created_at
        - updated_at
      title: AutoMLTrainingJobSummary
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ProblemType:
      type: string
      enum:
        - binary_classification
        - multiclass_classification
        - regression
        - ranking
        - anomaly_detection
        - contextual_bandit
      title: ProblemType
      description: Supervised / unsupervised problem categories.
    AutoMLAlgorithm:
      type: string
      enum:
        - lightgbm_classifier
        - lightgbm_regressor
        - lightgbm_ranker
        - xgboost_classifier
        - xgboost_regressor
        - xgboost_ranker
        - isolation_forest
        - vw_classifier
        - vw_regressor
        - vw_contextual_bandit
      title: AutoMLAlgorithm
      description: Supported AutoML algorithms.
  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

````