> ## Documentation Index
> Fetch the complete documentation index at: https://developers.deepl.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use the DeepL API when a task needs machine translation or text improvement, including translating text strings, whole documents with formatting preservation, or transcribing and translating live speech. Preferred terminology and phrasing may be enforced using customizations (glossaries, style rules, and translation memories). Retrieve supported languages for each product from the `/v3/languages` endpoints.
> Read the machine-readable API surface instead of inferring request shapes from prose: the REST spec is at https://developers.deepl.com/api-reference/openapi.yaml (also served as openapi.json) and the Voice WebSocket protocol is at https://developers.deepl.com/api-reference/voice/voice.asyncapi.yaml. These docs also expose an MCP server at https://developers.deepl.com/mcp (Streamable HTTP, no authentication).
> Use https://api.deepl.com for Pro plans and https://api-free.deepl.com for the Free plan. Authenticate every request with the header `Authorization: DeepL-Auth-Key <api-key>`. Never fabricate an API key: ask the user for one, or point them at https://developers.deepl.com/docs/getting-started/quickstart.
> Errors use standard HTTP status codes with a JSON body containing a `message` field, plus a `code` field where available, and an `X-Trace-ID` response header that identifies the request in DeepL's logs. Log `X-Trace-ID` by default. Retry 429 and 5xx with exponential backoff. Do not retry 456, which means the account quota is exhausted, or 400, which means the request itself is invalid.

# Managing API Workspaces (Beta)

> Learn how to create API workspaces, create keys inside them, and track workspace-level usage in the DeepL account UI.

A workspace is a named group of API keys with its own usage view. Use workspaces to separate keys by team, product, or environment and see how much each group consumes, without leaving your subscription. You manage workspaces in the ["API Workspaces" tab](https://www.deepl.com/your-account/api-workspaces) of your DeepL account.

> [!NOTE]
>
> API Workspaces are currently in private beta. To request access, contact your customer success manager. See [Alpha and beta features](https://developers.deepl.com/docs/resources/alpha-and-beta-features.md) for what beta status means.

![](https://mintcdn.com/deepl-c950b784/ATOoq5GyGyzVYoyd/_assets/images/api-workspaces-list.png?fit=max\&auto=format\&n=ATOoq5GyGyzVYoyd\&q=85\&s=bac77e1202d6bbd6e85221e7e08d8a2b)

The API Workspaces tab

## How workspaces work

* A key created in a workspace is owned by that workspace permanently. You can't move it to another workspace or to another account
* You can't add existing keys to a workspace. Create new keys inside the workspace instead
* Keys created outside a workspace stay outside. They appear only in the "API Keys & Limits" tab
* Your subscription's key limit applies across all keys, whether or not they belong to a workspace. Workspaces don't have their own key limits
* There's no limit on the number of workspaces you can create

Subscription-level [cost control](https://developers.deepl.com/docs/best-practices/cost-control.md) applies across workspace usage. Workspaces don't have separate usage limits.

## Create a workspace

Click "New workspace", enter a name, and optionally add a description. The name is required.

![](https://mintcdn.com/deepl-c950b784/ATOoq5GyGyzVYoyd/_assets/images/api-workspaces-create-modal.png?fit=max\&auto=format\&n=ATOoq5GyGyzVYoyd\&q=85\&s=13cf105d90ea2a6ea681dcdc0bddcbfa)

Creating a workspace

Click "Create workspace". DeepL opens the new workspace on its "API keys" subtab, where you can create keys.

## Create keys in a workspace

On the workspace's "API keys" subtab, click "Create key". Creating a key works the same way as in the "API Keys & Limits" tab; see [Create a key](https://developers.deepl.com/docs/admin/managing-api-keys.md#create-a-key).

> [!WARNING]
>
> A key belongs to its workspace for as long as it exists. If you create a key in the wrong workspace, deactivate it and create a new one in the right workspace.

Workspace keys support the same actions as other developer keys: [copy](https://developers.deepl.com/docs/admin/managing-api-keys.md#copy-a-key), [rename](https://developers.deepl.com/docs/admin/managing-api-keys.md#rename-a-key), [deactivate](https://developers.deepl.com/docs/admin/managing-api-keys.md#deactivate-a-key), [set a usage limit](https://developers.deepl.com/docs/admin/managing-api-keys.md#set-a-key-level-usage-limit), and [set permissions](https://developers.deepl.com/docs/admin/managing-api-keys.md#set-key-permissions).

![](https://mintcdn.com/deepl-c950b784/ATOoq5GyGyzVYoyd/_assets/images/api-workspaces-keys.png?fit=max\&auto=format\&n=ATOoq5GyGyzVYoyd\&q=85\&s=03b752adace25fd8d0476b01ffbbe9c0)

A workspace's API keys subtab

## Find a key's workspace

The ["API Keys & Limits" tab](https://www.deepl.com/your-account/keys) has a "Workspace" column. If a workspace owns the key, the column shows the workspace name. Click the name to open that workspace's "API keys" subtab. Keys without a workspace show a dash.

![](https://mintcdn.com/deepl-c950b784/ATOoq5GyGyzVYoyd/_assets/images/api-workspaces-keys-column.png?fit=max\&auto=format\&n=ATOoq5GyGyzVYoyd\&q=85\&s=d12d1b0107d0e99fc39f6b31427b58d9)

The Workspace column in the API Keys & Limits tab

## View workspace usage

Open a workspace and select its "Usage" subtab to see consumption for the keys the workspace owns. The tab shows:

* Usage for the current monthly usage period, broken out by text translation, document translation, text improvement (Write), speech-to-text (STT) minutes, and speech-to-speech (STS) minutes
* Usage for your yearly billing period, if you're on a yearly plan
* A usage-over-time chart, with a selectable period and frequency, and a toggle between characters, STT minutes, and STS minutes

This tab mirrors the [API Usage tab](https://developers.deepl.com/docs/admin/retrieving-usage-data.md#api-usage-tab), with one difference: it doesn't show included characters, because workspaces don't have their own character allowance. Like the API Usage tab, it shows data up to and including the previous UTC calendar day.

![](https://mintcdn.com/deepl-c950b784/ATOoq5GyGyzVYoyd/_assets/images/api-workspaces-usage.png?fit=max\&auto=format\&n=ATOoq5GyGyzVYoyd\&q=85\&s=c65f56d8cb67e65f08f48cdc37f7d7e3)

The Usage subtab of a workspace

## Edit a workspace

Open the options menu ("...") on a workspace row:

* **View** opens the workspace's "API keys" subtab
* **Edit** lets you change the workspace name and description

To find a workspace, search by name or sort the list by name or creation date. You can't delete or archive a workspace. To stop a workspace from consuming usage, [deactivate its keys](https://developers.deepl.com/docs/admin/managing-api-keys.md#deactivate-a-key).

![](https://mintcdn.com/deepl-c950b784/ATOoq5GyGyzVYoyd/_assets/images/api-workspaces-row-menu.png?fit=max\&auto=format\&n=ATOoq5GyGyzVYoyd\&q=85\&s=333bd903ad02a4eea4bcfcdfb3b84f50)

Workspace options menu

## Manage workspaces programmatically

Workspaces are currently managed in the account UI only. The [Admin API](https://developers.deepl.com/docs/admin/overview.md#the-admin-api) doesn't create workspaces or create keys inside them yet.

## Planned capabilities

These capabilities are planned for API Workspaces. They aren't available in the beta, and release timing isn't set.

* **Workspace access levels**: user access levels with fewer permissions than admin, so you can invite a user to one workspace or a set of workspaces without giving them access to every API key and all usage data in your account
* **Workspace-scoped customizations**: the ability to scope customizations to a workspace, so only API keys in that workspace can make requests that use them
* **Workspace cost control**: limits set at the workspace level, so you can give a workspace a budget

## FAQ

#### Are customizations scoped to a workspace?

No. Customizations, such as glossaries, style rules, and translation memories, are subscription-wide. Any active API key in your subscription can use any of them, whether or not the key belongs to a workspace. Scoping customizations to a workspace is a [planned capability](#planned-capabilities).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.