---
title: "Get provider configuration usage"
method: GET
path: "/provider-configurations/{provider_configuration}/workspaces-usage"
tags: ["provider-configuration-usage"]
---

# Get provider configuration usage

`GET /provider-configurations/{provider_configuration}/workspaces-usage`

Returns a list of workspaces that use the given provider configuration.

## Path parameters

- `provider_configuration` string, required

## Query parameters

- `filter[environment]` string
- `filter[workspace][name]` string
- `page[number]` string
- `page[size]` string
- `sort` string[]

## Response `200`

Success.

- ProviderConfigurationWorkspaceUsageFieldsetsListingDocument — Document Listing.
  - `data` ProviderConfigurationWorkspaceUsage[]
    - `direct-links-ids` string[] — The direct link ID(s) between the workspace and the provider configuration.
    - `environment-id` string — The ID of the environment.
    - `environment-name` string — The name of the environment.
    - `environment-permissions` string[] — The list of permissions on an environment.
    - `is-default-link` boolean — Whether the linked provider configuration is default in the environment.
    - `workspace-id` string — The ID of the workspace.
    - `workspace-name` string — The name of the workspace.
    - `workspace-permissions` string[] — The list of permissions on a workspace.
  - `included` object[]
  - `links` object
  - `meta` object

## Other responses

- `403` — User unauthorized to perform action.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/revisions/fc927526ad12/schema)
