---
title: "Configure"
method: POST
path: "/api/ci-autofix/configure"
tags: ["ci-autofix"]
---

# Configure

`POST /api/ci-autofix/configure`

## Request body

- CIAutofixConfigPayload
  - `repo_allowlist` string[]
  - `workflow_allowlist` string[]
  - `draft_prs` boolean

## Response `200`

Successful Response

- CIAutofixConfigResponse
  - `enabled` boolean, required
  - `config` CIAutofixConfigPayload, required
    - `repo_allowlist` string[]
    - `workflow_allowlist` string[]
    - `draft_prs` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/1af581120ec0/schema)
