---
title: "Create a background fix job"
method: POST
path: "/api/job/fix"
tags: ["jobs"]
---

# Create a background fix job

`POST /api/job/fix`

## Request body

- FixJobRequest
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `git_ref` string
  - `parent_job_id` integer, required
  - `prompt` string
  - `stale_job_id` integer

## Response `201`

Created

- ReviewJob
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `agent` string, required
  - `agentic` boolean, required
  - `backup_agent` string
  - `backup_model` string
  - `branch` string
  - `claim_blocked` boolean
  - `closed` boolean
  - `command_line` string
  - `commit_id` integer
  - `commit_subject` string
  - `diff_content` string
  - `dirty_files` string[], nullable
  - `enqueued_at` string, date-time, required
  - `error` string
  - `experiments` ExperimentAssignment[], nullable
    - `arm` string, required
    - `definition_hash` string, required
    - `effective_config_hash` string, required
    - `id` string, required
    - `subject_hash` string, required
  - `finished_at` string, date-time
  - `git_ref` string, required
  - `id` integer, required
  - `job_type` string, required
  - `min_severity` string
  - `model` string
  - `output_prefix` string
  - `panel_member_config_json` string
  - `panel_member_index` integer
  - `panel_member_name` string
  - `panel_name` string
  - `panel_role` string
  - `panel_run_uuid` string
  - `panel_summary` PanelSummary
    - `first_started_at` string, date-time
    - `members_canceled` integer, required
    - `members_cost_complete` boolean
    - `members_cost_usd` number, double
    - `members_failed` integer, required
    - `members_skipped` integer, required
    - `members_succeeded` integer, required
    - `members_terminal` integer, required
    - `members_total` integer, required
    - `members_with_cost` integer
    - `panel_run_uuid` string, required
  - `parent_job_id` integer
  - `patch` string
  - `patch_id` string
  - `prompt` string
  - `prompt_prebuilt` boolean, required
  - `provider` string
  - `reasoning` string
  - `repo_id` integer, required
  - `repo_name` string
  - `repo_path` string
  - `requested_model` string
  - `requested_provider` string
  - `resume_source_job_uuid` string
  - `retry_count` integer, required
  - `review_type` string
  - `session_id` string
  - `skip_reason` string
  - `source` string
  - `source_machine_id` string
  - `started_at` string, date-time
  - `status` string, required
  - `synced_at` string, date-time
  - `token_usage` string
  - `updated_at` string, date-time
  - `uuid` string
  - `verdict` string
  - `worker_id` string
  - `worktree_path` string

## Other responses

- `400`
- `404`
- `500`
- `503`

## Changes

- **2026-08-26** `9fc133457d16` — 2 info
  - added the optional property `experiments` to the response with the `201` status
  - added the optional property `resume_source_job_uuid` to the response with the `201` status
- **2026-07-04** `87786c43889b` — 1 info
  - added the optional property `panel_summary/first_started_at` to the response with the `201` status
- **2026-06-22** `337af3141292` — 1 info
  - added the optional property `panel_summary/members_with_cost` to the response with the `201` status
- **2026-06-09** `538b457f849b` — 2 warning
  - removed the optional property `panel_summary/first_started_at` from the response with the `201` status
  - removed the optional property `panel_summary/members_with_cost` from the response with the `201` status

[Change history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/job/fix/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) · [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenn-io/roborev/revisions/0dfdca81e88d/schema)
