Method: projects.locations.workflows.list

Lists workflows in a given project and location. The default order is not specified.

HTTP request

GET https://workflows.googleapis.com/v1/{parent=projects/*/locations/*}/workflows

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

Authorization requires the following IAM permission on the specified resource parent:

  • workflows.workflows.list

Query parameters

Parameters
pageSize

integer

Maximum number of workflows to return per call. The service might return fewer than this value even if not at the end of the collection. If a value is not specified, a default value of 500 is used. The maximum permitted value is 1000 and values greater than 1000 are coerced down to 1000.

pageToken

string

A page token, received from a previous workflows.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to workflows.list must match the call that provided the page token.

filter

string

Filter to restrict results to specific workflows. For details, see AIP-160.

For example, if you are using the Google APIs Explorer:

state="SUCCEEDED"

or

createTime>"2023-08-01" AND state="FAILED"

orderBy

string

Comma-separated list of fields that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a "desc" suffix. If not specified, the results are returned in an unspecified order.

Request body

The request body must be empty.

Response body

Response for the workflows.list method.

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

JSON representation
{
  "workflows": [
    {
      object (Workflow)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
workflows[]

object (Workflow)

The workflows that match the request.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

unreachable[]

string

Unreachable resources.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.