{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stremai-com/json-schema/stremai-com-training-job-response-schema.json",
  "title": "TrainingJobResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stremai-com-openapi.json#/components/schemas/TrainingJobResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "task_cluster_id": {
      "type": "string",
      "title": "Task Cluster Id"
    },
    "micro_model_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Micro Model Id"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "error_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Message"
    },
    "base_model": {
      "type": "string",
      "title": "Base Model"
    },
    "lora_rank": {
      "type": "integer",
      "title": "Lora Rank"
    },
    "epochs": {
      "type": "integer",
      "title": "Epochs"
    },
    "learning_rate": {
      "type": "number",
      "title": "Learning Rate"
    },
    "train_examples": {
      "type": "integer",
      "title": "Train Examples"
    },
    "eval_examples": {
      "type": "integer",
      "title": "Eval Examples"
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "external_job_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "External Job Id"
    },
    "weights_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Weights Path"
    },
    "training_loss": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Training Loss"
    },
    "eval_loss": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Eval Loss"
    },
    "training_cost_usd": {
      "type": "number",
      "title": "Training Cost Usd"
    },
    "training_duration_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Training Duration Seconds"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "started_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Started At"
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completed At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "task_cluster_id",
    "micro_model_id",
    "status",
    "error_message",
    "base_model",
    "lora_rank",
    "epochs",
    "learning_rate",
    "train_examples",
    "eval_examples",
    "provider",
    "external_job_id",
    "weights_path",
    "training_loss",
    "eval_loss",
    "training_cost_usd",
    "training_duration_seconds",
    "created_at",
    "started_at",
    "completed_at"
  ]
}