---
title: "Enable or disable automatic investigation of new blocked internal runs"
method: POST
path: "/api/v1/agent/roder/code_repair_settings"
tags: ["agent"]
---

# Enable or disable automatic investigation of new blocked internal runs

`POST /api/v1/agent/roder/code_repair_settings`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/agent/roder/code_repair_settings`
- Auth: HTTP bearer

Requires internal operator membership and the organization rollout flag. Enabling selects the caller as operator and one connected Composal source. The enrollment timestamp excludes earlier blocks. Disabling prevents queued automatic launches; active turns can be cancelled through their repair API. Automatic intake admits at most three investigations per organization per UTC day, using normal Roder limits and tools.

## Request body

- object
  - `organization_id` string, required
  - `enabled` boolean, required
  - `repository_slug` string: Connected Composal repository required when enabling

## Response `200`

Internal automatic-intake settings

- VerifyCodeRepairSettings
  - `available` boolean, required
  - `enabled` boolean, required
  - `enabled_at` string, date-time, nullable, required
  - `operator_user_id` string, nullable, required
  - `repository_slug` string, nullable, required
  - `daily_limit` integer, required

## Other responses

- `400`: A required field is missing
- `403`: Internal operator access is required
- `404`: Organization membership is unavailable
- `422`: Internal rollout or source access is unavailable

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
