---
title: "GET Inspection Defects by Inspection ID"
method: GET
path: "/solar_inspections/{inspection_id}/defects"
tags: ["Inspections"]
---

# GET Inspection Defects by Inspection ID

`GET /solar_inspections/{inspection_id}/defects`

## Request

- Base URL: `https://api.raptormaps.com`
- URL: `https://api.raptormaps.com/solar_inspections/{inspection_id}/defects`
- Auth: HTTP bearer

Gets list of anomalies (i.e. defects) for an inspection.

## Path parameters

- `inspection_id` integer, required

## Response `200`

OK

- SolarDefect[]
  - `avg_temp` number
  - `created_tsecs` integer
  - `custom_locator_text` string
  - `delta_t` number
  - `farm_object` SolarFarmObject: Data about the real world equipment on the farm
    - `id` integer
    - `object_notation_json` object
    - `object_notation_text` string
  - `feedback` DefectFeedback
    - `attention` string
    - `attention_comment` string
    - `confirmation` string
    - `confirmation_comment` string
    - `remediation` string
    - `remediation_comment` string
  - `geom` GeomData
  - `group_name` string
  - `id` integer
  - `inspection_id` integer
  - `inspection_uuid` string
  - `irradiance` number
  - `irradiance_tsecs` integer
  - `linked_image_filename` string
  - `linked_image_id` integer
  - `linked_image_url` string
  - `linked_shape_id` integer
  - `linked_thumbnail_url` string: Signed thumbnail URL for RGB image
  - `max_temp` number
  - `min_temp` number
  - `norm_delta_t` number
  - `org_id` integer
  - `primary_image_filename` string
  - `primary_image_id` integer
  - `primary_image_url` string
  - `primary_shape_id` integer
  - `primary_thumbnail_url` string: Signed thumbnail URL for IR image
  - `priority` integer
  - `sensor_id` integer
  - `tag` Tag
    - `color` string
    - `id` integer
    - `org_power_factor` number
    - `power_factor` number
    - `tag` string
    - `tag_display_text` string
  - `tag_id` integer
  - `uuid` string

## Other responses

- `400`: bad input parameter

---

[API](https://skmtc.dev/raptormaps/apis/core-services-api.md) - [All operations](https://skmtc.dev/raptormaps/apis/core-services-api/llms.txt) - [OpenAPI document](https://skmtc.dev/raptormaps/apis/core-services-api/revisions/b6d94c982402?raw)
