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

# GET /playwrightworkspaces/{workspaceId}/test-runs/{runId}

`GET /playwrightworkspaces/{workspaceId}/test-runs/{runId}`

Gets a test run for the specified run and workspace ID. Requires Bearer JWT access token provided by Entra ID or Playwright Service.

## Path parameters

- `workspaceId` string, required
- `runId` 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.

- TestRun — Model of a test run used for tracking purposes.
  - `id` string, required — The test run ID in GUID format.
  - `displayName` string, required — The test run display name.
  - `creatorId` string, required — The test run creator's ID.
  - `creatorName` string — The test run creator's name.
  - `config` RunConfig — The run configuration.
    - `framework` RunFramework — The test run framework information.
      - `name` string — The framework name.
      - `version` string — The framework version.
      - `runnerName` string — The framework runner name.
    - `sdkLanguage` 'JAVASCRIPT' | 'TYPESCRIPT' | 'CSHARP' — The SDK language used for the test run.
    - `maxWorkers` integer — The maximum number of workers required for the test run.
  - `ciConfig` CiConfig — The test run CI configuration.
    - `providerName` string — The CI provider name.
    - `branch` string — The CI branch name.
    - `author` string — The CI commit author.
    - `commitId` string — The CI commit ID.
    - `revisionUrl` string — The CI revision URL.
  - `summary` RunSummary, required — The test run summary.
    - `status` 'RUNNING' | 'CLIENT_COMPLETE' | 'SERVER_COMPLETE', required — The test run status.
    - `billableTime` integer — The test run billable time in milliseconds.
    - `numBrowserSessions` integer — The total number of browser sessions allocated to the test run.
    - `maxConcurrentBrowserSessions` integer — The highest number of browser sessions that were running concurrently during the test run.
    - `startTime` string, date-time, required — The test run start time in UTC.
    - `endTime` string, date-time — The test run end time in UTC.
    - `duration` integer — The test run duration in milliseconds.
    - `errorMessages` string[] — The list of error messages corresponding to the test run.

## 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)
