---
title: Get a finding's remediation
description: The finding's latest Remediation run.
url: https://www.hacktron.ai/docs/api/findings/get-finding-remediation
---

# Get a finding's remediation

Returns the latest [Remediation](/docs/platform/automations/remediation) run for a finding, or `null` in `remediation` when no fix was ever started. Use the finding's UUID or display id.

`status` is `dispatched` while Hacktron writes the fix, `pr_created` once `pr_url` is set, or `fix_ready` when the fix is ready in Hacktron without a pull request. A run that ended without a fix has the reason in `failure_reason`.

## Request

`GET /findings/{id}/remediation`

Send an [API key](/docs/api/authentication) with the `read` scope in the `X-Api-Key` header.

:::examples

```bash title="Request" wrap=false
curl "https://api.hacktron.ai/v1/findings/HAC-FD-1104/remediation" \
  -H "X-Api-Key: $HACKTRON_API_KEY"
```

```json title="Response 200 OK" showLineNumbers=false wrap=false
{
  "remediation": {
    "id": "0d9e8f7a-6b5c-4d3e-9f2a-1b0c9d8e7f6a",
    "finding_uuid": "7c6b5a49-3827-4615-a4b3-c2d1e0f9a8b7",
    "status": "pr_created",
    "pr_url": "https://github.com/acme/api/pull/57",
    "failure_reason": null,
    "created_at": "2026-11-08T10:30:00.000Z",
    "url": "https://app.hacktron.ai/acme/automations/runs/0d9e8f7a-6b5c-4d3e-9f2a-1b0c9d8e7f6a"
  }
}
```

:::

### Path parameters

| Parameter | Type | Description |
| --- | --- | --- |
| `id` | string, required | Finding UUID or display id (KEY-FD-NUMBER, e.g. HAC-FD-1104). |

## Responses

### 200 OK

| Field | Type | Description |
| --- | --- | --- |
| `remediation` | object, required, nullable | The finding's latest run; null when no fix was ever started. |
| `remediation.id` | string (uuid), required | Run id. |
| `remediation.finding_uuid` | string (uuid), required | Finding the run fixes. |
| `remediation.status` | string, required | `dispatched` while the fix is generated; `pr_created` when its pull request is open; `fix_ready` when the fix is ready in Hacktron without a pull request; `no_fix`, `false_positive`, `failed`, or `stopped_cap_exceeded` when the run ends without a fix; `pr_closed` when the finding was fixed some other way. |
| `remediation.pr_url` | string, required, nullable | The fix pull request, once it is open. |
| `remediation.failure_reason` | string, required, nullable | Why the run failed or found no fix. |
| `remediation.created_at` | string, required | When the run started. |
| `remediation.url` | string, required | The run in Hacktron. |
