---
title: "GET /v1/projects/{project}/instances/{instance}/workloadCaptures"
method: GET
path: "/v1/projects/{project}/instances/{instance}/workloadCaptures"
tags: ["workloadCaptures"]
---

# GET /v1/projects/{project}/instances/{instance}/workloadCaptures

`GET /v1/projects/{project}/instances/{instance}/workloadCaptures`

## Request

- Base URL: `https://sqladmin.googleapis.com`
- URL: `https://sqladmin.googleapis.com/v1/projects/{project}/instances/{instance}/workloadCaptures`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/sqlservice.admin`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/sqlservice.admin`

Lists all captured workloads associated with the instance.

## Path parameters

- `project` string, required
- `instance` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- WorkloadCapturesListResponse: Instance list captured workloads response.
  - `kind` string: This is always `sql#workloadCapturesList`.
  - `workloadCaptures` WorkloadCapture[]: List of captured workloads for the instance.
    - `backupId` string: Output only. The base backup ID associated with the workload capture.
    - `endTime` string, google-datetime: Output only. The end time of the workload capture.
    - `replayInstance` string: Output only. The name of the replay instance, if live replay was enabled.
    - `retentionDays` integer: Output only. The retention period in days for the captured workload.
    - `sourceInstance` string: Output only. The name of the source instance.
    - `startTime` string, google-datetime: Output only. The start time of the workload capture.
    - `workloadCaptureState` 'STATE_UNSPECIFIED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'TERMINATED': Output only. The state of the workload capture.
    - `workloadId` string: Output only. The ID of the captured workload.

## Changes

- **2026-11-07** `73cd2149b2c6`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2c`
- **2026-10-30** `5fe024d916e4`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2c`
- …earlier changes not shown

[Operation history](https://skmtc.dev/google/apis/sqladmin/changes/v1/projects/:project/instances/:instance/workloadCaptures/get.md)

---

[API](https://skmtc.dev/google/apis/sqladmin.md) - [All operations](https://skmtc.dev/google/apis/sqladmin/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/sqladmin/revisions/73cd2149b2c6?raw)
