v1

latestOpenAPI 3.1.02026-07-24398280.9 KB
Baseline forecasts

Get a main metric projection by its ID

Retrieves a main metric projection and its config by its ID.

get/v1/baseline_forecasts/main_metric_projections/{id}

Path parameters

idstring required

The ID of the main metric projection to retrieve

Response

Main metric projection retrieved successfully

Example response

{
  "config": {
    "startYear": "2025",
    "endYear": "2025",
    "projectionMethod": {
      "projectionMethod": "HISTORICAL_AVERAGE_GROWTH_RATE",
      "baseYear": "2025",
      "historicalPeriodStart": "2025",
      "historicalPeriodEnd": "2025"
    }
  },
  "projection": {
    "startYear": "2025",
    "endYear": "2025",
    "valuesBaseYear": "2025",
    "functionalUnit": {
      "defaultDisplayUnit": "kg",
      "supportedUnits": [
        "kg"
      ]
    },
    "displayUnit": "kg",
    "historicalValues": [
      {
        "year": "2025"
      }
    ],
    "projectedValues": [
      {
        "year": "2025"
      }
    ]
  }
}