---
title: "(BETA) Languages used in the workspace."
method: GET
path: "/api/v1/actions/workspaces/{workspaceId}/localization/usage"
tags: ["Localization"]
---

# (BETA) Languages used in the workspace.

`GET /api/v1/actions/workspaces/{workspaceId}/localization/usage`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/actions/workspaces/{workspaceId}/localization/usage`
- Auth: none declared

(BETA) Returns the value the workspace gets for each of the display, metadata and data language settings. It also counts the workspace members per language. Members count under the value they get in the workspace: their own setting, otherwise the value of the workspace. Child workspaces are not included.

## Path parameters

- `workspaceId` string, required

## Response `200`

OK

- WorkspaceLocalizationUsage
  - `settings` LocalizationResolvedValues, required: The value for each of the display, metadata and data language settings, with its source.
    - `DATA_LOCALE` LocalizationResolvedValue, required: The value a workspace gets for one setting, and where it comes from. Never null. `content.value` is null when the workspace gets no language.
      - `content` LocalizationContent, required
        - `value` string, nullable: Language tag, or null when no language is set.
      - `originId` string, nullable: The ancestor workspace that sets the value. Null unless the source is PARENT.
      - `source` 'USER' | 'WORKSPACE' | 'PARENT' | 'ORGANIZATION' | 'ENVIRONMENT' | 'DEFAULT', required: Where the value comes from, from the strongest source to the weakest: USER - the user set it. WORKSPACE - the workspace sets it. PARENT - the workspace inherits it from a parent workspace. ORGANIZATION - the organization default. ENVIRONMENT - the default set for the whole deployment. DEFAULT - the built-in default.
    - `LOCALE` LocalizationResolvedValue, required: The value a workspace gets for one setting, and where it comes from. Never null. `content.value` is null when the workspace gets no language.
      - `content` LocalizationContent, required
        - `value` string, nullable: Language tag, or null when no language is set.
      - `originId` string, nullable: The ancestor workspace that sets the value. Null unless the source is PARENT.
      - `source` 'USER' | 'WORKSPACE' | 'PARENT' | 'ORGANIZATION' | 'ENVIRONMENT' | 'DEFAULT', required: Where the value comes from, from the strongest source to the weakest: USER - the user set it. WORKSPACE - the workspace sets it. PARENT - the workspace inherits it from a parent workspace. ORGANIZATION - the organization default. ENVIRONMENT - the default set for the whole deployment. DEFAULT - the built-in default.
    - `METADATA_LOCALE` LocalizationResolvedValue, required: The value a workspace gets for one setting, and where it comes from. Never null. `content.value` is null when the workspace gets no language.
      - `content` LocalizationContent, required
        - `value` string, nullable: Language tag, or null when no language is set.
      - `originId` string, nullable: The ancestor workspace that sets the value. Null unless the source is PARENT.
      - `source` 'USER' | 'WORKSPACE' | 'PARENT' | 'ORGANIZATION' | 'ENVIRONMENT' | 'DEFAULT', required: Where the value comes from, from the strongest source to the weakest: USER - the user set it. WORKSPACE - the workspace sets it. PARENT - the workspace inherits it from a parent workspace. ORGANIZATION - the organization default. ENVIRONMENT - the default set for the whole deployment. DEFAULT - the built-in default.
  - `values` LocalizationUsageValue[], required
    - `bySetting` LocalizationSettingUsages, required: The same counts per setting. Settings without this language are left out.
      - `DATA_LOCALE` LocalizationSettingUsage
        - `users` LocalizationCount, required
          - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
            - `DEFAULT` integer
            - `ENVIRONMENT` integer
            - `ORGANIZATION` integer
            - `PARENT` integer
            - `USER` integer
            - `WORKSPACE` integer
          - `total` integer, required
        - `workspaces` LocalizationCount, required
          - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
            - `DEFAULT` integer
            - `ENVIRONMENT` integer
            - `ORGANIZATION` integer
            - `PARENT` integer
            - `USER` integer
            - `WORKSPACE` integer
          - `total` integer, required
      - `LOCALE` LocalizationSettingUsage
        - `users` LocalizationCount, required
          - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
            - `DEFAULT` integer
            - `ENVIRONMENT` integer
            - `ORGANIZATION` integer
            - `PARENT` integer
            - `USER` integer
            - `WORKSPACE` integer
          - `total` integer, required
        - `workspaces` LocalizationCount, required
          - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
            - `DEFAULT` integer
            - `ENVIRONMENT` integer
            - `ORGANIZATION` integer
            - `PARENT` integer
            - `USER` integer
            - `WORKSPACE` integer
          - `total` integer, required
      - `METADATA_LOCALE` LocalizationSettingUsage
        - `users` LocalizationCount, required
          - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
            - `DEFAULT` integer
            - `ENVIRONMENT` integer
            - `ORGANIZATION` integer
            - `PARENT` integer
            - `USER` integer
            - `WORKSPACE` integer
          - `total` integer, required
        - `workspaces` LocalizationCount, required
          - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
            - `DEFAULT` integer
            - `ENVIRONMENT` integer
            - `ORGANIZATION` integer
            - `PARENT` integer
            - `USER` integer
            - `WORKSPACE` integer
          - `total` integer, required
    - `content` LocalizationContent, required
      - `value` string, nullable: Language tag, or null when no language is set.
    - `users` LocalizationCount, required
      - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
        - `DEFAULT` integer
        - `ENVIRONMENT` integer
        - `ORGANIZATION` integer
        - `PARENT` integer
        - `USER` integer
        - `WORKSPACE` integer
      - `total` integer, required
    - `workspaces` LocalizationCount, required
      - `bySource` LocalizationSourceCounts, required: Counts per source. Sources without any count are left out. In the organization, users without their own setting have no source and are only in the total.
        - `DEFAULT` integer
        - `ENVIRONMENT` integer
        - `ORGANIZATION` integer
        - `PARENT` integer
        - `USER` integer
        - `WORKSPACE` integer
      - `total` integer, required

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
