{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stremai-com/json-schema/stremai-com-micro-model-response-schema.json",
  "title": "MicroModelResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stremai-com-openapi.json#/components/schemas/MicroModelResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "task_cluster_id": {
      "type": "string",
      "title": "Task Cluster Id"
    },
    "cluster_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cluster Name"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "version": {
      "type": "integer",
      "title": "Version"
    },
    "base_model": {
      "type": "string",
      "title": "Base Model"
    },
    "adapter_type": {
      "type": "string",
      "title": "Adapter Type"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "training_examples": {
      "type": "integer",
      "title": "Training Examples"
    },
    "training_cost_usd": {
      "type": "number",
      "title": "Training Cost Usd"
    },
    "training_duration_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Training Duration Seconds"
    },
    "quality_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quality Score"
    },
    "accuracy": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Accuracy"
    },
    "teacher_model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Teacher Model"
    },
    "traffic_percent": {
      "type": "number",
      "title": "Traffic Percent"
    },
    "rollout_stage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rollout Stage"
    },
    "total_requests_served": {
      "type": "integer",
      "title": "Total Requests Served"
    },
    "total_savings_generated_usd": {
      "type": "number",
      "title": "Total Savings Generated Usd"
    },
    "payback_achieved": {
      "type": "boolean",
      "title": "Payback Achieved"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "task_cluster_id",
    "cluster_name",
    "name",
    "version",
    "base_model",
    "adapter_type",
    "status",
    "training_examples",
    "training_cost_usd",
    "training_duration_seconds",
    "quality_score",
    "accuracy",
    "teacher_model",
    "traffic_percent",
    "rollout_stage",
    "total_requests_served",
    "total_savings_generated_usd",
    "payback_achieved",
    "created_at",
    "updated_at"
  ]
}