---
title: "Upload a config change request"
method: POST
path: "/v1/config-blobs/change-requests"
tags: ["Config blobs"]
---

# Upload a config change request

`POST /v1/config-blobs/change-requests`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/config-blobs/change-requests`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Uploads a config blob as a change request. It is analyzed in the background: poll the request until it is `needs_review`, then read its plan. With `?dryRun=true` the blob is analyzed at once and nothing is stored (no change request, nothing superseded): the response is `200 { dryRun, plan, errors }`, for CI checks. `errors` are what would make the request `invalid`; `plan.summary.blocking` counts items that would need a decision.

## Query parameters

- `dryRun` 'true' | 'false'

## Request body

- object
  - `blob` unknown, required
  - `mode` 'merge' | 'mirror'
  - `title` string
  - `autoApply` boolean

## Response `200`

Dry run: the plan the upload would produce. Nothing was stored.

- ConfigChangeRequestDryRunResponse
  - `dryRun` true, required
  - `plan` ConfigPlan, nullable, required
    - `planHash` string, required
    - `mode` 'merge' | 'mirror', required
    - `summary` ConfigPlanSummary, required
      - `create` integer, required
      - `update` integer, required
      - `rename` integer, required
      - `unchanged` integer, required
      - `delete` integer, required
      - `untouched` integer, required
      - `skip` integer, required
      - `blocking` integer, required
    - `areas` object[], required
      - `area` 'members.teams' | 'members.roles' | 'members.people' | 'connectors.oauth-clients' | 'connectors.mcp' | 'ai-gateway.providers' | 'ai-gateway.byok' | 'desktop-policies' | 'settings.general' | 'settings.web-origins' | 'settings.advanced.collections' | 'members.agent-permissions' | 'members.default-models' | 'members.prompts' | 'ai-gateway.limits' | 'ai-gateway.smart-routers' | 'ai-gateway.openwork-models' | 'plugins.plugins' | 'plugins.skills' | 'plugins.sources' | 'workbot.settings' | 'workbot.proactive' | 'workbot.team-settings' | 'settings.auth-security' | 'settings.advanced.brand' | 'settings.audit' | 'settings.features', required
      - `label` string, required
      - `items` object[], required
    - `issues` object[], required
      - `level` 'error' | 'warning' | 'info', required
      - `message` string, required
      - `area` 'members.teams' | 'members.roles' | 'members.people' | 'connectors.oauth-clients' | 'connectors.mcp' | 'ai-gateway.providers' | 'ai-gateway.byok' | 'desktop-policies' | 'settings.general' | 'settings.web-origins' | 'settings.advanced.collections' | 'members.agent-permissions' | 'members.default-models' | 'members.prompts' | 'ai-gateway.limits' | 'ai-gateway.smart-routers' | 'ai-gateway.openwork-models' | 'plugins.plugins' | 'plugins.skills' | 'plugins.sources' | 'workbot.settings' | 'workbot.proactive' | 'workbot.team-settings' | 'settings.auth-security' | 'settings.advanced.brand' | 'settings.audit' | 'settings.features'
    - `refTargets` object[]
      - `area` 'members.teams' | 'members.roles' | 'members.people' | 'connectors.oauth-clients' | 'connectors.mcp' | 'ai-gateway.providers' | 'ai-gateway.byok' | 'desktop-policies' | 'settings.general' | 'settings.web-origins' | 'settings.advanced.collections' | 'members.agent-permissions' | 'members.default-models' | 'members.prompts' | 'ai-gateway.limits' | 'ai-gateway.smart-routers' | 'ai-gateway.openwork-models' | 'plugins.plugins' | 'plugins.skills' | 'plugins.sources' | 'workbot.settings' | 'workbot.proactive' | 'workbot.team-settings' | 'settings.auth-security' | 'settings.advanced.brand' | 'settings.audit' | 'settings.features', required
      - `items` object[], required
        - `id` string, required
        - `name` string, required
  - `errors` string[], required

## Other responses

- `202`: Stored; analysis is queued.
- `400`: Not a valid config blob.
- `401`: The caller must be signed in.
- `403`: The caller lacks the area's permission, or the config token lacks the scope.
- `404`: The organization or change request was not found.
- `413`: The blob is larger than the limit.

## Changes

- **2026-11-14** `ab73f728669e`: 1 info
  - added the optional property `plan/anyOf[#/components/schemas/ConfigPlan]/refTargets` to the response with the `200` status
- **2026-11-12** `df9bc92e2753`: 1 warning
  - removed the optional property `feature` from the response with the `404` status
- **2026-11-10** `d09ba50b2067`: 3 warning
  - added the new `settings.features` enum value to the `changeRequest/areas/items/` response property for the response status `202`
  - added the new `settings.features` enum value to the `plan/anyOf[#/components/schemas/ConfigPlan]/areas/items/area` response property for the response status `200`
  - added the new `settings.features` enum value to the `plan/anyOf[#/components/schemas/ConfigPlan]/issues/items/area` response property for the response status `200`
- **2026-11-10** `02023e0242a2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/config-blobs/change-requests/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
