---
title: "GET Defect by Defect ID"
method: GET
path: "/solar_inspections/{inspection_id}/anomalies/{defect_id}"
tags: ["Anomalies"]
---

# GET Defect by Defect ID

`GET /solar_inspections/{inspection_id}/anomalies/{defect_id}`

## Request

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

Retrieve a single defect by ID.

## Path parameters

- `inspection_id` integer, required
- `defect_id` integer, required

## Query parameters

- `org_id` integer, nullable
- `images` boolean

## Response `200`

Single defect with details

- DefectResponse
  - `id` integer, required
  - `object_id` integer, required
  - `solar_farm_id` integer, required
  - `tag_id` integer, required
  - `object_type` string, nullable
  - `tag` SchemasResponsesGetDefectsResponseTagResponse
    - `color` string, nullable
    - `id` integer, required
    - `org_power_factor` number, nullable
    - `power_factor` number, nullable
    - `tag` string, required
    - `tag_display_text` string, nullable
  - `object_notation_json` ObjectNotationJson
    - `row` ObjectNotationJsonObject
      - `object_name` string, required
      - `prefix` string, nullable
      - `rule_index` integer, nullable
    - `string` ObjectNotationJsonObject
      - `object_name` string, required
      - `prefix` string, nullable
      - `rule_index` integer, nullable
    - `module` ObjectNotationJsonObject
      - `object_name` string, required
      - `prefix` string, nullable
      - `rule_index` integer, nullable
  - `geom` union
    - Point: Point Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'Point', required
      - `coordinates` union, required
        - unknown[]
          - unknown
        - unknown[]
          - unknown
    - MultiPoint: MultiPoint Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'MultiPoint', required
      - `coordinates` union[], required
        - union
          - unknown[]
            - unknown
          - unknown[]
            - unknown
    - LineString: LineString Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'LineString', required
      - `coordinates` union[], required
        - union
          - unknown[]
            - unknown
          - unknown[]
            - unknown
    - MultiLineString: MultiLineString Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'MultiLineString', required
      - `coordinates` array[], required
        - union[]
          - union
            - unknown[]
              - …
            - unknown[]
              - …
    - Polygon: Polygon Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'Polygon', required
      - `coordinates` array[], required
        - union[]
          - union
            - unknown[]
              - …
            - unknown[]
              - …
    - MultiPolygon: MultiPolygon Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'MultiPolygon', required
      - `coordinates` array[], required
        - array[]
          - union[]
            - union
              - …
  - `inspection_id` integer, nullable
  - `primary_shape_id` integer, nullable
  - `linked_shape_id` integer, nullable
  - `org_power_factor` number, nullable
  - `power_factor` number, nullable
  - `priority` integer, nullable
  - `primary_image_filename` string, nullable
  - `primary_image_id` integer, nullable
  - `primary_image_url` string, nullable
  - `primary_thumbnail_url` string, nullable
  - `linked_image_filename` string, nullable
  - `linked_image_id` integer, nullable
  - `linked_image_url` string, nullable
  - `linked_thumbnail_url` string, nullable
  - `avg_temp` number, nullable
  - `created_tsecs` integer, nullable
  - `delta_t` number, nullable
  - `feedback` SchemasResponsesGetDefectsResponseDefectFeedback
    - `confirmation` string, nullable
    - `confirmation_comment` string, nullable
    - `remediation` string, nullable
    - `remediation_comment` string, nullable
    - `attention` string, nullable
    - `attention_comment` string, nullable
  - `group_name` string, nullable
  - `inspection_uuid` string, nullable
  - `irradiance` number, nullable
  - `irradiance_tsecs` integer, nullable
  - `max_temp` number, nullable
  - `min_temp` number, nullable
  - `norm_delta_t` number, nullable
  - `sensor_id` integer, nullable
  - `anomaly_life_cycle` SchemasResponsesGetDefectsResponseLifeCycleResponse
    - `id` integer, nullable
    - `status` string, nullable
  - `custom_locator_text` string, nullable
  - `anomaly_custom_locator_text` string, nullable
  - `object_notation_text` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/raptormaps/apis/next-gen-apis.md) - [All operations](https://skmtc.dev/raptormaps/apis/next-gen-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/raptormaps/apis/next-gen-apis/revisions/bc138d1c5182?raw)
