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

# Export a project

> Exports a project as JSON. Returns the full project data for backup or import elsewhere.

**Parameters:**

- `projectId` (path, required): The unique identifier of the project to export.




## OpenAPI

````yaml /api-docs/api-reference/plantpredict-api.yaml get /Project/{projectId}/Export
openapi: 3.1.0
info:
  title: PlantPredict API
  version: 12.13.0
  description: >
    ## What is PlantPredict?


    PlantPredict is an industry-leading performance modeling platform for
    utility-scale

    solar power plants. It predicts energy yield across the full project
    lifecycle —

    from early-stage site prospecting through detailed engineering and
    operational

    monitoring. The same engine that powers the PlantPredict web UI is fully
    exposed

    via this REST API, enabling automation of complex, high-time-resolution
    energy

    predictions without any UI interaction.


    ## Domain Model — read this first


    Understanding the object hierarchy is essential before calling the API:


    - **Weather** — A weather file (hourly irradiance, temperature, wind, etc.)
    for a
      geographic location. Imported from a provider (e.g. SolarAnywhere, Meteonorm) or
      uploaded manually. Weather files live in a company-wide library and are referenced
      by Predictions.

    - **Module** — A PV module definition parameterized with electrical
    characteristics
      (STC power, temperature coefficients, single-diode model parameters, IAM curves,
      etc.). Modules live in a company-wide library.

    - **Inverter** — An inverter definition with efficiency curves,
    voltage/power ratings,
      and optional kVA derating curves. Inverters live in a company-wide library.

    - **Project** — A named location (lat/lon) that acts as a container for one
    or more
      Predictions. Holds geographic metadata (country, elevation, UTC offset) and a status.

    - **Prediction** — The core simulation configuration nested under a Project.
    Defines
      the simulation period, model selections (transposition, air mass, degradation,
      soiling, shading, spectral shift models), uncertainty error terms, and references
      to a Weather file. A Prediction must be linked to a PowerPlant before it can be run.
      Status values: 0 = Draft, 1 = Active, 2 = Issued, 3 = Archived.

    - **PowerPlant** — The physical plant design attached to a Prediction.
    Describes the
      electrical topology: Blocks → Arrays → Inverters → DC Fields (strings of modules).
      Also includes transformers, transmission lines, energy storage (ESS), availability
      losses, and LGIA export limits.

    - **Shade Scene** — An optional 3D shading model (PVJ format) attached to a
      Prediction's DC Fields. Supports import from PVC or SHD files. Shade and TABT
      (Tracker Angle Back-Tracking) calculations are queued and run asynchronously.

    ## Typical workflow to run a prediction


    1. Ensure a **Weather** file exists (search, download, or import one).

    2. Ensure a **Module** and **Inverter** exist in the library.

    3. **POST /Project** — create a project at the site location.

    4. **POST /Project/{projectId}/Prediction** — create a prediction with model
    settings.

    5. **POST /Project/{projectId}/Prediction/{predictionId}/PowerPlant** —
    attach a plant
       design referencing your module and inverter.
    6. **POST /Project/{projectId}/Prediction/{predictionId}/Run** — queue the
    simulation.

    7. Poll **GET /Project/{projectId}/Prediction/{predictionId}/Overview**
    until
       `status` reaches 2 (complete), then retrieve results via `/ResultSummary`,
       `/ResultDetails`, or `/NodalJson`.

    ## Authentication


    OAuth 2.0 **Client Credentials** flow via AWS Cognito. The spec advertises

    a single `bearerAuth` scheme — fetch a token yourself with the snippet

    below, then either paste it into the in-browser playground or pass it on

    every request as `Authorization: Bearer <token>`.


    > **Why not advertise OAuth2 directly?** Most users have access to the

    > production tenant only, and we don't want to invite anyone to enter

    > long-lived `client_id` / `client_secret` credentials into a third-party

    > documentation site. Keep credentials in your own environment; ship

    > short-lived bearer tokens to wherever they are needed.


    - Token URL:
    `https://terabase-prd.auth.us-west-2.amazoncognito.com/oauth2/token`

    - Scopes: `transactions/get` (read), `transactions/post` (write) — request
      both to access the entire surface.
    - Send credentials as **Basic Auth** in the token request header.


    Example:


    ```bash

    curl -X POST
    'https://terabase-prd.auth.us-west-2.amazoncognito.com/oauth2/token' \
      -u "$PP_CLIENT_ID:$PP_CLIENT_SECRET" \
      -d 'grant_type=client_credentials&scope=transactions/get transactions/post'
    ```


    API credentials (Client ID + Secret) are generated per user by a company
    admin

    inside the PlantPredict UI (gear icon → user profile → Generate API
    Credentials).

    Store them securely — they are shown only once.


    ## Notes


    - All request/response bodies are JSON (`Content-Type: application/json`).

    - The API is stateless — every request must supply complete inputs; there is
    no session.

    - POST operations that create entities return `{"id": <integer>}`.

    - Many integer fields (model types, status codes) map to named enums — use
      `GET /Definitions` to retrieve the full enum catalog at runtime.
    - Long-running operations (Run, Shade calculations, TABT) are asynchronous;
    poll
      the corresponding `ProcessingStatus` endpoint to track progress.
    - Responses may include an `X-Message` header with non-blocking warnings
    (e.g.
      duplicate project name).
servers:
  - url: https://api.plantpredict.terabase.energy
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Definitions
    description: Enum and model type definitions
  - name: Projects
    description: Solar project management
  - name: Predictions
    description: Energy prediction configuration and execution
  - name: PowerPlant
    description: Power plant design (blocks, arrays, inverters, transformers)
  - name: TimeSeries
    description: Custom time series data inputs
  - name: Results
    description: Prediction results — summary, details, nodal, average energy
  - name: FinancialModel
    description: Financial model parameters and cashflow results
  - name: Reports
    description: Report generation and export
  - name: ShadeScene
    description: 3D shade scene management and calculations
  - name: Weather
    description: Weather file import, download, and management
  - name: Inverters
    description: Inverter library management
  - name: Modules
    description: PV module library and single-diode parameter generation
  - name: ASHRAE
    description: ASHRAE climate station lookup
  - name: System
    description: System version and maintenance status
  - name: Company
    description: Company settings and user management
  - name: Country
    description: Reference country data
paths:
  /Project/{projectId}/Export:
    get:
      tags:
        - Projects
      summary: Export a project
      description: >
        Exports a project as JSON. Returns the full project data for backup or
        import elsewhere.


        **Parameters:**


        - `projectId` (path, required): The unique identifier of the project to
        export.
      operationId: exportProject
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Project export data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
              examples:
                postman-export:
                  value:
                    Latitude: 41.6528052
                    Longitude: -83.5378674
                    Country: United States
                    CountryCode: US
                    StateProvince: Ohio
                    StateProvinceCode: OH
                    Locality: Toledo
                    Region: North America
                    Elevation: 178.5460357666016
                    StandardOffsetFromUTC: -5
                    Predictions:
                      - Status: 2
                        Start: '2005-01-01T00:00:00'
                        End: '2005-12-31T23:00:00'
                        LastPublishedDateToQueue: null
                        StartIndex: 0
                        EndIndex: 0
                        YearRepeater: 1
                        TranspositionModel: 1
                        PerezCoefficients: 0
                        DiffuseDirectDecompModel: 3
                        CircumsolarTreatment: 0
                        DiffuseDirectDecompModelExecuted: false
                        UseMeteoDni: false
                        UseMeteoPOAI: false
                        UseBacksidePOAI: false
                        UseLeapYears: false
                        UseWeatherFileAlbedoData: false
                        UseMetastability: false
                        EnableLeTID: false
                        AirMassModel: 0
                        SoilingModel: 0
                        ModTempModel: 0
                        IncAngleModel: 5
                        DirectBeamShadingModel: 5
                        DegradationModel: 0
                        DiffuseShadingModel: 1
                        LinearDegradationRate: 0.5
                        FirstYearDegradation: false
                        NonLinearDegradationRates: []
                        LightAndElevatedTemperatureDegradationRates: []
                        ErrorModelAcc: 2.9
                        ErrorSensAcc: 5
                        ErrorIntAnnVar: 3
                        ErrorMonAcc: 2
                        ErrorSpaVar: 2
                        SiteResultList: null
                        SpectralShiftModel: 2
                        SpectralWeatherType: 0
                        PowerPlantId: 1185523
                        PowerPlant:
                          Id: 1185523
                          ResultList: null
                          Blocks:
                            - Name: 1
                              NodalExportOptions: null
                              ResultList: null
                              Arrays:
                                - Name: 1
                                  ResultList: null
                                  Inverters:
                                    - Name: A
                                      ResultList: null
                                      DCFields:
                                        - Name: 1
                                          ModuleId: 42930
                                          Module:
                                            Status: 3
                                            Model: CS6W-560TB-AG 1500V
                                            Manufacturer: CSI Solar Co., Ltd.
                                            Length: 2278
                                            Width: 1134
                                            Weight: 32.3
                                            DefaultOrientation: 1
                                            NumberOfCellsInSeries: 72
                                            NumberOfCellsInParallel: 2
                                            STCShortCircuitCurrent: 13.69
                                            STCOpenCircuitVoltage: 51.40000000001521
                                            STCMPPCurrent: 13.059968913682152
                                            STCMPPVoltage: 42.97039999999989
                                            STCMaxPower: 560
                                            STCPowerTempCoef: -0.2978960659351747
                                            STCShortCircuitCurrentTempCoef: 0.05040175310445581
                                            STCOpenCircuitVoltageTempCoef: -0.25
                                            STCEfficiency: 21.724739537606087
                                            MinTolerance: 0
                                            MaxTolerance: 1.8
                                            CellTechnologyType: 2
                                            ConstructionType: 2
                                            Faciality: 1
                                            BifacialityFactor: 80
                                            TransmissionFactor: 0
                                            BackSideMismatch: 3
                                            DataSource: 1
                                            LightInducedDegradation: 1.5
                                            ModuleQuality: 0
                                            ModuleMismatchCoefficient: 1
                                            HeatBalanceConvectiveCoef: 0
                                            HeatBalanceConductiveCoef: 29
                                            SandiaConductiveCoef: -3.56
                                            SandiaConvectiveCoef: -0.075
                                            CellToModuleTempDiff: 3
                                            SaturationCurrentAtSTC: 1.430522027037574e-11
                                            SeriesResistanceAtSTC: 0.205
                                            ShuntResistanceAtSTC: 7500
                                            DiodeIdealityFactorAtSTC: 1.007220280461766
                                            ExponentialDependencyOnShuntResistance: 5.5
                                            DarkShuntResistance: 30000
                                            LinearTempDependenceOnGamma: -0.026929422499999824
                                            ShortCircuitCurrentAtSTC: 13.69
                                            RecombinationParameter: 0
                                            BuiltInVoltage: 0
                                            BandgapVoltage: 1.12
                                            LinearTempDependenceOnIsc: 0.05040175310445581
                                            HeatAbsorptionCoefAlphaT: 0.9
                                            ReferenceIrradiance: 1000
                                            ReferenceTemperature: 25
                                            AGamma: null
                                            BGamma: null
                                            CGamma: null
                                            DGamma: null
                                            SpectralResponse: 0
                                            PvModel: 1
                                            UseDefaultSandiaIAM: true
                                            UseDefaultTabularIAM: false
                                            SandiaSpectralA0: 0
                                            SandiaSpectralA1: 0
                                            SandiaSpectralA2: 0
                                            SandiaSpectralA3: 0
                                            SandiaSpectralA4: 0
                                            SandiaIAMB0: 6.038242275137197
                                            SandiaIAMB1: -0.5248112239136882
                                            SandiaIAMB2: 0.02130703918426116
                                            SandiaIAMB3: -0.00042240723312322523
                                            SandiaIAMB4: 0.000004091960268471147
                                            SandiaIAMB5: -1.5564126828688897e-8
                                            ASHRAEIAMB0: 0.05
                                            Spectral2B0: 0.85914
                                            Spectral2B1: -0.02088
                                            Spectral2B2: -0.0058853
                                            Spectral2B3: 0.12029
                                            Spectral2B4: 0.026814
                                            Spectral2B5: -0.001781
                                            IAMFactors:
                                              - Id: 428902
                                                IncidenceAngle: 20
                                                Factor: 1
                                              - Id: 428903
                                                IncidenceAngle: 40
                                                Factor: 1
                                              - Id: 428904
                                                IncidenceAngle: 60
                                                Factor: 1
                                              - Id: 428905
                                                IncidenceAngle: 65
                                                Factor: 0.99
                                              - Id: 428906
                                                IncidenceAngle: 70
                                                Factor: 0.96
                                              - Id: 428907
                                                IncidenceAngle: 75
                                                Factor: 0.92
                                              - Id: 428908
                                                IncidenceAngle: 80
                                                Factor: 0.84
                                              - Id: 428909
                                                IncidenceAngle: 85
                                                Factor: 0.72
                                              - Id: 428910
                                                IncidenceAngle: 90
                                                Factor: 0
                                            DegradationModel: 1
                                            LinearDegradationRate: 0.5
                                            NonLinearDegradationRates: null
                                            CellDesignType: 0
                                            UseAntiReflectiveCoating: false
                                            RefractiveIndex: 1.526
                                            RefractiveIndexOfARC: 1.29
                                            GlazingExtinctionCoef: 4
                                            GlazingThickness: 0.002
                                            PowerAtSTC: 0
                                            PowerAtSTCExcludingWiringLosses: 0
                                            EffectiveIrradianceResponse: null
                                            ElectricalShadingFractionalEffect: 100
                                            ModuleShadingResponse: 2
                                            IsMetastable: false
                                            MetastabilityProperties: null
                                            Id: 42930
                                            Name: CSI Solar Co., Ltd. CS6W-560TB-AG 1500V
                                            Description: null
                                            CompanyId: 1042
                                            Company: null
                                            OwnerId: 4876
                                            CreatedDate: '2023-02-18T01:32:52.38'
                                            LastModified: '2023-02-18T01:34:13.867'
                                            LastModifiedById: 4876
                                          TrackingType: 1
                                          ModuleOrientation: 1
                                          IrradianceOptimization: false
                                          IrradianceOptimizationType: 0
                                          RotationSpeed: 1
                                          NonIdealityFactor: 0.2
                                          TablesRemovedForPCS: 0
                                          TransverseSlope: null
                                          BaselineSlope: null
                                          NorthSouthRoadWidth: 0
                                          EastWestRoadWidth: 6.096011996927617
                                          ModulesHigh: 1
                                          ModulesWide: 26
                                          LateralIntermoduleGap: 0.02
                                          VerticalIntermoduleGap: 0.02
                                          FieldLength: 358.6684981684981
                                          FieldWidth: 99.09299999999999
                                          CollectorBandwidth: 2.278
                                          TableLength: 29484.5
                                          TablesPerRow: 12
                                          PostToPostSpacing: 5.694999999999999
                                          NumberOfRows: 18
                                          TableToTableSpacing: 0
                                          ModuleAzimuth: 180
                                          ModuleTilt: 54
                                          TrackingBacktrackingType: 1
                                          TrackerPitchAngleD: 0
                                          MinimumTrackingLimitAngleD: -60
                                          MaximumTrackingLimitAngleD: 60
                                          NightTimeStowAngleD: 0
                                          TrackerStowAngle: 0
                                          WindStowType: 0
                                          ArrayTechnologiesWindStowType: 0
                                          WindStowThreshold: null
                                          WindStowAngle: null
                                          PostHeight: 1.5
                                          StructureShading: 5
                                          BackSideMismatch: 3
                                          FieldDcPower: 3134.9999999999995
                                          ModulesWiredInSeries: 26
                                          NumberOfSeriesStringsWiredInParallel: 215.31593406593404
                                          PlannedModuleRating: 560
                                          ModTempModel: 0
                                          SandiaConductiveCoef: -3.56
                                          SandiaConvectiveCoef: -0.075
                                          CellToModuleTempDiff: 3
                                          HeatBalanceConductiveCoef: 29
                                          HeatBalanceConvectiveCoef: 0
                                          NominalOperatingCellTemperature: 45
                                          TransmittanceAbsorptance: 0.9
                                          ModuleMismatchCoefficient: 1
                                          ModuleQuality: 0
                                          LightInducedDegradation: 1.5
                                          TrackerLoadLoss: 2.028
                                          DCWiringLossAtSTC: 1.5
                                          DCHealth: 0
                                          InverterIdShadeSource: null
                                          MonthlySeasonalTiltFactors: []
                                          ResultList: null
                                          EffectiveResistanceAtSTC: 0
                                          TotalModuleArea: 0
                                          UIAMD: null
                                          UIAMG: null
                                          UshD: null
                                          UshG: null
                                          ModuleSurfaceTemperatureTimeSeriesId: null
                                          ModuleSurfaceTemperatureTimeSeries: null
                                          UseModuleSurfaceTempTimeSeries: false
                                          TrackingAngleTimeSeriesId: null
                                          TrackingAngleTimeSeries: null
                                          GroundCoverageRatio: 40
                                          CalculateDCFields: false
                                          ShadeObjects: []
                                          TableType: 0
                                          ShadingAlgorithm: 0
                                          Ground:
                                            EdgeOffset: 50
                                            Calculate: true
                                            Color: '#afaea4'
                                            Slope: 0
                                            SlopeAzimuth: 180
                                          LockModuleAzimuth: false
                                          LockModulesHigh: false
                                          LockPostHeight: false
                                          LockModulesWide: false
                                          LockNumberOfSeriesStringsWiredInParallel: false
                                          LockModulesWiredInSeries: false
                                          LockPostToPostSpacing: false
                                          LockMwAc: false
                                          LockNumberOfRows: false
                                          LockBacksideMismatch: false
                                          Repeater: 1
                                          Id: 3387869
                                          Description: null
                                      InverterId: 3880
                                      Inverter:
                                        Status: 5
                                        Model: '2500'
                                        Manufacturer: Demo
                                        PowerRated: 2500
                                        ApparentPower: 2750
                                        MinDCPowerThreshold: 5000
                                        MinVoltage: 800
                                        MaxMPPVoltage: 1450
                                        MaxAbsoluteVoltage: 1500
                                        MaxCurrent: 3508
                                        MaxElevation: 4000
                                        OutputVoltage: 550
                                        UsekVACurves: true
                                        UsePQCurves: false
                                        DataSource: 1
                                        EfficiencyCurves:
                                          - Id: 10567
                                            Voltage: 800
                                            EfficiencyPoints:
                                              - Id: 76185
                                                Power: 245.03
                                                Efficiency: 98.01
                                              - Id: 76186
                                                Power: 493.1
                                                Efficiency: 98.62
                                              - Id: 76187
                                                Power: 740.7
                                                Efficiency: 98.76
                                              - Id: 76188
                                                Power: 1234.63
                                                Efficiency: 98.77
                                              - Id: 76189
                                                Power: 1849.69
                                                Efficiency: 98.65
                                              - Id: 76190
                                                Power: 2461.25
                                                Efficiency: 98.45
                                          - Id: 10568
                                            Voltage: 900
                                            EfficiencyPoints:
                                              - Id: 76191
                                                Power: 244.6
                                                Efficiency: 97.84
                                              - Id: 76192
                                                Power: 492.35
                                                Efficiency: 98.47
                                              - Id: 76193
                                                Power: 739.73
                                                Efficiency: 98.63
                                              - Id: 76194
                                                Power: 1233.13
                                                Efficiency: 98.65
                                              - Id: 76195
                                                Power: 1847.06
                                                Efficiency: 98.51
                                              - Id: 76196
                                                Power: 2457.75
                                                Efficiency: 98.31
                                          - Id: 10569
                                            Voltage: 1200
                                            EfficiencyPoints:
                                              - Id: 76197
                                                Power: 243.48
                                                Efficiency: 97.39
                                              - Id: 76198
                                                Power: 491
                                                Efficiency: 98.2
                                              - Id: 76199
                                                Power: 738.08
                                                Efficiency: 98.41
                                              - Id: 76200
                                                Power: 1230.75
                                                Efficiency: 98.46
                                              - Id: 76201
                                                Power: 1842.56
                                                Efficiency: 98.27
                                              - Id: 76202
                                                Power: 2454.75
                                                Efficiency: 98.19
                                        kVACurves:
                                          - Id: 3872
                                            Elevation: 2000
                                            kVAPoints:
                                              - Id: 21335
                                                Temperature: -35
                                                kVA: 2750
                                              - Id: 21336
                                                Temperature: 45
                                                kVA: 2750
                                              - Id: 21337
                                                Temperature: 50
                                                kVA: 2500
                                              - Id: 21338
                                                Temperature: 60
                                                kVA: 0
                                          - Id: 3873
                                            Elevation: 3000
                                            kVAPoints:
                                              - Id: 21339
                                                Temperature: -35
                                                kVA: 2250
                                              - Id: 21340
                                                Temperature: 45
                                                kVA: 2250
                                              - Id: 21341
                                                Temperature: 50
                                                kVA: 2025
                                              - Id: 21342
                                                Temperature: 60
                                                kVA: 0
                                          - Id: 3874
                                            Elevation: 4000
                                            kVAPoints:
                                              - Id: 21343
                                                Temperature: -35
                                                kVA: 1750
                                              - Id: 21344
                                                Temperature: 45
                                                kVA: 1750
                                              - Id: 21345
                                                Temperature: 50
                                                kVA: 1575
                                              - Id: 21346
                                                Temperature: 60
                                                kVA: 0
                                        PQCurves: null
                                        InverterType: 2
                                        Id: 3880
                                        Name: 'Demo Central 2500 '
                                        Description: copied for presentation on sep 2020
                                        CompanyId: 1
                                        Company: null
                                        OwnerId: 742
                                        CreatedDate: '2020-09-09T20:28:25.883'
                                        LastModified: '2020-09-15T18:28:12.46'
                                        LastModifiedById: 742
                                      SetpointkW: 2612.5
                                      PowerFactor: 0.95
                                      DesignDerate: 0.95
                                      kVARating: 2750
                                      TotalModuleArea: 0
                                      DerateTimeSeriesId: null
                                      DerateTimeSeries: null
                                      UseDerateTimeSeries: false
                                      SetPointTimeSeriesId: null
                                      SetPointTimeSeries: null
                                      UseSetPointTimeSeries: false
                                      VMPPAdjustmentTimeSeriesId: null
                                      VMPPAdjustmentTimeSeries: null
                                      UseVMPPTimeSeriesAdjustment: false
                                      IMPPAdjustmentTimeSeriesId: null
                                      IMPPAdjustmentTimeSeries: null
                                      UseIMPPTimeSeriesAdjustment: false
                                      Repeater: 1
                                      Id: 2975697
                                      Description: null
                                  ACCollectionLoss: 1
                                  DasLoad: 800
                                  CoolingLoad: 0
                                  AdditionalLosses: 0
                                  MatchTotalInverterkVA: true
                                  TransformerEnabled: true
                                  TransformerkVARating: 2750
                                  TransformerHighSideVoltage: 34.5
                                  TransformerNoLoadLoss: 0.2
                                  TransformerFullLoadLoss: 0.7
                                  TotalModules: 0
                                  TotalModuleArea: 0
                                  TrackerMotorLosses: 0
                                  Repeater: 1
                                  Id: 2720072
                                  Description: null
                              EnergizationDate: null
                              UseEnergizationDate: false
                              NumberOfModules: 0
                              TotalModuleArea: 0
                              Repeater: 1
                              Id: 1538513
                              Description: null
                          Transformers: []
                          TransmissionLines: []
                          ESS: null
                          ESS_Id: null
                          ExportSystem: false
                          ExportESS: false
                          LGIALimitTimeSeriesId: null
                          LGIALimitTimeSeries: null
                          UseLGIALimitTimeSeries: false
                          PowerFactor: 0.95
                          LGIALimitation: null
                          NighttimeDisconnect: false
                          AvailabilityLoss: null
                          UseCoolingTemp: true
                          DesiredDCACRatio: null
                          PowerPlantDesignType: 0
                          CustomArrayConfig: null
                          UseCustomArrayConfig: false
                          TotalModuleArea: 0
                          MaxMVTransformerVoltage: 0
                          MaximumPlantOutput: 0
                        MonthlyFactors:
                          - Month: 1
                            MonthName: Jan
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 2
                            MonthName: Feb
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 3
                            MonthName: Mar
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 4
                            MonthName: Apr
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 5
                            MonthName: May
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 6
                            MonthName: Jun
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 7
                            MonthName: Jul
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 8
                            MonthName: Aug
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 9
                            MonthName: Sep
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 10
                            MonthName: Oct
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 11
                            MonthName: Nov
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                          - Month: 12
                            MonthName: Dec
                            SoilingLoss: 2
                            Albedo: 0.2
                            SpectralShift: null
                        HorizonDetails: []
                        AshraeStation: TOLEDO CGS, OH, USA
                        AshraeVersion: 2021
                        Heat996: null
                        Cool996: 32.5
                        Max50Year: 39.4
                        Min50Year: -30.3
                        MinAnnualMeanDBTemp: -19.1
                        Elevation: 184
                        TimeZone: -5
                        Weather:
                          Status: 3
                          Distance: 0
                          Locality: Toledo
                          StateProvince: Ohio
                          StateProvinceCode: OH
                          Country: United States
                          CountryCode: US
                          Region: North America
                          Source: Meteonorm API
                          StationName: null
                          Format: 3
                          StationCode: null
                          Latitude: 41.6528053
                          Longitude: -83.5378647
                          Elevation: 186
                          TimeZone: -5
                          TimestampDefinition: 1
                          TimestampDefinitionOriginal: 1
                          TimeInterval: 60
                          StartDate: '2005-01-01T00:00:00'
                          EndDate: '2005-12-31T23:00:00'
                          GlobalHorizontalIrradianceSum: 1421.63
                          DiffuseHorizontalIrradianceSum: 664.06
                          DirectNormalIrradianceSum: 1350.69
                          PlaneOfArrayIrradianceSum: null
                          BacksidePlaneOfArrayIrradianceSum: null
                          AverageAirTemperature: 10.63
                          MaxAirTemperature: 34.99
                          AverageRelativeHumidity: 71.31
                          AverageWindSpeed: 3.82
                          AveragePrecipitableWater: null
                          AverageDewpoint: null
                          AverageSoilingLoss: null
                          AverageWindGust: null
                          RainfallSum: 832.77
                          AlbedoSum: null
                          AverageAlbedo: null
                          HasAlbedoData: false
                          WeatherDataModelVersion: 8.2.0.35136
                          DataProvider: 4
                          PLevel: 0
                          WindSensorHeight: 10
                          MonthlyFactors: []
                          WeatherDetails: null
                          DataType: 1
                          CustomerName: null
                          APILocked: false
                          APIDownloaded: true
                          WeatherFileKey: 00000000-0000-0000-0000-000000000000
                          OffsetMinutes: 0
                          UsingSytemKey: false
                          DetailsKey: null
                          ModuleTilt: null
                          ModuleAzimuth: null
                          TrackingType: null
                          TrackingBacktrackingType: null
                          MinimumTrackingLimitAngleD: null
                          MaximumTrackingLimitAngleD: null
                          TrackerPitchAngleD: null
                          TrackerStowAngle: null
                          GroundCoverageRatio: null
                          DownloadInfo: null
                          Id: 230763
                          Name: Meteonorm - 41.653N - 83.538W
                          Description: MN 41.65N --83.54W
                          CompanyId: 1042
                          Company: null
                          OwnerId: 8903
                          CreatedDate: '2025-01-21T17:02:07.227'
                          LastModified: '2025-01-21T17:02:07.227'
                          LastModifiedById: 8903
                        WeatherId: 230763
                        Project: null
                        ProjectId: 187749
                        ResultSummary: null
                        ResultSummaryId: null
                        FinancialModelParameters: null
                        FinancialModelParametersId: null
                        CashflowSummaryResult: null
                        CashflowSummaryResultId: null
                        ShadeSceneProperties: null
                        ShadeScenePropertiesId: 4297
                        ShadeEngineRunInfo: null
                        ShadeEngineRunInfo_Id: 6806
                        Shading3DModel: 0
                        TABTEngineRunInfo: null
                        TABTEngineRunInfo_Id: 802
                        PercentComplete: 0
                        ProcessingStatus: 0
                        ProcessingStep: 0
                        ProcessingMessage: Unknown
                        ResultDetail: null
                        PValues: []
                        IsReadOnly: false
                        PValuesString: ''
                        NodalData: false
                        HasTimeSeriesData: false
                        IsBatch: false
                        BatchPredictionId: null
                        ChildPredictions: null
                        BatchStepVariable: []
                        BatchQualified: true
                        LogicVersion: 12
                        MapKML: null
                        MapBuilderCreateDCAs: 0
                        UseMapBuilder: false
                        MapDesignData: null
                        ScenePropertiesKey: 00000000-0000-0000-0000-000000000000
                        Setback: 0
                        TargetDC: 0
                        WeatherLocked: false
                        ElectricalShadingFractionalEffect: 100
                        NumberOfModuleFractions: 0
                        TimeSeriesData: null
                        NumOfBlocks: 0
                        NumOfWeatherDetails: 0
                        HasObjectShading: false
                        NumOfShadingObjects: 0
                        Reports: null
                        ReportsId: 941620
                        CanImportAlbedoData: false
                        QueueMessageId: null
                        QueuePopReceipt: null
                        RunningOnVMName: null
                        RunCompletedDateTimeUTC: null
                        UseSpectral30: false
                        Spectral30B0: -0.0967
                        Spectral30B1: 0.0126
                        Spectral30B2: 0
                        Spectral30B3: 0.00223
                        Spectral30B4: 0
                        Spectral30B5: 0
                        Spectral30B6: 1.086
                        Id: 955415
                        Name: Scene Documentation
                        Description: null
                        CompanyId: 1042
                        Company: null
                        OwnerId: 8903
                        CreatedDate: '2025-11-25T16:21:07.213'
                        LastModified: '2025-11-25T16:22:16.553'
                        LastModifiedById: 8903
                    Status: 0
                    Distance: 0
                    Id: 187749
                    Name: Doc Generation
                    Description: null
                    CompanyId: 1042
                    Company: null
                    OwnerId: 8903
                    CreatedDate: '2024-10-23T13:04:30.243'
                    LastModified: '2024-10-23T13:04:30.243'
                    LastModifiedById: 8903
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    Project:
      type: object
      required:
        - name
        - latitude
        - longitude
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
        description:
          type:
            - string
            - 'null'
        latitude:
          type: number
          format: double
        longitude:
          type: number
          format: double
        elevation:
          type: number
          format: double
        country:
          type: string
        countryCode:
          type: string
        stateProvince:
          type: string
        stateProvinceCode:
          type: string
        locality:
          type: string
        region:
          type: string
        standardOffsetFromUTC:
          type: number
        status:
          type: integer
          description: ProjectStatusEnum
          enum:
            - 0
            - 1
            - 2
          x-enum-varnames:
            - Active
            - Archived
            - VoltagePro
        predictions:
          type:
            - array
            - 'null'
          items:
            type: object
        companyId:
          type: integer
          readOnly: true
        createdDate:
          type: string
          readOnly: true
          description: >-
            ISO-8601 datetime as returned by the PlantPredict API. May or may
            not include a timezone offset; treat as server-local when no offset
            is present.
  responses:
    Unauthorized:
      description: >-
        Missing or invalid bearer token. The response body is empty and no
        `Content-Type` header is set; the 401 status code is the only signal.
        Fetch a fresh token (see the **Authentication** section of the API
        description) and retry.
    NotFound:
      description: >-
        The referenced resource does not exist or is not accessible to the
        caller.
      content:
        text/plain:
          schema:
            type: string
          example: Project not found.
    ServerError:
      description: |
        Unexpected server-side error. The body is usually a plain-text message
        but its structure is not guaranteed — treat it as opaque diagnostic
        text. Common causes: database constraint violation, downstream
        service timeout, internal exception. Retry-safe for idempotent
        requests; for non-idempotent ones, verify state before retrying.
      content:
        text/plain:
          schema:
            type: string
          example: An error has occurred.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Pass `Authorization: Bearer <token>` on every request. See the
        **Authentication** section of the API description for how to fetch a
        token.

````