Skip to content

Instantly share code, notes, and snippets.

@garethbrickman
Created June 26, 2024 22:20
Show Gist options
  • Save garethbrickman/c0bf9fc3ef98d08135e666925eb988a2 to your computer and use it in GitHub Desktop.
Save garethbrickman/c0bf9fc3ef98d08135e666925eb988a2 to your computer and use it in GitHub Desktop.
Dagster - GraphQL query to get metadata about a Run and its steps
{
"runId": "756f1978-4902-499d-9ec4-a145c7d66aee"
}
query RunQuery($runId: ID!) {
runOrError(runId: $runId) {
__typename
... on Run {
id
status
startTime
endTime
stepStats {
stepKey
startTime
endTime
status
}
}
... on PythonError {
message
stack
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment