**Full name**: projects.locations.operations.list

Lists service operations that match the specified filter in the request.

### HTTP request

Choose a location:
<button value="global" default="">global</button> <button value="us">us</button> <button value="eu">eu</button> <button value="asia-south1">asia-south1</button> <button value="asia-southeast1">asia-southeast1</button> <button value="northamerica-northeast1">northamerica-northeast1</button> <button value="australia-southeast1">australia-southeast1</button> <button value="europe-west2">europe-west2</button> <button value="europe-west3">europe-west3</button>   
`GET https://documentai.googleapis.com/v1/{name}`

<br />

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Not used. It takes the form `projects/{project}/locations/{location}/operations`. |

### Query parameters

| Parameters ||
|---|---|
| `filter` | `string` A string for filtering `https://docs.cloud.google.com/document-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation`. The following filter fields are supported: - `Type`: Required. Only `=` operator is allowed. Can be: - `BATCH_PROCESS_DOCUMENTS` - `CREATE_PROCESSOR` - `CREATE_PROCESSOR_VERSION` - `DELETE_PROCESSOR` - `DELETE_PROCESSOR_VERSION` - `DEPLOY_PROCESSOR_VERSION` - `DISABLE_PROCESSOR` - `ENABLE_PROCESSOR` - `HUMAN_REVIEW` - `SET_DEFAULT_PROCESSOR_VERSION` - `UNDEPLOY_PROCESSOR_VERSION` - `CreateTime`: The time this job was created, in ISO 8601 format. Allowed operators are `>=`, `>`, `<=`, and `<`. - `UpdateTime`: The time this job was last updated, in ISO 8601 format. Allowed operators are `>=`, `>`, `<=`, and `<`. - `ResourceName`: The name of the resource. For example `projects/123/locations/us`. Allowed operators are `:` (prefix) and `=` (exact match). - `State`: Can be `DONE`, `RUNNING`, `CANCELLED`, or `FAILED`. Allowed operators are `=`, and `!=`. Filter expression supports conjunction `AND` and disjunction `OR` logical operators as well as `()` grouping operator. Examples: - `Type=CREATE_PROCESSOR AND (ResourceName:projects/123/locations/us OR CreateTime>2022-08-07)` - `Type=HUMAN_REVIEW AND State=DONE` |
| `pageSize` | `integer` The maximum number of operations to return. If unspecified, defaults to `100`. The maximum value is `100`. |
| `pageToken` | `string` The standard list page token. |
| `returnPartialSuccess` | `boolean` When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the `https://docs.cloud.google.com/document-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#FIELDS.unreachable` field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/document-ai/docs/reference/rest/Shared.Types/ListOperationsResponse`.

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