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

# Get a Forecaster Model

> Retrieves the status and details of a training job specified by its ID.



## OpenAPI

````yaml openapi-forecaster GET /forecaster/{id}
openapi: 3.0.1
info:
  title: Omnifuel Forecasting
  description: The forecasting API
  version: 1.0.0
servers:
  - url: https://api.omnifuel.ai/v1
security:
  - api_key: []
    bearerAuth: []
paths:
  /forecaster/{id}:
    get:
      summary: Get training job status
      description: Retrieves the status and details of a training job specified by its ID.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The ID of the training job to retrieve.
      responses:
        '200':
          description: Training job details retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  createdAt:
                    type: string
                    format: date-time
                  trainingStartedAt:
                    type: string
                    format: date-time
                  trainingEndedAt:
                    type: string
                    format: date-time
                example:
                  id: abc1234-5678-9101-1121-314151617181
                  status: InProgress
                  createdAt: '2024-01-01T10:00:00Z'
                  trainingStartedAt: '2024-01-01T10:30:00Z'
                  trainingEndedAt: null
        '404':
          description: Training job not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                example:
                  message: >-
                    Training job with ID abc1234-5678-9101-1121-314151617181 not
                    found.
        '500':
          description: Error retrieving the training job
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  error:
                    type: boolean
                example:
                  message: Error retrieving training job
                  error: true
components:
  securitySchemes:
    api_key:
      type: apiKey
      name: x-api-key
      in: header
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````