Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

workflowTargets

Read the current target surfaces of a single workflow execution. Returns an empty list when the workflow has not declared any targets.

Served by: workflow

Name Type
input GetWorkflowTargetsInput!

GetWorkflowTargetsResponse!

Returns the list of client surfaces a workflow execution targets. The list is empty when the workflow has not declared any targets.

query GetWorkflowTargets($input: GetWorkflowTargetsInput!) {
workflowTargets(input: $input) {
targets
}
}

Variables

{
"input": {
"workflowExecutionId": "<workflow execution ID>",
"workflowId": "<workflow ID>"
}
}