---
title: "One autofix incident."
method: GET
path: "/projects/{project_id}/autofix/incidents/{incident_id}"
tags: ["Autofix"]
---

# One autofix incident.

`GET /projects/{project_id}/autofix/incidents/{incident_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/autofix/incidents/{incident_id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `incident_id` string, required

## Response `200`

- AutofixIncidentResponse
  - `assessment` Assessment: The score and how it was reached.
    - `next_level` string, nullable: What the next level needs and why it was not reached, below the top.
    - `protected_paths` string[], required: Paths that block a policy merge.
    - `score` integer, required: Highest level of the confidence ladder the fix reached, 0-5.
    - `signals` Signal[], required
      - `detail` string, required
      - `key` string, required
      - `label` string, required
      - `level` integer, nullable: Level of the confidence ladder this check belongs to, 1-5; `None` for context that is shown but never scored (the agent's own confidence).
      - `met` boolean, nullable: `Some(true)` met, `Some(false)` not met, `None` not collected.
      - `outcome` CommandOutcome: Result of a command the server ran in the sandbox.
        - `command` string, required
        - `duration_ms` integer, required
        - `exit_code` integer, required
        - `output_excerpt` string, required: Last bytes of stdout and stderr, at most 4 KB.
  - `attempts` integer, required
  - `base_revision` string, nullable
  - `branch` string, nullable
  - `closed_at` string, date-time, nullable
  - `confidence` integer, nullable: Confidence level reached, 0-5: see `assessment` for what it proves.
  - `conversation_id` string, nullable: Public id of the incident chat.
  - `created_at` string, date-time, required
  - `decided_at` string, date-time, nullable
  - `decided_by_user_id` integer, nullable
  - `decision` string, nullable
  - `delivery` string, nullable
  - `deployment_id` integer, nullable
  - `environment_id` integer, nullable
  - `error_group_id` integer, required
  - `failure_reason` string, nullable
  - `has_patch` boolean, required
  - `head_revision` string, nullable
  - `id` string, required: Public id (`afx_…`).
  - `is_open` boolean, required
  - `owner_user_id` integer, required
  - `phase` string, required: `queued`, `prepare`, `reproduce`, `verify`, `deliver` or `done`.
  - `pr_number` integer, nullable
  - `pr_url` string, nullable
  - `project_id` integer, required
  - `sandbox_id` string, nullable: Public id of the sandbox while it exists.
  - `source_kind` string, nullable
  - `status` string, required: `open`, `working`, `awaiting_review`, `merged`, `applied`, `rejected`, `failed` or `stopped`.
  - `summary` string, nullable
  - `title` string, required
  - `trigger` string, required: `manual` or `automatic`.
  - `updated_at` string, date-time, required
  - `workspace_id` string, nullable: Public id of the workspace the chat is in.

## Other responses

- `401`
- `403`
- `404`
- `500`

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-20** `79089e9f49ee`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/autofix/incidents/:incident_id/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) · [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) · [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/ab6d5d19e930?raw)
