Solar Shading Estimator API
Analysis

List analysis history for a site

Returns all past analysis results for a site, most recent first.

GET
/sites/{id}/analyses

Returns all past analysis results for a site, most recent first.

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/sites/string/analyses"
{  "statusCode": 200,  "message": "Analysis history retrieved successfully",  "data": [    {      "id": "clx...",      "siteId": "clx...",      "createdAt": "2026-07-08T00:00:00.000Z",      "result": {        "siteId": "clx...",        "siteName": "Makati Roof",        "baseline": {          "ac_annual": 6200,          "ac_monthly": [            450,            480,            520,            550,            600,            620,            630,            610,            580,            530,            470,            420          ],          "capacity_factor": 0.18,          "kwh_per_kw": 1400,          "station_info": {}        },        "shading": {          "sampleDays": [            {              "name": "Summer Solstice",              "date": "2026-06-21",              "daylightHours": 15,              "shadedHours": 3,              "percentShaded": 20            }          ],          "averageShadingLoss": 18.75        },        "adjusted": {          "adjustedAnnual": 5040,          "adjustedMonthly": [            366,            390,            423,            448,            488,            504,            512,            496,            472,            431,            382,            342          ]        }      }    }  ]}