---
updatedAt: 2026-08-10T13:58:53.000Z
agentTools:
  projectIndex: https://support.scanifly.com/llms.txt
---

# Get event for an existing solar estimate request by ID and event ID

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/v1/solar-estimate/{estimateId}/events/{eventId}": {
      "get": {
        "operationId": "getEstimateEvent",
        "parameters": [
          {
            "name": "estimateId",
            "required": true,
            "in": "path",
            "description": "The ID of the estimate event to retrieve",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "eventId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The requested event.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenericSolarEstimateEventDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Invalid ID format."
          },
          "403": {
            "description": "Forbidden - Unauthorized to access requested resource."
          },
          "404": {
            "description": "Not Found - Estimate with the given Id not found."
          }
        },
        "summary": "Get event for an existing solar estimate request by ID and event ID",
        "tags": [
          "Solar Estimate"
        ]
      }
    }
  },
  "info": {
    "title": "Scanifly API",
    "description": "API Specifications for interacting with Scanifly",
    "version": "1.1",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.portal.scanifly.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "queryToken": {
        "type": "apiKey",
        "in": "query",
        "name": "access_token"
      },
      "headerToken": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-token"
      }
    },
    "schemas": {
      "GeocoordinatesDto": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "Latitude coordinate",
            "example": 39.7525,
            "minimum": -90,
            "maximum": 90
          },
          "longitude": {
            "type": "number",
            "description": "Longitude coordinate",
            "example": -105.0009,
            "minimum": -180,
            "maximum": 180
          }
        },
        "required": [
          "latitude",
          "longitude"
        ]
      },
      "SetbacksDto": {
        "type": "object",
        "properties": {
          "fireSetbacks": {
            "type": "number",
            "minimum": 1
          },
          "boxKeepouts": {
            "type": "number",
            "minimum": 1
          }
        }
      },
      "ModuleSpacingDto": {
        "type": "object",
        "properties": {
          "row": {
            "type": "number",
            "minimum": 1
          },
          "column": {
            "type": "number",
            "minimum": 1
          }
        },
        "required": [
          "row",
          "column"
        ]
      },
      "ModuleSpecDto": {
        "type": "object",
        "properties": {
          "length": {
            "type": "number",
            "minimum": 1,
            "description": "The length of the module in millimeters.",
            "example": "1727.2"
          },
          "width": {
            "type": "number",
            "minimum": 1,
            "description": "The width of the module in millimeters.",
            "example": "1203.96"
          },
          "uuid": {
            "type": "string",
            "format": "uuid"
          },
          "model": {
            "type": "string"
          },
          "manufacturer_name": {
            "type": "string"
          },
          "series": {
            "type": "string"
          },
          "depth": {
            "type": "number",
            "minimum": 1
          },
          "rated_power": {
            "type": "number",
            "minimum": 1
          },
          "efficiency": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "backsheet_colors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "frame_colors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cell_colors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "length",
          "width",
          "uuid",
          "model",
          "manufacturer_name",
          "series",
          "depth",
          "rated_power",
          "efficiency",
          "backsheet_colors",
          "frame_colors",
          "cell_colors"
        ]
      },
      "PVWattsConfigDto": {
        "type": "object",
        "properties": {
          "losses": {
            "type": "number",
            "minimum": 0,
            "maximum": 99,
            "description": "System losses as a percentage (%)",
            "example": 14,
            "default": 14
          },
          "array_type": {
            "type": "number",
            "minimum": 0,
            "maximum": 4,
            "description": "Type of array mounting: 0=Fixed Open Rack, 1=Fixed Roof Mount, 2=1-Axis Tracking, 3=1-Axis Backtracking, 4=2-Axis Tracking.",
            "example": 1,
            "default": 1,
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "inv_eff": {
            "type": "number",
            "minimum": 90,
            "maximum": 99.5,
            "description": "Inverter efficiency as a percentage (%)",
            "example": 96,
            "default": 96
          },
          "dc_ac_ratio": {
            "type": "number",
            "minimum": 0,
            "description": "DC-to-AC ratio",
            "example": 1.2,
            "default": 1.2
          },
          "bifaciality": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Bifaciality factor (fraction of rear-side irradiance converted to power relative to front-side). Only used if bifacial modules selected.",
            "example": 0.7
          },
          "soiling": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Soiling loss percentage (%). Represents reduction in power due to dirt/snow/etc.",
            "example": 2
          },
          "module_type": {
            "type": "number",
            "minimum": 0,
            "maximum": 2,
            "description": "Type of module: 0=Standard, 1=Premium (higher efficiency, lower temp coefficient), 2=Thin Film (lower efficiency, better temp coefficient).",
            "example": 0,
            "default": "Inferred from moduleSpec if provided, otherwise 0",
            "enum": [
              0,
              1,
              2
            ]
          }
        }
      },
      "EstimateConfigDto": {
        "type": "object",
        "properties": {
          "setbacks": {
            "description": "Setback, distance from edges or keepouts for modules",
            "allOf": [
              {
                "$ref": "#/components/schemas/SetbacksDto"
              }
            ]
          },
          "moduleSpacing": {
            "description": "Spacing between modules",
            "allOf": [
              {
                "$ref": "#/components/schemas/ModuleSpacingDto"
              }
            ]
          },
          "targetConsumptionOffset": {
            "type": "number",
            "description": "Target consumption offset",
            "default": 100
          },
          "moduleSpec": {
            "description": "Module specification",
            "allOf": [
              {
                "$ref": "#/components/schemas/ModuleSpecDto"
              }
            ]
          },
          "pvWattsConfig": {
            "description": "Configuration to be passed on to PVWatts for production calculation",
            "allOf": [
              {
                "$ref": "#/components/schemas/PVWattsConfigDto"
              }
            ]
          },
          "orientation": {
            "enum": [
              "portrait",
              "landscape",
              "mixed"
            ],
            "type": "string",
            "description": "Orientation of modules used during panel placement"
          },
          "minimumAsa": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum ASA Value for panel placement",
            "default": 0
          },
          "minimumTsrf": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum TSRF Value for panel placement",
            "default": 0
          }
        }
      },
      "InstallerConfigDto": {
        "type": "object",
        "properties": {
          "setbacks": {
            "description": "Setback, distance from edges or keepouts for modules",
            "allOf": [
              {
                "$ref": "#/components/schemas/SetbacksDto"
              }
            ]
          },
          "moduleSpacing": {
            "description": "Spacing between modules",
            "allOf": [
              {
                "$ref": "#/components/schemas/ModuleSpacingDto"
              }
            ]
          },
          "targetConsumptionOffset": {
            "type": "number",
            "description": "Target consumption offset",
            "default": 100
          },
          "moduleSpec": {
            "description": "Module specification",
            "allOf": [
              {
                "$ref": "#/components/schemas/ModuleSpecDto"
              }
            ]
          },
          "pvWattsConfig": {
            "description": "Configuration to be passed on to PVWatts for production calculation",
            "allOf": [
              {
                "$ref": "#/components/schemas/PVWattsConfigDto"
              }
            ]
          },
          "orientation": {
            "enum": [
              "portrait",
              "landscape",
              "mixed"
            ],
            "type": "string",
            "description": "Orientation of modules used during panel placement"
          },
          "minimumAsa": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum ASA Value for panel placement",
            "default": 0
          },
          "minimumTsrf": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum TSRF Value for panel placement",
            "default": 0
          },
          "installerId": {
            "type": "string",
            "format": "uuid",
            "description": "Energy Sage provided Installer UUID",
            "example": "e58a1b2c-64d4-4e87-9d09-1f1d2e3c4b5a"
          },
          "installerName": {
            "type": "string",
            "description": "Installer Name"
          }
        },
        "required": [
          "installerId",
          "installerName"
        ]
      },
      "ProcessingConfigUpdatedEventDto": {
        "type": "object",
        "properties": {
          "fileName": {
            "type": "string",
            "enum": [
              "panelplacement_config.json",
              "energytarget.json"
            ],
            "description": "The name of the config file"
          },
          "fileContents": {
            "type": "string",
            "description": "File contents as stringified JSON"
          }
        },
        "required": [
          "fileName",
          "fileContents"
        ]
      },
      "ConfigUpdateFailedEventDto": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message that caused the config update to fail"
          }
        },
        "required": [
          "message"
        ]
      },
      "EstimateStartEventDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the SolarAi request",
            "example": "pending"
          },
          "info": {
            "type": "object",
            "description": "Additional info from startSolarAi call",
            "properties": {
              "pid": {
                "type": "number",
                "example": 1
              },
              "hostname": {
                "type": "string",
                "example": "celery@estimator-5ff89cc7b4-bwg82"
              }
            }
          }
        },
        "required": [
          "status",
          "info"
        ]
      },
      "ProcessingStartFailedEventDto": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message from processing start failure"
          }
        },
        "required": [
          "message"
        ]
      },
      "ItemizedConfidenceScoresDto": {
        "type": "object",
        "properties": {
          "overallScore": {
            "type": "number",
            "example": "0.803925"
          },
          "sharpnessScore": {
            "type": "number",
            "example": "0.863"
          },
          "noiseScore": {
            "type": "number",
            "example": "0.921"
          },
          "exposureScore": {
            "type": "number",
            "example": "0.56"
          },
          "shadowScore": {
            "type": "number",
            "example": "0.99"
          },
          "treeScore": {
            "type": "number",
            "example": "0.95"
          }
        },
        "required": [
          "overallScore",
          "sharpnessScore",
          "noiseScore",
          "exposureScore",
          "shadowScore",
          "treeScore"
        ]
      },
      "ConfidenceScoreDto": {
        "type": "object",
        "properties": {
          "qualityLabel": {
            "enum": [
              "GOOD",
              "FAIR",
              "POOR"
            ],
            "type": "string",
            "description": "Quality label"
          },
          "scores": {
            "description": "Scores",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemizedConfidenceScoresDto"
            }
          }
        },
        "required": [
          "qualityLabel",
          "scores"
        ]
      },
      "ResultSegmentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "description": "ID of the segment"
          },
          "area": {
            "type": "number",
            "description": "Area of segment in square meters.",
            "example": "63.9"
          },
          "averageAsa": {
            "type": "number",
            "nullable": true,
            "description": "Average Annual Solar Access (ASA) for the entire segment. Null if shade data is not available due to a higher priority on speed.",
            "example": "0.81471874"
          },
          "averageTsrf": {
            "type": "number",
            "nullable": true,
            "description": "Average Total Solar Resource Fraction (TSRF) for the entire segment. Null if shade data is not available due to a higher priority on speed.",
            "example": "0.70591158"
          },
          "azimuth": {
            "type": "number",
            "description": "Azimuth of the segment. 0 - 359 degrees",
            "example": "98.356332"
          },
          "tilt": {
            "type": "number",
            "description": "Tilt of the segment",
            "example": "11.28099"
          },
          "moduleCount": {
            "type": "number",
            "description": "Number of modules in segment",
            "example": "6"
          },
          "tof": {
            "type": "number",
            "nullable": true,
            "description": "Tilt and Orientation Factor (TOF) of the segment. Null if shade data is not available due to a higher priority on speed.",
            "example": "0.8679244"
          }
        },
        "required": [
          "id",
          "area",
          "averageAsa",
          "averageTsrf",
          "azimuth",
          "tilt",
          "moduleCount",
          "tof"
        ]
      },
      "NearmapUsageDto": {
        "type": "object",
        "properties": {
          "requested": {
            "type": "boolean",
            "description": "Whether the run asked for Nearmap imagery."
          },
          "configuredDefault": {
            "type": "boolean",
            "description": "Whether the company's configuration enables Nearmap by default."
          },
          "effectiveEnabled": {
            "type": "boolean",
            "description": "Whether Nearmap was enabled for this run once the request and the configured default were combined."
          },
          "decisionSource": {
            "type": "string",
            "description": "What decided that Nearmap would be used, e.g. `task_param`."
          },
          "inputSource": {
            "type": "string",
            "description": "Where the imagery was obtained from, e.g. `internal_fetch`."
          },
          "attempted": {
            "type": "boolean",
            "description": "Whether the pipeline tried to obtain Nearmap imagery."
          },
          "used": {
            "type": "boolean",
            "description": "Whether Nearmap imagery was used to produce the results."
          },
          "scope": {
            "type": "string",
            "description": "What the imagery was used for, e.g. `estimator_render_texture`."
          },
          "finalSource": {
            "type": "string",
            "description": "The imagery provider the results were actually built from. This is what the lead is charged for."
          },
          "fallbackUsed": {
            "type": "boolean",
            "description": "Whether Nearmap was requested but unavailable, so the run fell back to another provider."
          },
          "fallbackReason": {
            "type": "string",
            "nullable": true,
            "description": "Why Nearmap imagery was not used. Null when there is nothing to report."
          }
        }
      },
      "DefaultEstimateCompleteEventDto": {
        "type": "object",
        "properties": {
          "confidenceScore": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfidenceScoreDto"
            }
          },
          "modulePlacementImageUrl": {
            "type": "string",
            "description": "Image URL of module placement"
          },
          "monthlyProduction": {
            "description": "Monthly energy production values (kWh)",
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "annualProduction": {
            "type": "number",
            "description": "Annual production in kWh"
          },
          "moduleCount": {
            "type": "number",
            "description": "Number of modules in layout"
          },
          "imageryDate": {
            "type": "string",
            "description": "Date of satellite imagery"
          },
          "imageQuality": {
            "type": "string",
            "description": "Quality of imagery used"
          },
          "hasExistingPanels": {
            "type": "boolean",
            "description": "Indicates if existing solar panels have been detected."
          },
          "totalRoofArea": {
            "type": "number",
            "description": "Total roof area in square metres."
          },
          "weightedTsrfValue": {
            "type": "number",
            "description": "Weighted Total Solar Resource Fraction (TSRF) value for the estimate."
          },
          "usableRoofArea": {
            "type": "number",
            "description": "Usable roof area in square metres, after setbacks and obstructions are removed."
          },
          "segments": {
            "description": "Segment specific results.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResultSegmentDto"
            }
          },
          "nearmapUsage": {
            "description": "What the processing service did about Nearmap imagery, exactly as it reported it. Absent on estimates completed before the report existed, which were all built from Google imagery.",
            "allOf": [
              {
                "$ref": "#/components/schemas/NearmapUsageDto"
              }
            ]
          }
        },
        "required": [
          "confidenceScore",
          "modulePlacementImageUrl",
          "monthlyProduction",
          "annualProduction",
          "moduleCount"
        ]
      },
      "InstallerEstimateCompleteEventDto": {
        "type": "object",
        "properties": {
          "installerId": {
            "type": "string",
            "description": "Installer ID for whom this estimate applies"
          },
          "confidenceScore": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfidenceScoreDto"
            }
          },
          "modulePlacementImageUrl": {
            "type": "string",
            "description": "Image URL of module placement"
          },
          "monthlyProduction": {
            "description": "Monthly energy production values (kWh)",
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "annualProduction": {
            "type": "number",
            "description": "Annual production in kWh"
          },
          "moduleCount": {
            "type": "number",
            "description": "Number of modules in layout"
          },
          "imageryDate": {
            "type": "string",
            "description": "Date of satellite imagery"
          },
          "imageQuality": {
            "type": "string",
            "description": "Quality of imagery used"
          },
          "hasExistingPanels": {
            "type": "boolean",
            "description": "Indicates if existing solar panels have been detected."
          },
          "totalRoofArea": {
            "type": "number",
            "description": "Total roof area in square metres."
          },
          "weightedTsrfValue": {
            "type": "number",
            "description": "Weighted Total Solar Resource Fraction (TSRF) value for the estimate."
          },
          "usableRoofArea": {
            "type": "number",
            "description": "Usable roof area in square metres, after setbacks and obstructions are removed."
          },
          "segments": {
            "description": "Segment specific results.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResultSegmentDto"
            }
          },
          "nearmapUsage": {
            "description": "What the processing service did about Nearmap imagery, exactly as it reported it. Absent on estimates completed before the report existed, which were all built from Google imagery.",
            "allOf": [
              {
                "$ref": "#/components/schemas/NearmapUsageDto"
              }
            ]
          }
        },
        "required": [
          "installerId",
          "confidenceScore",
          "modulePlacementImageUrl",
          "monthlyProduction",
          "annualProduction",
          "moduleCount"
        ]
      },
      "AggregateEstimateCompleteEventDto": {
        "type": "object",
        "properties": {
          "default": {
            "$ref": "#/components/schemas/DefaultEstimateCompleteEventDto"
          },
          "installers": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "ProcessingErrorEventDto": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "enum": [
              "Missing results for installer.",
              "No results returned from processing service on complete."
            ],
            "description": "Reason for the error"
          },
          "installerId": {
            "type": "string",
            "description": "Installer ID if relevant"
          },
          "message": {
            "type": "string",
            "description": "Error message if relevant"
          }
        },
        "required": [
          "reason"
        ]
      },
      "WeatherDataErrorEventDto": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "enum": [
              "Unable to retrieve NREL weather data."
            ],
            "description": "Reason for the error"
          }
        },
        "required": [
          "reason"
        ]
      },
      "StartGenericSolarEstimateRequestDto": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "maxLength": 255,
            "description": "Optional caller-supplied external reference string",
            "example": "my-external-ref-123"
          },
          "address": {
            "type": "string",
            "maxLength": 500,
            "description": "Full address for the estimate location",
            "example": "1600 Amphitheatre Parkway, Mountain View, CA 94043"
          },
          "geocoordinates": {
            "description": "Geographic coordinates (optional)",
            "allOf": [
              {
                "$ref": "#/components/schemas/GeocoordinatesDto"
              }
            ]
          },
          "monthlyConsumption": {
            "minItems": 12,
            "maxItems": 12,
            "description": "Monthly energy consumption in kWh (12 numbers, Jan=index 0)",
            "example": [
              100,
              110,
              120,
              130,
              140,
              150,
              160,
              150,
              140,
              130,
              120,
              110
            ],
            "type": "array",
            "items": {
              "type": "number",
              "minimum": 0
            }
          },
          "defaultConfig": {
            "description": "Default estimate configuration (optional)",
            "allOf": [
              {
                "$ref": "#/components/schemas/EstimateConfigDto"
              }
            ]
          },
          "installerConfigs": {
            "minItems": 1,
            "maxItems": 100,
            "description": "Installer-specific configurations (optional)",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstallerConfigDto"
            }
          },
          "useNearmap": {
            "type": "boolean",
            "description": "Build this estimate from Nearmap imagery instead of Google. Nearmap is not available everywhere: when it cannot be used the run falls back to Google rather than failing, and the estimate is billed for the imagery that was actually delivered, not the imagery that was requested. Requesting Nearmap reserves credits at the Nearmap rate, so a request can be refused with 402 even when the run would have fallen back to the cheaper source.",
            "example": true,
            "default": false
          }
        },
        "required": [
          "address"
        ]
      },
      "GenericSolarEstimateEventDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of the event"
          },
          "eventType": {
            "enum": [
              "estimateRequestReceived",
              "estimateStart",
              "installerEstimateComplete",
              "defaultEstimateComplete",
              "aggregateEstimateComplete",
              "processingError",
              "weatherDataError",
              "processingConfigUpdated",
              "processingStartFailed",
              "configUpdateFailed"
            ],
            "type": "string",
            "description": "The type of event emitted during estimate processing"
          },
          "estimateId": {
            "type": "string",
            "description": "ID of the estimate",
            "example": "507f1f77bcf86cd799439011"
          },
          "externalId": {
            "type": "string",
            "description": "External ID tied to this event"
          },
          "timestamp": {
            "type": "string",
            "description": "Timestamp the event occurred",
            "format": "date-time"
          },
          "data": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/StartGenericSolarEstimateRequestDto"
              },
              {
                "$ref": "#/components/schemas/ProcessingConfigUpdatedEventDto"
              },
              {
                "$ref": "#/components/schemas/ConfigUpdateFailedEventDto"
              },
              {
                "$ref": "#/components/schemas/EstimateStartEventDto"
              },
              {
                "$ref": "#/components/schemas/ProcessingStartFailedEventDto"
              },
              {
                "$ref": "#/components/schemas/DefaultEstimateCompleteEventDto"
              },
              {
                "$ref": "#/components/schemas/InstallerEstimateCompleteEventDto"
              },
              {
                "$ref": "#/components/schemas/AggregateEstimateCompleteEventDto"
              },
              {
                "$ref": "#/components/schemas/ProcessingErrorEventDto"
              },
              {
                "$ref": "#/components/schemas/WeatherDataErrorEventDto"
              }
            ]
          }
        },
        "required": [
          "id",
          "eventType",
          "estimateId",
          "data"
        ]
      }
    }
  },
  "security": [
    {
      "queryToken": []
    },
    {
      "headerToken": []
    }
  ]
}
```