# Method: transferJobs.list

Lists transfer jobs.

### HTTP request

`GET https://storagetransfer.googleapis.com/v1/transferJobs`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Query parameters

| Parameters ||
|---|---|
| `filter` | `string` Required. A list of query parameters specified as JSON text in the form of: { "projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":["status1","status2",...], "dataBackend":"QUERY_REPLICATION_CONFIGS", "sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", } The JSON formatting in the example is for display only; provide the query parameters without spaces or line breaks. - `projectId` is required. - Since `jobNames` and `jobStatuses` support multiple values, their values must be specified with array notation. `jobNames` and `jobStatuses` are optional. Valid values are case-insensitive: - `https://docs.cloud.google.com/storage-transfer/docs/reference/rest/v1/transferJobs#Status.ENUM_VALUES.ENABLED` - `https://docs.cloud.google.com/storage-transfer/docs/reference/rest/v1/transferJobs#Status.ENUM_VALUES.DISABLED` - `https://docs.cloud.google.com/storage-transfer/docs/reference/rest/v1/transferJobs#Status.ENUM_VALUES.DELETED` - Specify `"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of cross-bucket replication jobs. - Limit the results to jobs from a particular bucket with `sourceBucket` and/or to a particular bucket with `sinkBucket`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `filter`: - `storagetransfer.jobs.list` |
| `pageSize` | `integer` The list page size. The max allowed value is 256. |
| `pageToken` | `string` The list page token. |

### Request body

The request body must be empty.

### Response body

Response from transferJobs.list.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "transferJobs": [ { object (`https://docs.cloud.google.com/storage-transfer/docs/reference/rest/v1/transferJobs#TransferJob`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `transferJobs[]` | ``object (`https://docs.cloud.google.com/storage-transfer/docs/reference/rest/v1/transferJobs#TransferJob`)`` A list of transfer jobs. |
| `nextPageToken` | `string` The list next page token. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).