---
title: "Get container AutoFix PR creation settings"
method: GET
path: "/repositories/autofix/container/settings"
---

# Get container AutoFix PR creation settings

`GET /repositories/autofix/container/settings`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/repositories/autofix/container/settings`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `autofix:read`

Get the workspace container AutoFix PR creation settings. Container selection is returned as containers_scope ("all" or "selected") plus container_ids (empty when scope is "all"). Inactive or unknown container repository IDs are filtered out of the response.

## Response `200`

The workspace container AutoFix settings.

- object
  - `settings` object, required
    - `enabled` boolean, required: Whether automatic container AutoFix PR creation is enabled.
    - `containers_scope` 'all' | 'selected', required: Container scope for container autofix: all container repositories or a selected list.
    - `container_ids` integer[], required: Container repository IDs (as returned by GET /containers) for container autofix when containers_scope is "selected". Empty when scope is "all".
    - `update_os_packages` boolean, required: Whether container AutoFix PRs also update OS packages in the image.

## Other responses

- `400`: AutoFix has been disabled for this workspace.

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
