Tool: list_workflow_invocations
List the workflow invocations in a given Dataform repository.
The parent parameter value must be in the format projects/{project_id}/locations/{location}/repositories/{repository}.
The following sample demonstrate how to use curl to invoke the list_workflow_invocations MCP tool.
| Curl Request |
|---|
curl --location 'https://dataform.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "list_workflow_invocations", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
ListWorkflowInvocations request message.
ListWorkflowInvocationsRequest
| JSON representation |
|---|
{ "parent": string, "pageSize": integer, "pageToken": string, "orderBy": string, "filter": string } |
| Fields | |
|---|---|
parent |
Required. The parent resource of the WorkflowInvocation type. Must be in the format |
pageSize |
Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. |
pageToken |
Optional. Page token received from a previous When paginating, all other parameters provided to |
orderBy |
Optional. This field only supports ordering by |
filter |
Optional. Filter for the returned list. |
Output Schema
ListWorkflowInvocations response message.
ListWorkflowInvocationsResponse
| JSON representation |
|---|
{
"workflowInvocations": [
{
object ( |
| Fields | |
|---|---|
workflowInvocations[] |
List of workflow invocations. |
nextPageToken |
A token, which can be sent as |
unreachable[] |
Locations which could not be reached. |
WorkflowInvocation
| JSON representation |
|---|
{ "name": string, "invocationConfig": { object ( |
| Fields | |
|---|---|
name |
Output only. The workflow invocation's name. |
invocationConfig |
Immutable. If left unset, a default InvocationConfig will be used. |
state |
Output only. This workflow invocation's current state. |
invocationTiming |
Output only. This workflow invocation's timing details. |
resolvedCompilationResult |
Output only. The resolved compilation result that was used to create this invocation. Will be in the format |
dataEncryptionState |
Output only. Only set if the repository has a KMS Key. |
privateResourceMetadata |
Output only. Metadata indicating whether this resource is user-scoped. |
pipelineConfig |
Output only. The pipeline options which defines the pipeline type and path within the Git repository. |
Union field compilation_source. The source of the compilation result to use for this invocation. compilation_source can be only one of the following: |
|
compilationResult |
Immutable. The name of the compilation result to use for this invocation. Must be in the format |
workflowConfig |
Immutable. The name of the workflow config to invoke. Must be in the format |
Union field
|
|
internalMetadata |
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. |
InvocationConfig
| JSON representation |
|---|
{ "includedTargets": [ { object ( |
| Fields | |
|---|---|
includedTargets[] |
Optional. The set of action identifiers to include. |
includedTags[] |
Optional. The set of tags to include. |
transitiveDependenciesIncluded |
Optional. When set to true, transitive dependencies of included actions will be executed. |
transitiveDependentsIncluded |
Optional. When set to true, transitive dependents of included actions will be executed. |
fullyRefreshIncrementalTablesEnabled |
Optional. When set to true, any incremental tables will be fully refreshed. |
serviceAccount |
Optional. The service account to run workflow invocations under. |
Union field
|
|
queryPriority |
Optional. Specifies the priority for query execution in BigQuery. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries. |
Target
| JSON representation |
|---|
{ "database": string, "schema": string, "name": string } |
| Fields | |
|---|---|
database |
Optional. The action's database (Google Cloud project ID) . |
schema |
Optional. The action's schema (BigQuery dataset ID), within |
name |
Optional. The action's name, within |
Interval
| JSON representation |
|---|
{ "startTime": string, "endTime": string } |
| Fields | |
|---|---|
startTime |
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Timestamp
| JSON representation |
|---|
{ "seconds": string, "nanos": integer } |
| Fields | |
|---|---|
seconds |
Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be between -62135596800 and 253402300799 inclusive (which corresponds to 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). |
nanos |
Non-negative fractions of a second at nanosecond resolution. This field is the nanosecond portion of the duration, not an alternative to seconds. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be between 0 and 999,999,999 inclusive. |
DataEncryptionState
| JSON representation |
|---|
{ "kmsKeyVersionName": string } |
| Fields | |
|---|---|
kmsKeyVersionName |
Required. The KMS key version name with which data of a resource is encrypted. |
PrivateResourceMetadata
| JSON representation |
|---|
{ "userScoped": boolean } |
| Fields | |
|---|---|
userScoped |
Output only. If true, this resource is user-scoped, meaning it is either a workspace or sourced from a workspace. |
PipelineConfig
| JSON representation |
|---|
{
"pipelineType": enum ( |
| Fields | |
|---|---|
pipelineType |
Required. The type of the pipeline. |
path |
Required. The relative path within the Git repository where the pipeline is defined. For example, for a Dataform pipeline, it is a path to the folder where |
QueryPriority
Types of priority for query execution in BigQuery.
| Enums | |
|---|---|
QUERY_PRIORITY_UNSPECIFIED |
Default value. This value is unused. |
INTERACTIVE |
Query will be executed in BigQuery with interactive priority. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries. |
BATCH |
Query will be executed in BigQuery with batch priority. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#batchqueries. |
State
Represents the current state of a workflow invocation.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Default value. This value is unused. |
RUNNING |
The workflow invocation is currently running. |
SUCCEEDED |
The workflow invocation succeeded. A terminal state. |
CANCELLED |
The workflow invocation was cancelled. A terminal state. |
FAILED |
The workflow invocation failed. A terminal state. |
CANCELING |
The workflow invocation is being cancelled, but some actions are still running. |
PipelineType
The type of the pipeline. This may be extended in the future. In case of UNSPECIFIED, the error will be thrown.
| Enums | |
|---|---|
PIPELINE_TYPE_UNSPECIFIED |
Default value. This value is unused. |
DATAFORM |
Regular Dataform pipeline. |
SQL |
SQL single file asset. |
NOTEBOOK |
Notebook single file asset. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌