---
title: "Whether autofix can run for the project, what a fix would become, and the project's autofix policy."
method: GET
path: "/projects/{project_id}/autofix"
tags: ["Autofix"]
---

# Whether autofix can run for the project, what a fix would become, and the project's autofix policy.

`GET /projects/{project_id}/autofix`

## 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`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Response `200`

- AutofixCapabilityResponse: Whether autofix can run for a project, and what a fix would become.
  - `configured` boolean, required: An AI provider and sandboxes are available.
  - `delivery` string, required: What a fix becomes: `pull_request`, `patch` or `report`.
  - `delivery_reason` string, nullable: Why the delivery is what it is, e.g. the Git connection is missing.
  - `reason` string, nullable: Why autofix cannot run, when `configured` is false.
  - `settings` AutofixSettingsResponse, required
    - `ai_model` string, nullable
    - `ai_provider` string, nullable
    - `min_confidence` integer, required: Confidence level, 0-5, an `auto_merge` fix must reach.
    - `mode` string, required: `off`, `propose` or `auto_merge`.
    - `owner_user_id` integer, nullable: User automatic incidents act as.
    - `paused` boolean, required
    - `project_id` integer, required
    - `protected_paths` string[], required
    - `test_command` string, nullable: Command the server runs to verify a fix, in addition to the agent's reproduction.
    - `updated_at` string, date-time, nullable
  - `setup_path` string, nullable: Console path that fixes the missing configuration.
  - `source_kind` string, required: How the latest production deployment was built: `git`, `uploaded_source`, `report_only` or `none`.

## 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/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)
