-
Notifications
You must be signed in to change notification settings - Fork 2
Workflows ‐ Example GraphQL queries
rzlim08 edited this page Mar 8, 2024
·
3 revisions
query GetManifest {
workflowVersions(where: {id: {_eq: "" }}) {
id
manifest
}
}
query CountWorkflowVersions {
workflowVersionsAggregate(where: {workflow: {name: {_eq: "workflow_name"}}}) {
aggregate {
count(columns: id, distinct: true)
}
}
}
query GetAllExecutionIds {
workflowRuns(where: {collectionId: {_eq: 444}}) {
executionId
}
}
query GetWorkflowRunsofType {
workflowRuns(
where: {entityInputs: {id: {_eq: "xxxxxx"}, entityType: {_eq: "sequencing_read"}}, workflowVersion: {workflow: {name: {_eq: "consensus-genome"}}}}
) {
executionId
id
outputsJson
ownerUserId
...
}
}
query GetEntityInputsofTypeSample {
workflowRunEntityInputs(where: {entityType: {_eq: "sample"}}) {
entityType
fieldName
id
inputEntityId
producingRunId
}
}