Solar Shading Estimator API
Analysis

Get a single analysis by ID

Retrieves a past analysis result by its unique ID.

GET
/analyses/{id}

Retrieves a past analysis result by its unique ID.

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/analyses/string"
{  "statusCode": 200,  "message": "Analysis 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        ]      }    }  }}