---
title: "Get a specific defect"
method: GET
path: "/defect/{code}/{id}"
tags: ["defects"]
---

# Get a specific defect

`GET /defect/{code}/{id}`

This method allows to retrieve a specific defect.

## Path parameters

- `code` string, required
- `id` integer, required

## Response `200`

A defect.

- DefectResponse
  - `status` boolean
  - `result` Defect
    - `id` integer
    - `title` string
    - `actual_result` string
    - `severity` string
    - `status` string
    - `milestone_id` integer, nullable
    - `custom_fields` CustomFieldValue[]
      - `id` integer
      - `value` string
    - `attachments` Attachment[]
      - `size` integer
      - `mime` string
      - `filename` string
      - `url` string, uri
    - `resolved_at` string, date-time, nullable
    - `member_id` integer — Deprecated, use `author_id` instead.
    - `author_id` integer
    - `external_data` string
    - `runs` integer[]
    - `results` string[]
    - `tags` TagValue[]
      - `title` string
      - `internal_id` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `created` string — Deprecated, use the `created_at` property instead.
    - `updated` string — Deprecated, use the `updated_at` property instead.

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.

---

[API](https://skmtc.dev/qase/apis/qase-io-testops-api-v1.md) · [All operations](https://skmtc.dev/qase/apis/qase-io-testops-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qase/qase-io-testops-api-v1/revisions/12ddc644fac5/schema)
