---
title: "Get autofix settings"
method: GET
path: "/projects/{id}/autofix"
tags: ["Autofix"]
---

# Get autofix settings

`GET /projects/{id}/autofix`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/autofix`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns whether Volcano diagnoses the project's issues with AI and how
far a run may go. A project that never saved settings returns the
defaults, with autofix off.

Where autofix is not available, saved settings stay readable. A project
that never saved any answers `404` with code `feature_unavailable`.

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful response

- AutofixSettings
  - `project_id` string, uuid, required
  - `enabled` boolean, required: Whether Volcano diagnoses the project's issues with AI.
  - `max_stage` 'diagnose' | 'pull_request', required: How far a run goes. Defaults to `pull_request`.
  - `auto_trigger` boolean, required: Whether a new or regressed issue starts a run on its own. Defaults to true. When false, runs start only on request.
  - `plan_includes_autofix` boolean: Whether the owner's plan includes autofix. When false, saved settings stay stored and no run starts. Absent when a save that needed no plan succeeded but the plan could not be resolved.
  - `updated_at` string, date-time: When the settings were last saved. Absent until the first save.

## Other responses

- `404`: Project not found. Code `feature_unavailable` means autofix is not available in this environment and the project never saved settings.
- `501`: Autofix is not available in local mode.
- `503`: The owner's plan could not be resolved. Retry later.

## Changes

- **2026-10-26** `4b0676e06128`: 4 breaking, 2 warning, 3 info
  - the `max_stage` response's property type changed from `string` to no type for status `200`
  - removed the required property `api_key_configured` from the response with the `200` status
  - removed the required property `model` from the response with the `200` status
  - removed the required property `provider` from the response with the `200` status
  - …5 more
- **2026-10-14** `d8d8f53d847b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/autofix/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
