---
title: "Export configuration"
method: GET
path: "/v1/config-blobs/export"
tags: ["Config blobs"]
---

# Export configuration

`GET /v1/config-blobs/export`

## Request

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

Downloads the organization's configuration as JSON, or as a `.zip` archive (`blob.json` + deduplicated `assets/<sha256>`) when skill supporting files exceed the 5 MB inline JSON limit or `format=zip` is requested. Areas the caller can't view are left out and listed in `omitted`. Secrets are never exported; they appear as `$secret` placeholders. A signed-in person needs a recent sign-in (the organization's fresh admin session window); otherwise the answer is `403 { error: "reauth", reason: "fresh_auth_required" }`. Config tokens are exempt.

## Query parameters

- `areas` string
- `format` 'auto' | 'zip'

## Response `200`

The config blob (JSON) or config archive (ZIP).

- ConfigBlob
  - `$schema` string
  - `format` 'openwork.config-blob', required
  - `formatVersion` 1, required
  - `exportedAt` string, date-time
  - `source` object
    - `deployment` 'cloud' | 'self_hosted', required
    - `instanceId` string, required
    - `appVersion` string, required
    - `organization` object, required
      - `id` string, required
      - `slug` string, required
      - `name` string, required
  - `scope` string[], required
  - `baseHash` string
  - `areas` object, required
  - `secrets` object[]
    - `path` 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', required
    - `itemId` string
    - `itemName` string, required
    - `field` string, required
    - `set` boolean, required
  - `omitted` 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
    - `reason` string, required

## Other responses

- `400`: Unknown area.
- `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.

## Changes

- **2026-12-01** `418545ae8367`: 1 info
  - added the new optional `query` request parameter `format`
- **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 `omitted/items/area` response property for the response status `200`
  - added the new `settings.features` enum value to the `scope/items/` response property for the response status `200`
  - added the new `settings.features` enum value to the `secrets/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/export/get.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)
