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

# Configure

`POST /api/ci-autofix/configure`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/ci-autofix/configure`
- Auth: none declared

## 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.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
