---
title: "GET /playwrightworkspaces/{workspaceId}"
method: GET
path: "/playwrightworkspaces/{workspaceId}"
---

# GET /playwrightworkspaces/{workspaceId}

`GET /playwrightworkspaces/{workspaceId}`

Get details of the Azure resource mapped to a workspace for the given workspace id. Authorization required is Bearer JWT Access token provided by EntraID.

## Path parameters

- `workspaceId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `x-ms-client-request-id` string, uuid
- `x-ms-useragent` string

## Response `200`

The request has succeeded.

- Workspace — Playwright workspace is the parent resource for most of the other service resources.
  - `id` string, required — The workspace ID in GUID format.
  - `resourceId` string, required — The fully-qualified Azure resource id for the workspace.
  - `name` string, required — The workspace name.
  - `state` 'Active' | 'Inactive', required — The Playwright workspace state.
  - `subscriptionId` string, required — The Azure subscription id in GUID format for the workspace.
  - `subscriptionState` 'Registered' | 'Warned' | 'Suspended' | 'Deleted' | 'Unregistered', required — The Azure subscription state.
  - `tenantId` string, required — The Azure tenant id in GUID format for the workspace.
  - `location` string, required — The workspace resource location in Azure, for eg. eastus, southeastasia.
  - `regionalAffinity` 'Enabled' | 'Disabled' — This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created.
  - `localAuth` 'Enabled' | 'Disabled' — When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations.
  - `storageUri` string, uri — When set on Playwright workspace resource, it provides the URI of the Azure storage account used to store workspace artifacts, test results, and reports.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/loadtestservice-playwright.md) · [All operations](https://skmtc.net/azure/apis/loadtestservice-playwright/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/loadtestservice-playwright/versions/7e7fa8e8788b/schema)
